mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
qemuxml2(argv|xml)test: Retire QEMU_CAPS_DEVICE_VIDEO_PRIMARY from tests
All tests now get that capability via virQEMUCapsInitQMPBasicArch. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
1924ef661b
commit
dff41d5553
@ -1682,7 +1682,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_ISA_SERIAL,
|
||||
QEMU_CAPS_CHARDEV_LOGFILE);
|
||||
DO_TEST("serial-spiceport",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_SPICE,
|
||||
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
||||
@ -2456,68 +2455,54 @@ mymain(void)
|
||||
DO_TEST("video-device-pciaddr-default",
|
||||
QEMU_CAPS_KVM,
|
||||
QEMU_CAPS_VNC,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("video-vga-device", QEMU_CAPS_DEVICE_VGA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
DO_TEST("video-vga-device", QEMU_CAPS_DEVICE_VGA);
|
||||
DO_TEST("video-vga-device-vgamem", QEMU_CAPS_DEVICE_VGA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY, QEMU_CAPS_VGA_VGAMEM);
|
||||
QEMU_CAPS_VGA_VGAMEM);
|
||||
DO_TEST("video-qxl-device",
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("video-qxl-device-vgamem",
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_QXL_VGAMEM);
|
||||
DO_TEST_CAPS_LATEST("video-qxl-device-vram64");
|
||||
DO_TEST("video-qxl-sec-device",
|
||||
QEMU_CAPS_DEVICE_QXL, QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("video-qxl-sec-device-vgamem",
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_QXL_VGAMEM);
|
||||
DO_TEST_CAPS_LATEST("video-qxl-sec-device-vram64");
|
||||
DO_TEST("video-qxl-heads",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_QXL_MAX_OUTPUTS);
|
||||
DO_TEST("video-vga-qxl-heads",
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_QXL_MAX_OUTPUTS);
|
||||
DO_TEST("video-qxl-noheads",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_QXL_MAX_OUTPUTS);
|
||||
DO_TEST("video-qxl-resolution",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_QXL_VGAMEM);
|
||||
DO_TEST("video-virtio-gpu-device",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU);
|
||||
DO_TEST("video-virtio-gpu-virgl",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL);
|
||||
DO_TEST("video-virtio-gpu-spice-gl",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_SPICE,
|
||||
QEMU_CAPS_SPICE_GL,
|
||||
QEMU_CAPS_SPICE_RENDERNODE,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_SPICE_RENDERNODE);
|
||||
DO_TEST("video-virtio-gpu-sdl-gl",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_SDL_GL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_SDL_GL);
|
||||
DO_TEST("video-virtio-gpu-secondary",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU);
|
||||
DO_TEST("video-virtio-vga",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_VGA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_VIRTIO_GPU_MAX_OUTPUTS);
|
||||
DO_TEST_CAPS_LATEST("video-bochs-display-device");
|
||||
DO_TEST_CAPS_LATEST("video-ramfb-display-device");
|
||||
@ -2534,8 +2519,7 @@ mymain(void)
|
||||
|
||||
DO_TEST_PARSE_ERROR("video-multiple-primaries",
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_DEVICE_VGA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_DEVICE_VGA);
|
||||
|
||||
DO_TEST("virtio-rng-default",
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
@ -2637,7 +2621,6 @@ mymain(void)
|
||||
DO_TEST("pcie-root",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -2645,7 +2628,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST_PARSE_ERROR("q35-dmi-bad-address1",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -2672,7 +2654,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-usb2-multi",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -2680,7 +2661,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-usb2-reorder",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -2688,7 +2668,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
/* verify that devices with pcie capability are assigned to a pcie slot */
|
||||
DO_TEST("q35-pcie",
|
||||
@ -2708,8 +2687,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
/* same XML as q35-pcie, but don't set
|
||||
* QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY, so virtio devices should
|
||||
* be assigned to legacy pci slots
|
||||
@ -2730,8 +2708,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
/* same as q35-pcie, but all PCI controllers are added automatically */
|
||||
DO_TEST("q35-pcie-autoadd",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
@ -2750,8 +2727,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-default-devices-only",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
@ -2769,8 +2745,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-multifunction",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
@ -2788,8 +2763,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-virt-manager-basic",
|
||||
QEMU_CAPS_KVM,
|
||||
QEMU_CAPS_MACHINE_VMPORT_OPT,
|
||||
@ -2813,7 +2787,6 @@ mymain(void)
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_ICH9_INTEL_HDA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_SPICE,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_HDA_DUPLEX,
|
||||
@ -2824,7 +2797,6 @@ mymain(void)
|
||||
DO_TEST("pcie-root-port",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
|
||||
/* Make sure the default model for PCIe Root Ports is picked correctly
|
||||
@ -2858,7 +2830,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST_PARSE_ERROR("440fx-wrong-root", NONE);
|
||||
DO_TEST_PARSE_ERROR("440fx-ide-address-conflict", NONE);
|
||||
@ -2866,21 +2837,18 @@ mymain(void)
|
||||
DO_TEST_PARSE_ERROR("pcie-root-port-too-many",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
|
||||
DO_TEST("pcie-switch-upstream-port",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("pcie-switch-downstream-port",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
|
||||
DO_TEST("pci-expander-bus",
|
||||
@ -2942,7 +2910,6 @@ mymain(void)
|
||||
DO_TEST("pcihole64-q35",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_Q35_PCI_HOLE64_SIZE);
|
||||
|
||||
@ -2993,12 +2960,10 @@ mymain(void)
|
||||
DO_TEST("aarch64-video-virtio-gpu-pci",
|
||||
QEMU_CAPS_OBJECT_GPEX,
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE, QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU);
|
||||
DO_TEST("aarch64-video-default",
|
||||
QEMU_CAPS_OBJECT_GPEX,
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE, QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU, QEMU_CAPS_DEVICE_DMI_TO_PCI_BRIDGE,
|
||||
QEMU_CAPS_VNC);
|
||||
DO_TEST("aarch64-aavmf-virtio-mmio",
|
||||
@ -3367,7 +3332,6 @@ mymain(void)
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_SPICE_GL,
|
||||
QEMU_CAPS_SPICE_RENDERNODE,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_ISA_SERIAL,
|
||||
QEMU_CAPS_CHARDEV_FILE_APPEND,
|
||||
QEMU_CAPS_CCID_EMULATED,
|
||||
@ -3432,7 +3396,6 @@ mymain(void)
|
||||
DO_TEST_PARSE_ERROR("virtio-options-video-iommu", QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VHOST_USER_GPU);
|
||||
DO_TEST_PARSE_ERROR("virtio-options-controller-ats", QEMU_CAPS_VIRTIO_SCSI);
|
||||
DO_TEST_PARSE_ERROR("virtio-options-disk-ats", NONE);
|
||||
@ -3446,7 +3409,6 @@ mymain(void)
|
||||
DO_TEST_PARSE_ERROR("virtio-options-video-ats", QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VHOST_USER_GPU);
|
||||
DO_TEST_PARSE_ERROR("virtio-options-controller-packed", QEMU_CAPS_VIRTIO_SCSI);
|
||||
DO_TEST_PARSE_ERROR("virtio-options-disk-packed", NONE);
|
||||
@ -3461,7 +3423,6 @@ mymain(void)
|
||||
DO_TEST_PARSE_ERROR("virtio-options-video-packed", QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_VIRTIO_GPU_VIRGL,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VHOST_USER_GPU);
|
||||
|
||||
DO_TEST("fd-memory-numa-topology", QEMU_CAPS_OBJECT_MEMORY_FILE,
|
||||
@ -3518,7 +3479,6 @@ mymain(void)
|
||||
|
||||
DO_TEST("video-virtio-gpu-ccw", QEMU_CAPS_CCW,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_VIRTIO_GPU_MAX_OUTPUTS,
|
||||
QEMU_CAPS_VNC,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU_CCW);
|
||||
|
@ -811,7 +811,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-usb2",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -819,7 +818,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-usb2-multi",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -827,7 +825,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-usb2-reorder",
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
@ -835,7 +832,6 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("q35-pcie",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
@ -854,8 +850,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
/* same XML as q35-pcie, but don't set
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY */
|
||||
DO_TEST("q35-virtio-pci",
|
||||
@ -874,8 +869,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
/* same as q35-pcie, but all PCI controllers are added automatically */
|
||||
DO_TEST("q35-pcie-autoadd",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
@ -894,8 +888,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-default-devices-only",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
@ -913,8 +906,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-multifunction",
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
@ -932,8 +924,7 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
|
||||
QEMU_CAPS_NEC_USB_XHCI);
|
||||
DO_TEST("q35-virt-manager-basic",
|
||||
QEMU_CAPS_KVM,
|
||||
QEMU_CAPS_ICH9_DISABLE_S3,
|
||||
@ -956,7 +947,6 @@ mymain(void)
|
||||
QEMU_CAPS_ICH9_USB_EHCI1,
|
||||
QEMU_CAPS_NEC_USB_XHCI,
|
||||
QEMU_CAPS_DEVICE_ICH9_INTEL_HDA,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_SPICE,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_HDA_DUPLEX,
|
||||
@ -965,14 +955,12 @@ mymain(void)
|
||||
DO_TEST("pcie-root",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
|
||||
/* Test automatic and manual setting of pcie-root-port attributes */
|
||||
DO_TEST("pcie-root-port",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
|
||||
/* Make sure the default model for PCIe Root Ports is picked correctly
|
||||
@ -988,14 +976,12 @@ mymain(void)
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("pcie-switch-downstream-port",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("pci-expander-bus",
|
||||
QEMU_CAPS_DEVICE_PXB);
|
||||
@ -1088,7 +1074,6 @@ mymain(void)
|
||||
DO_TEST("pcihole64-q35",
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_ICH9_AHCI,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL,
|
||||
QEMU_CAPS_Q35_PCI_HOLE64_SIZE);
|
||||
|
||||
@ -1163,7 +1148,6 @@ mymain(void)
|
||||
DO_TEST("aarch64-video-virtio-gpu-pci",
|
||||
QEMU_CAPS_OBJECT_GPEX,
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE, QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU);
|
||||
DO_TEST("aarch64-pci-serial",
|
||||
QEMU_CAPS_DEVICE_PCI_SERIAL,
|
||||
@ -1183,7 +1167,6 @@ mymain(void)
|
||||
QEMU_CAPS_OBJECT_GPEX,
|
||||
QEMU_CAPS_DEVICE_PCI_BRIDGE,
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_DMI_TO_PCI_BRIDGE,
|
||||
QEMU_CAPS_VNC);
|
||||
@ -1340,7 +1323,6 @@ mymain(void)
|
||||
DO_TEST("video-device-pciaddr-default",
|
||||
QEMU_CAPS_KVM,
|
||||
QEMU_CAPS_VNC,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("video-qxl-heads", QEMU_CAPS_DEVICE_QXL);
|
||||
DO_TEST("video-qxl-noheads", QEMU_CAPS_DEVICE_QXL);
|
||||
@ -1349,14 +1331,12 @@ mymain(void)
|
||||
DO_TEST("video-virtio-gpu-ccw",
|
||||
QEMU_CAPS_CCW,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_VIRTIO_GPU_MAX_OUTPUTS,
|
||||
QEMU_CAPS_VNC,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU_CCW);
|
||||
DO_TEST("video-virtio-gpu-ccw-auto",
|
||||
QEMU_CAPS_CCW,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU,
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_VIRTIO_GPU_MAX_OUTPUTS,
|
||||
QEMU_CAPS_VNC,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_GPU_CCW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user