@@ -32,6 +32,7 @@ static const int kernel_feature_bits[] = {
VIRTIO_RING_F_EVENT_IDX,
VIRTIO_SCSI_F_HOTPLUG,
VIRTIO_SCSI_F_T10_PI,
+ VIRTIO_F_ANY_LAYOUT,
VHOST_INVALID_FEATURE_BIT
};
@@ -1198,6 +1198,8 @@ static const TypeInfo virtio_scsi_pci_info = {
static Property vhost_scsi_pci_properties[] = {
DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
DEV_NVECTORS_UNSPECIFIED),
+ DEFINE_PROP_BIT("any_layout", VirtIOPCIProxy, host_features,
+ VIRTIO_F_ANY_LAYOUT, true),
DEFINE_PROP_BIT("hotplug", VirtIOPCIProxy, host_features,
VIRTIO_SCSI_F_HOTPLUG, true),
DEFINE_PROP_BIT("prot_info", VirtIOPCIProxy, host_features,
@@ -322,6 +322,11 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
.value = "off",\
},\
{\
+ .driver = "vhost-scsi-pci", \
+ .property = "any_layout",\
+ .value = "off",\
+ },\
+ {\
.driver = "vhost-scsi-pci",\
.property = "prot_info",\
.value = "off",\