mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
63857eb4a0
This test is there to ensure that our capabilities detection code isn't broken somehow. How to gather test data: Firstly, the data is split into two separate files. The former (with suffix .replies) contains all the qemu replies. This is very fragile as introducing a new device can mean yet another monitor command and hence edit of this file in the future. But there's no better way of doing this. To get this data simply turn on debug logs and copy all the QEMU_MONITOR_IO_PROCESS lines. But be careful to not copy incomplete ones (yeah, we report some incomplete lines too). Long story short, at the libvirtd startup, a dummy qemu is spawn to get all the capabilities. The latter (with suffix .caps) contains capabilities XML. Just start a domain and copy the corresponding part from its state XML file. Including <qemuCaps> tag. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
134 lines
4.0 KiB
Plaintext
134 lines
4.0 KiB
Plaintext
<qemuCaps>
|
|
<flag name='vnc-colon'/>
|
|
<flag name='no-reboot'/>
|
|
<flag name='drive'/>
|
|
<flag name='name'/>
|
|
<flag name='uuid'/>
|
|
<flag name='vnet-hdr'/>
|
|
<flag name='migrate-qemu-tcp'/>
|
|
<flag name='migrate-qemu-exec'/>
|
|
<flag name='drive-cache-v2'/>
|
|
<flag name='drive-format'/>
|
|
<flag name='vga'/>
|
|
<flag name='0.10'/>
|
|
<flag name='mem-path'/>
|
|
<flag name='drive-serial'/>
|
|
<flag name='migrate-qemu-unix'/>
|
|
<flag name='chardev'/>
|
|
<flag name='enable-kvm'/>
|
|
<flag name='monitor-json'/>
|
|
<flag name='balloon'/>
|
|
<flag name='device'/>
|
|
<flag name='sdl'/>
|
|
<flag name='smp-topology'/>
|
|
<flag name='netdev'/>
|
|
<flag name='rtc'/>
|
|
<flag name='vhost-net'/>
|
|
<flag name='no-hpet'/>
|
|
<flag name='no-kvm-pit'/>
|
|
<flag name='pci-configfd'/>
|
|
<flag name='nodefconfig'/>
|
|
<flag name='boot-menu'/>
|
|
<flag name='fsdev'/>
|
|
<flag name='name-process'/>
|
|
<flag name='drive-readonly'/>
|
|
<flag name='smbios-type'/>
|
|
<flag name='vga-qxl'/>
|
|
<flag name='spice'/>
|
|
<flag name='vga-none'/>
|
|
<flag name='migrate-qemu-fd'/>
|
|
<flag name='boot-index'/>
|
|
<flag name='hda-duplex'/>
|
|
<flag name='drive-aio'/>
|
|
<flag name='pci-multibus'/>
|
|
<flag name='pci-bootindex'/>
|
|
<flag name='ccid-passthru'/>
|
|
<flag name='chardev-spicevmc'/>
|
|
<flag name='virtio-tx-alg'/>
|
|
<flag name='device-qxl-vga'/>
|
|
<flag name='pci-multifunction'/>
|
|
<flag name='virtio-blk-pci.ioeventfd'/>
|
|
<flag name='sga'/>
|
|
<flag name='virtio-blk-pci.event_idx'/>
|
|
<flag name='virtio-net-pci.event_idx'/>
|
|
<flag name='cache-directsync'/>
|
|
<flag name='piix3-usb-uhci'/>
|
|
<flag name='piix4-usb-uhci'/>
|
|
<flag name='usb-ehci'/>
|
|
<flag name='ich9-usb-ehci1'/>
|
|
<flag name='vt82c686b-usb-uhci'/>
|
|
<flag name='pci-ohci'/>
|
|
<flag name='usb-hub'/>
|
|
<flag name='no-shutdown'/>
|
|
<flag name='cache-unsafe'/>
|
|
<flag name='rombar'/>
|
|
<flag name='ich9-ahci'/>
|
|
<flag name='no-acpi'/>
|
|
<flag name='fsdev-readonly'/>
|
|
<flag name='virtio-blk-pci.scsi'/>
|
|
<flag name='blk-sg-io'/>
|
|
<flag name='drive-copy-on-read'/>
|
|
<flag name='cpu-host'/>
|
|
<flag name='fsdev-writeout'/>
|
|
<flag name='drive-iotune'/>
|
|
<flag name='system_wakeup'/>
|
|
<flag name='scsi-disk.channel'/>
|
|
<flag name='scsi-block'/>
|
|
<flag name='transaction'/>
|
|
<flag name='block-job-async'/>
|
|
<flag name='scsi-cd'/>
|
|
<flag name='ide-cd'/>
|
|
<flag name='no-user-config'/>
|
|
<flag name='hda-micro'/>
|
|
<flag name='dump-guest-memory'/>
|
|
<flag name='nec-usb-xhci'/>
|
|
<flag name='balloon-event'/>
|
|
<flag name='bridge'/>
|
|
<flag name='lsi'/>
|
|
<flag name='virtio-scsi-pci'/>
|
|
<flag name='blockio'/>
|
|
<flag name='disable-s3'/>
|
|
<flag name='disable-s4'/>
|
|
<flag name='ide-drive.wwn'/>
|
|
<flag name='scsi-disk.wwn'/>
|
|
<flag name='seccomp-sandbox'/>
|
|
<flag name='dump-guest-core'/>
|
|
<flag name='seamless-migration'/>
|
|
<flag name='block-commit'/>
|
|
<flag name='vnc'/>
|
|
<flag name='drive-mirror'/>
|
|
<flag name='usb-host.bootindex'/>
|
|
<flag name='blockdev-snapshot-sync'/>
|
|
<flag name='qxl'/>
|
|
<flag name='VGA'/>
|
|
<flag name='cirrus-vga'/>
|
|
<flag name='vmware-svga'/>
|
|
<flag name='usb-serial'/>
|
|
<flag name='usb-net'/>
|
|
<flag name='add-fd'/>
|
|
<flag name='nbd-server'/>
|
|
<flag name='virtio-rng'/>
|
|
<flag name='rng-random'/>
|
|
<flag name='rng-egd'/>
|
|
<flag name='dtb'/>
|
|
<flag name='megasas'/>
|
|
<flag name='ipv6-migration'/>
|
|
<flag name='machine-opt'/>
|
|
<flag name='machine-usb-opt'/>
|
|
<flag name='pci-bridge'/>
|
|
<flag name='vfio-pci'/>
|
|
<flag name='vfio-pci.bootindex'/>
|
|
<flag name='scsi-generic'/>
|
|
<flag name='scsi-generic.bootindex'/>
|
|
<flag name='mem-merge'/>
|
|
<flag name='vnc-websocket'/>
|
|
<flag name='drive-discard'/>
|
|
<flag name='mlock'/>
|
|
<flag name='vnc-share-policy'/>
|
|
<flag name='device-del-event'/>
|
|
<flag name='dmi-to-pci-bridge'/>
|
|
<flag name='usb-storage'/>
|
|
<flag name='usb-storage.removable'/>
|
|
<flag name='ich9-intel-hda'/>
|
|
</qemuCaps>
|