libvirt/tests/qemuargv2xmldata
John Ferlan 8002d3cb1b conf: Add/Allow parsing the auth in the disk source
Since the virStorageAuthDefPtr auth; is a member of _virStorageSource
it really should be allowed to be a subelement of the disk <source>
for the RBD and iSCSI prototcols. That way we can set up to allow
the <auth> element to be formatted within the disk source.

Since we've allowed the <auth> to be a child of <disk>, we'll need
to keep track of how it was read so that when writing out we'll know
whether to format as child of <disk> or <source>. For the argv2xml
parsing, let's format under <source> as a preference. Do not allow
<auth> to be both a child of <disk> and <source>.

Modify the qemuxml2argvtest to add a parse failure when there is an
<auth> as a child of <disk> *and* an <auth> as a child of <source>.

Add tests to validate that if the <auth> was found in <source>, then
the resulting xml2xml and xml2arg works just fine.  The two new .args
file are exact copies of the non "-source" version of the file.

The virschematest will read the new test files and validate from a
RNG viewpoint things are fine

Update the virstoragefile, virstoragetest, and args2xml file to show
the "preference" to place <auth> as a child of <source>.
2017-10-19 15:26:49 -04:00
..
qemuargv2xml-boot-cdrom.args
qemuargv2xml-boot-cdrom.xml
qemuargv2xml-boot-floppy.args
qemuargv2xml-boot-floppy.xml
qemuargv2xml-boot-network.args
qemuargv2xml-boot-network.xml
qemuargv2xml-clock-localtime.args
qemuargv2xml-clock-localtime.xml
qemuargv2xml-clock-utc.args
qemuargv2xml-clock-utc.xml
qemuargv2xml-console-compat.args
qemuargv2xml-console-compat.xml
qemuargv2xml-disk-cdrom-empty.args
qemuargv2xml-disk-cdrom-empty.xml
qemuargv2xml-disk-cdrom.args
qemuargv2xml-disk-cdrom.xml
qemuargv2xml-disk-drive-boot-cdrom.args
qemuargv2xml-disk-drive-boot-cdrom.xml
qemuargv2xml-disk-drive-boot-disk.args
qemuargv2xml-disk-drive-boot-disk.xml
qemuargv2xml-disk-drive-cache-directsync.args
qemuargv2xml-disk-drive-cache-directsync.xml
qemuargv2xml-disk-drive-cache-unsafe.args
qemuargv2xml-disk-drive-cache-unsafe.xml
qemuargv2xml-disk-drive-cache-v2-none.args
qemuargv2xml-disk-drive-cache-v2-none.xml
qemuargv2xml-disk-drive-cache-v2-wb.args
qemuargv2xml-disk-drive-cache-v2-wb.xml
qemuargv2xml-disk-drive-cache-v2-wt.args
qemuargv2xml-disk-drive-cache-v2-wt.xml
qemuargv2xml-disk-drive-error-policy-enospace.args
qemuargv2xml-disk-drive-error-policy-enospace.xml
qemuargv2xml-disk-drive-error-policy-stop.args
qemuargv2xml-disk-drive-error-policy-stop.xml
qemuargv2xml-disk-drive-error-policy-wreport-rignore.args
qemuargv2xml-disk-drive-error-policy-wreport-rignore.xml
qemuargv2xml-disk-drive-fmt-qcow.args
qemuargv2xml-disk-drive-fmt-qcow.xml
qemuargv2xml-disk-drive-network-gluster.args
qemuargv2xml-disk-drive-network-gluster.xml
qemuargv2xml-disk-drive-network-iscsi-auth.args
qemuargv2xml-disk-drive-network-iscsi-auth.xml
qemuargv2xml-disk-drive-network-iscsi.args
qemuargv2xml-disk-drive-network-iscsi.xml qemu: Provide default LUN=0 for iSCSI if not provided 2017-09-12 10:33:25 -04:00
qemuargv2xml-disk-drive-network-nbd-export.args
qemuargv2xml-disk-drive-network-nbd-export.xml
qemuargv2xml-disk-drive-network-nbd-ipv6-export.args
qemuargv2xml-disk-drive-network-nbd-ipv6-export.xml
qemuargv2xml-disk-drive-network-nbd-ipv6.args
qemuargv2xml-disk-drive-network-nbd-ipv6.xml
qemuargv2xml-disk-drive-network-nbd-unix.args
qemuargv2xml-disk-drive-network-nbd-unix.xml
qemuargv2xml-disk-drive-network-nbd.args
qemuargv2xml-disk-drive-network-nbd.xml
qemuargv2xml-disk-drive-network-rbd-auth.args
qemuargv2xml-disk-drive-network-rbd-auth.xml conf: Add/Allow parsing the auth in the disk source 2017-10-19 15:26:49 -04:00
qemuargv2xml-disk-drive-network-rbd-ceph-env.args
qemuargv2xml-disk-drive-network-rbd-ceph-env.xml
qemuargv2xml-disk-drive-network-rbd-ipv6.args
qemuargv2xml-disk-drive-network-rbd-ipv6.xml
qemuargv2xml-disk-drive-network-rbd.args
qemuargv2xml-disk-drive-network-rbd.xml
qemuargv2xml-disk-drive-network-sheepdog.args
qemuargv2xml-disk-drive-network-sheepdog.xml
qemuargv2xml-disk-floppy.args
qemuargv2xml-disk-floppy.xml
qemuargv2xml-disk-many.args
qemuargv2xml-disk-many.xml
qemuargv2xml-disk-usb.args
qemuargv2xml-disk-usb.xml
qemuargv2xml-disk-virtio.args
qemuargv2xml-disk-virtio.xml
qemuargv2xml-graphics-sdl-fullscreen.args
qemuargv2xml-graphics-sdl-fullscreen.xml
qemuargv2xml-graphics-sdl.args
qemuargv2xml-graphics-sdl.xml
qemuargv2xml-graphics-vnc-policy.args
qemuargv2xml-graphics-vnc-policy.xml
qemuargv2xml-graphics-vnc-sasl.args
qemuargv2xml-graphics-vnc-sasl.xml
qemuargv2xml-graphics-vnc-socket.args
qemuargv2xml-graphics-vnc-socket.xml
qemuargv2xml-graphics-vnc-tls.args
qemuargv2xml-graphics-vnc-tls.xml
qemuargv2xml-graphics-vnc-websocket.args
qemuargv2xml-graphics-vnc-websocket.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuargv2xml-graphics-vnc.args
qemuargv2xml-graphics-vnc.xml
qemuargv2xml-hostdev-pci-address.args
qemuargv2xml-hostdev-pci-address.xml
qemuargv2xml-hostdev-usb-address.args
qemuargv2xml-hostdev-usb-address.xml
qemuargv2xml-hyperv-panic.args
qemuargv2xml-hyperv-panic.xml
qemuargv2xml-hyperv.args
qemuargv2xml-hyperv.xml
qemuargv2xml-input-usbmouse.args
qemuargv2xml-input-usbmouse.xml
qemuargv2xml-input-usbtablet.args
qemuargv2xml-input-usbtablet.xml
qemuargv2xml-kvm-features.args
qemuargv2xml-kvm-features.xml
qemuargv2xml-kvmclock.args
qemuargv2xml-kvmclock.xml
qemuargv2xml-machine-aeskeywrap-off-argv.args
qemuargv2xml-machine-aeskeywrap-off-argv.xml
qemuargv2xml-machine-aeskeywrap-on-argv.args
qemuargv2xml-machine-aeskeywrap-on-argv.xml
qemuargv2xml-machine-core-off.args
qemuargv2xml-machine-core-off.xml
qemuargv2xml-machine-core-on.args
qemuargv2xml-machine-core-on.xml
qemuargv2xml-machine-deakeywrap-off-argv.args
qemuargv2xml-machine-deakeywrap-off-argv.xml
qemuargv2xml-machine-deakeywrap-on-argv.args
qemuargv2xml-machine-deakeywrap-on-argv.xml
qemuargv2xml-machine-keywrap-none-argv.args
qemuargv2xml-machine-keywrap-none-argv.xml
qemuargv2xml-mem-scale-maxmemory.args qemu: argv: parse qemu commandline memory arguments 2017-10-16 11:18:25 -04:00
qemuargv2xml-mem-scale-maxmemory.xml qemu: argv: parse qemu commandline memory arguments 2017-10-16 11:18:25 -04:00
qemuargv2xml-mem-scale.args
qemuargv2xml-mem-scale.xml
qemuargv2xml-migrate.args tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuargv2xml-migrate.xml
qemuargv2xml-misc-acpi.args
qemuargv2xml-misc-acpi.xml
qemuargv2xml-misc-disable-s3.args
qemuargv2xml-misc-disable-s3.xml
qemuargv2xml-misc-disable-suspends.args
qemuargv2xml-misc-disable-suspends.xml
qemuargv2xml-misc-enable-s4.args
qemuargv2xml-misc-enable-s4.xml
qemuargv2xml-misc-no-reboot.args
qemuargv2xml-misc-no-reboot.xml
qemuargv2xml-misc-uuid.args
qemuargv2xml-misc-uuid.xml
qemuargv2xml-net-eth-ifname.args
qemuargv2xml-net-eth-ifname.xml
qemuargv2xml-net-eth.args
qemuargv2xml-net-eth.xml
qemuargv2xml-net-user.args
qemuargv2xml-net-user.xml
qemuargv2xml-net-virtio.args
qemuargv2xml-net-virtio.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuargv2xml-nographics-vga-display.args
qemuargv2xml-nographics-vga-display.xml
qemuargv2xml-nographics-vga.args
qemuargv2xml-nographics-vga.xml
qemuargv2xml-nomachine-aarch64.args qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nomachine-aarch64.xml qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nomachine-ppc64.args qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nomachine-ppc64.xml qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nomachine-x86_64.args qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nomachine-x86_64.xml qemu: Don't crash when parsing command line lacking -M 2017-10-11 08:44:31 +02:00
qemuargv2xml-nosharepages.args
qemuargv2xml-nosharepages.xml
qemuargv2xml-parallel-tcp.args
qemuargv2xml-parallel-tcp.xml
qemuargv2xml-pseries-disk.args
qemuargv2xml-pseries-disk.xml qemu: Automatically pick target index and model for pci-root controllers 2017-07-15 14:50:42 +02:00
qemuargv2xml-pseries-nvram.args
qemuargv2xml-pseries-nvram.xml
qemuargv2xml-qemu-ns-no-env.args
qemuargv2xml-qemu-ns-no-env.xml
qemuargv2xml-reboot-timeout-disabled.args
qemuargv2xml-reboot-timeout-disabled.xml
qemuargv2xml-reboot-timeout-enabled.args
qemuargv2xml-reboot-timeout-enabled.xml
qemuargv2xml-restore-v2.args
qemuargv2xml-restore-v2.xml
qemuargv2xml-serial-dev.args
qemuargv2xml-serial-dev.xml
qemuargv2xml-serial-file.args
qemuargv2xml-serial-file.xml
qemuargv2xml-serial-many.args
qemuargv2xml-serial-many.xml
qemuargv2xml-serial-pty.args
qemuargv2xml-serial-pty.xml
qemuargv2xml-serial-tcp-telnet.args
qemuargv2xml-serial-tcp-telnet.xml
qemuargv2xml-serial-tcp.args
qemuargv2xml-serial-tcp.xml
qemuargv2xml-serial-udp.args
qemuargv2xml-serial-udp.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuargv2xml-serial-unix.args
qemuargv2xml-serial-unix.xml
qemuargv2xml-serial-vc.args
qemuargv2xml-serial-vc.xml
qemuargv2xml-smp.args
qemuargv2xml-smp.xml
qemuargv2xml-sound.args
qemuargv2xml-sound.xml
qemuargv2xml-watchdog.args
qemuargv2xml-watchdog.xml