mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: caps: Add vfio-pci.display capability
QEMU 2.12 introduced a new vfio-pci device option 'display=on/off/auto'. This patch introduces the necessary capability. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
d8266ebe16
commit
11c7bdac6d
@ -504,6 +504,9 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"machine.pseries.cap-htm",
|
||||
"usb-storage.werror",
|
||||
"egl-headless",
|
||||
|
||||
/* 315 */
|
||||
"vfio-pci.display",
|
||||
);
|
||||
|
||||
|
||||
@ -1197,6 +1200,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsPCIAssign[] = {
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVfioPCI[] = {
|
||||
{ "bootindex", QEMU_CAPS_VFIO_PCI_BOOTINDEX },
|
||||
{ "display", QEMU_CAPS_VFIO_PCI_DISPLAY },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsSCSIDisk[] = {
|
||||
|
@ -489,6 +489,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_USB_STORAGE_WERROR, /* -device usb-storage,werror=..,rerror=.. */
|
||||
QEMU_CAPS_EGL_HEADLESS, /* -display egl-headless */
|
||||
|
||||
/* 315 */
|
||||
QEMU_CAPS_VFIO_PCI_DISPLAY, /* -device vfio-pci.display */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
|
@ -170,6 +170,7 @@
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>347550</microcodeVersion>
|
||||
|
@ -168,6 +168,7 @@
|
||||
<flag name='tpm-emulator'/>
|
||||
<flag name='machine.pseries.cap-htm'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>428334</microcodeVersion>
|
||||
|
@ -134,6 +134,7 @@
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2012000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>375999</microcodeVersion>
|
||||
|
@ -212,6 +212,7 @@
|
||||
<flag name='mch.extended-tseg-mbytes'/>
|
||||
<flag name='sev-guest'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>416196</microcodeVersion>
|
||||
|
@ -168,6 +168,7 @@
|
||||
<flag name='machine.pseries.cap-hpt-max-page-size'/>
|
||||
<flag name='machine.pseries.cap-htm'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2012050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>446771</microcodeVersion>
|
||||
|
@ -215,6 +215,7 @@
|
||||
<flag name='sev-guest'/>
|
||||
<flag name='usb-storage.werror'/>
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<version>2012090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>438109</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user