libvirt/tests/qemuxml2argvdata
Daniel P. Berrange f4f91e7b24 Fix auto-adding of virtio serial controllers
The domain parsing code would auto-add a virtio serial controller
if it saw any virtio serial channel defined. Unfortunately it
always added a controller with index=0, even if the channel address
specified an index != 0. It only added one controller, even if
multiple controllers were referenced by channels. Finally, it let
the ports+vectors parameters initialize to zero instead of -1, which
prevented the controllers accepting any ports.

* src/conf/domain_conf.c: Initialize ports+vectors when adding
  virtio serial controllers. Add all neccessary virtio serial
  controllers, instead of hardcoding controller 0
* qemuxml2argvdata/qemuxml2argv-channel-virtio.args,
  qemuxml2argvdata/qemuxml2argv-channel-virtio.xml: Expand to
  test controller auto-add behaviour
2010-06-08 15:08:21 +01: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00:00
qemuxml2argv-channel-guestfwd.xml Auto-add disk controllers based on defined disks 2010-01-18 13:35:40 +00:00
qemuxml2argv-channel-virtio.args Fix auto-adding of virtio serial controllers 2010-06-08 15:08:21 +01:00
qemuxml2argv-channel-virtio.xml Fix auto-adding of virtio serial controllers 2010-06-08 15:08:21 +01:00
qemuxml2argv-clock-france.args Allow configurable timezones with QEMU 2010-03-01 18:43:04 +00:00
qemuxml2argv-clock-france.xml Allow configurable timezones with QEMU 2010-03-01 18:43:04 +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-clock-variable.args Support variable clock offset mode in QEMU 2010-03-01 18:41:40 +00:00
qemuxml2argv-clock-variable.xml Support variable clock offset mode in QEMU 2010-03-01 18:41:40 +00:00
qemuxml2argv-console-compat-chardev.args Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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-error-policy-enospace.args Add enospace option to qemu disk error policy 2010-04-09 03:35:47 -04:00
qemuxml2argv-disk-drive-error-policy-enospace.xml Add enospace option to qemu disk error policy 2010-04-09 03:35:47 -04:00
qemuxml2argv-disk-drive-error-policy-stop.args Add disk error policy to domain XML 2010-03-26 16:35:18 -04:00
qemuxml2argv-disk-drive-error-policy-stop.xml Add disk error policy to domain XML 2010-03-26 16:35:18 -04: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-readonly-disk.args qemu: pass the information when disks are read-only 2010-03-15 17:03:26 +01:00
qemuxml2argv-disk-drive-readonly-disk.xml qemu: pass the information when disks are read-only 2010-03-15 17:03:26 +01: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-device.args Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00:00
qemuxml2argv-disk-usb-device.xml Convert USB disks over to -device 2010-01-18 13:55:56 +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-encrypted-disk.args Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00
qemuxml2argv-encrypted-disk.xml Fix indentation for storage conf XML 2010-04-27 12:01:32 +02: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-device.args Fix QEMU hotplug device alias assignment 2010-02-02 16:31:47 +00:00
qemuxml2argv-hostdev-pci-address-device.xml Convert PCI device assignment over to -device 2010-01-18 13:55:56 +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-device.args Fix QEMU hotplug device alias assignment 2010-02-02 16:31:47 +00:00
qemuxml2argv-hostdev-usb-address-device.xml Convert USB hostdevices over to -device 2010-01-18 13:55:56 +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-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 Remove direct storage of hostnet_name & vlan 2010-02-02 16:31:47 +00: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-device.args Remove direct storage of hostnet_name & vlan 2010-02-02 16:31:47 +00:00
qemuxml2argv-net-virtio-device.xml Convert NICs over to use -device & -netdev where possible 2010-01-18 13:55:56 +00:00
qemuxml2argv-net-virtio-netdev.args Remove direct storage of hostnet_name & vlan 2010-02-02 16:31:47 +00:00
qemuxml2argv-net-virtio-netdev.xml Remove use of -netdev arg with QEMU 2010-02-02 16:31:47 +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-nographics-vga.args Pass -vga none if no video card specified 2010-01-18 13:55:57 +00:00
qemuxml2argv-nographics-vga.xml Pass -vga none if no video card specified 2010-01-18 13:55:57 +00:00
qemuxml2argv-parallel-tcp-chardev.args Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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 Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00: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-device.args Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00:00
qemuxml2argv-sound-device.xml Convert audio devices over to -device syntax 2010-01-18 13:55:56 +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-device.args Convert VirtIO balloon over to -device syntax 2010-01-18 13:55:57 +00:00
qemuxml2argv-watchdog-device.xml Convert watchdog to -device 2010-01-18 13:55:56 +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