mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI
We want to instantiate hostdevs via -blockdev too. Add a separate capability for them for a clean transition. The new capability will be enabled when QEMU_CAPS_BLOCKDEV is present once all code is prepared. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
78e8bb743b
commit
bab9257a64
@ -596,6 +596,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
|||||||
"intel-iommu.aw-bits",
|
"intel-iommu.aw-bits",
|
||||||
"spapr-tpm-proxy",
|
"spapr-tpm-proxy",
|
||||||
"numa.hmat",
|
"numa.hmat",
|
||||||
|
"blockdev-hostdev-scsi"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -576,6 +576,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
|||||||
QEMU_CAPS_INTEL_IOMMU_AW_BITS, /* intel-iommu.aw-bits */
|
QEMU_CAPS_INTEL_IOMMU_AW_BITS, /* intel-iommu.aw-bits */
|
||||||
QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY, /* -device spapr-tpm-proxy */
|
QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY, /* -device spapr-tpm-proxy */
|
||||||
QEMU_CAPS_NUMA_HMAT, /* -numa hmat */
|
QEMU_CAPS_NUMA_HMAT, /* -numa hmat */
|
||||||
|
QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI, /* -blockdev used for (i)SCSI hostdevs */
|
||||||
|
|
||||||
QEMU_CAPS_LAST /* this must always be the last item */
|
QEMU_CAPS_LAST /* this must always be the last item */
|
||||||
} virQEMUCapsFlags;
|
} virQEMUCapsFlags;
|
||||||
|
Loading…
Reference in New Issue
Block a user