mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
qemu: capabilities: Fix detection of 'vmport'
'query-commandline-options' never returned 'vmport' but we can detect it in the list of supported object types. This removes it from all non-x86 originating test data as it's platform specific. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
8628689eda
commit
ab5afec1b3
@ -1330,6 +1330,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
|||||||
{ "tcg-accel", QEMU_CAPS_TCG },
|
{ "tcg-accel", QEMU_CAPS_TCG },
|
||||||
{ "pvscsi", QEMU_CAPS_SCSI_PVSCSI },
|
{ "pvscsi", QEMU_CAPS_SCSI_PVSCSI },
|
||||||
{ "spapr-tpm-proxy", QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY },
|
{ "spapr-tpm-proxy", QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY },
|
||||||
|
{ "vmport", QEMU_CAPS_MACHINE_VMPORT_OPT },
|
||||||
/*
|
/*
|
||||||
* We don't probe 'esp' directly, because it is often reported
|
* We don't probe 'esp' directly, because it is often reported
|
||||||
* as present for all QEMU binaries, due to it being enabled
|
* as present for all QEMU binaries, due to it being enabled
|
||||||
@ -3214,7 +3215,6 @@ struct virQEMUCapsCommandLineProps {
|
|||||||
|
|
||||||
static struct virQEMUCapsCommandLineProps virQEMUCapsCommandLine[] = {
|
static struct virQEMUCapsCommandLineProps virQEMUCapsCommandLine[] = {
|
||||||
{ "machine", "mem-merge", QEMU_CAPS_MEM_MERGE },
|
{ "machine", "mem-merge", QEMU_CAPS_MEM_MERGE },
|
||||||
{ "machine", "vmport", QEMU_CAPS_MACHINE_VMPORT_OPT },
|
|
||||||
{ "drive", "discard", QEMU_CAPS_DRIVE_DISCARD },
|
{ "drive", "discard", QEMU_CAPS_DRIVE_DISCARD },
|
||||||
{ "drive", "detect-zeroes", QEMU_CAPS_DRIVE_DETECT_ZEROES },
|
{ "drive", "detect-zeroes", QEMU_CAPS_DRIVE_DETECT_ZEROES },
|
||||||
{ "boot-opts", "strict", QEMU_CAPS_BOOT_STRICT },
|
{ "boot-opts", "strict", QEMU_CAPS_BOOT_STRICT },
|
||||||
@ -5021,7 +5021,6 @@ void
|
|||||||
virQEMUCapsInitQMPBasicArch(virQEMUCaps *qemuCaps)
|
virQEMUCapsInitQMPBasicArch(virQEMUCaps *qemuCaps)
|
||||||
{
|
{
|
||||||
/* Following caps were asserted by a version check for pre 2.11 qemus */
|
/* Following caps were asserted by a version check for pre 2.11 qemus */
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_VMPORT_OPT);
|
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE);
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_SMM_OPT);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MACHINE_SMM_OPT);
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_SDL_GL);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_SDL_GL);
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
<flag name='ivshmem'/>
|
<flag name='ivshmem'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -63,7 +63,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
@ -68,7 +68,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='pc-dimm'/>
|
<flag name='pc-dimm'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='VGA.vgamem_mb'/>
|
<flag name='VGA.vgamem_mb'/>
|
||||||
<flag name='vmware-svga.vgamem_mb'/>
|
<flag name='vmware-svga.vgamem_mb'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='pci-serial'/>
|
<flag name='pci-serial'/>
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
<flag name='iothread'/>
|
<flag name='iothread'/>
|
||||||
<flag name='migrate-rdma'/>
|
<flag name='migrate-rdma'/>
|
||||||
<flag name='drive-iotune-max'/>
|
<flag name='drive-iotune-max'/>
|
||||||
<flag name='machine-vmport-opt'/>
|
|
||||||
<flag name='aes-key-wrap'/>
|
<flag name='aes-key-wrap'/>
|
||||||
<flag name='dea-key-wrap'/>
|
<flag name='dea-key-wrap'/>
|
||||||
<flag name='vhost-user-multiqueue'/>
|
<flag name='vhost-user-multiqueue'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user