1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/qemuxml2argvdata
Daniel P. Berrange b030084f07 Auto-add disk controllers based on defined disks
Existing applications using libvirt are not aware of the disk
controller concept. Thus, after parsing the <disk> definitions
in the XML, it is neccessary to create <controller> elements
to satisfy all requested disks, as per their defined drive
addresses

* src/conf/domain_conf.c, src/conf/domain_conf.h,
  src/libvirt_private.syms: Add virDomainDefAddDiskControllers()
  method for populating disk controllers, and call it after
  parsing disk definitions.
* src/qemu/qemu_conf.c: Call virDomainDefAddDiskControllers()
  when doing ARGV -> XML conversion
* tests/qemuxml2argvdata/qemuxml2argv*.xml: Add disk controller
  data to all data files which don't have it already
2010-01-18 13:35:40 +00:00
..
qemuxml2argv-boot-cdrom.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-boot-cdrom.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-boot-floppy.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-boot-floppy.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-boot-network.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-boot-network.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-bootloader.args Fix handling of Xen(ner) detection 2009-09-22 16:13:33 +01:00
qemuxml2argv-bootloader.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-channel-guestfwd.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-channel-guestfwd.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-clock-localtime.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-clock-localtime.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-clock-utc.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-clock-utc.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-console-compat-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-console-compat-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-console-compat.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-console-compat.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-cdrom-empty.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-cdrom-empty.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-cdrom.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-cdrom.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-boot-cdrom.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-boot-cdrom.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-boot-disk.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-boot-disk.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v1-none.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v1-none.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v1-wb.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v1-wb.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v1-wt.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v1-wt.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v2-none.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v2-none.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v2-wb.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v2-wb.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-cache-v2-wt.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-cache-v2-wt.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-fat.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-fat.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-fmt-qcow.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-fmt-qcow.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-drive-shared.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-drive-shared.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-floppy.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-floppy.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-many.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-many.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-usb.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-usb.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-virtio.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-virtio.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-disk-xenvbd.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-disk-xenvbd.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-floppy-drive-fat.args Specify bus/unit instead of index for disks with QEMU 2010-01-15 17:55:59 +00:00
qemuxml2argv-floppy-drive-fat.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-graphics-sdl-fullscreen.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-graphics-sdl-fullscreen.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-graphics-sdl.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-graphics-sdl.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-graphics-vnc-sasl.args Fix QEMU test suite with new VNC env variable 2009-09-29 17:15:52 +01:00
qemuxml2argv-graphics-vnc-sasl.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-graphics-vnc-tls.args Fix QEMU test suite with new VNC env variable 2009-09-29 17:15:52 +01:00
qemuxml2argv-graphics-vnc-tls.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-graphics-vnc.args Fix QEMU test suite with new VNC env variable 2009-09-29 17:15:52 +01:00
qemuxml2argv-graphics-vnc.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-hostdev-pci-address.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-hostdev-pci-address.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-hostdev-usb-address.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-hostdev-usb-address.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-hostdev-usb-product.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-hostdev-usb-product.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-hugepages.args avoid newly-introduced test failure 2010-01-09 09:25:04 +01:00
qemuxml2argv-hugepages.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-input-usbmouse.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-input-usbmouse.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-input-usbtablet.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-input-usbtablet.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-input-xen.args Fix QEMU test suite with new VNC env variable 2009-09-29 17:15:52 +01:00
qemuxml2argv-input-xen.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-machine-aliases1.args Test qemu machine aliases 2009-09-10 12:37:42 +01:00
qemuxml2argv-machine-aliases1.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-machine-aliases2.args Test that domain-specific qemu machine types are used correctly 2009-09-10 12:37:43 +01:00
qemuxml2argv-machine-aliases2.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-migrate.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-migrate.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-minimal.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-minimal.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-misc-acpi.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-misc-acpi.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-misc-no-reboot.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-misc-no-reboot.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-misc-uuid.args Fix handling of Xen(ner) detection 2009-09-22 16:13:33 +01:00
qemuxml2argv-misc-uuid.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-net-eth-ifname.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-net-eth-ifname.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-net-eth-names.args Assign names to qemu NICs and network backends 2009-07-22 11:34:06 +01:00
qemuxml2argv-net-eth-names.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-net-eth.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-net-eth.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-net-user.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-net-user.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-net-virtio.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-net-virtio.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-parallel-tcp-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-parallel-tcp-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-parallel-tcp.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-parallel-tcp.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-restore-v1.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-restore-v1.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-restore-v2.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-restore-v2.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-dev-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-dev-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-dev.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-dev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-file-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-file-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-file.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-file.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-many-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-many-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-many.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-many.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-pty-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-pty-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-pty.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-pty.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-tcp-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-tcp-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-tcp-telnet-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-tcp-telnet-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-tcp-telnet.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-tcp-telnet.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-tcp.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-tcp.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-udp-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-udp-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-udp.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-udp.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-unix-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-unix-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-unix.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-unix.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-vc-chardev.args Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2argv-serial-vc-chardev.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-serial-vc.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-serial-vc.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-sound.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-sound.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-watchdog.args Support QEMU watchdog device. 2009-10-21 16:37:44 +01:00
qemuxml2argv-watchdog.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00