libvirt/tests/qemuxml2argvdata
Daniel P. Berrange e7c78b0a94 Support QEMU's virtual FAT block device driver
Introduce a new type="dir"  mode for <disks> that allows use of
QEMU's  virtual FAT block device driver. eg

    <disk type='dir' device='floppy'>
      <source dir='/tmp/test'/>
      <target dev='fda' bus='fdc'/>
      <readonly/>
    </disk>

gets turned into

  -drive file=fat:floppy:/tmp/test,if=floppy,index=0

Only read-only disks are supported with virtual FAT mode

* src/conf/domain_conf.c, src/conf/domain_conf.h: Add type="dir"
* docs/schemas/domain.rng: Document new disk type
* src/xen/xend_internal.c, src/xen/xm_internal.c: Raise error for
  unsupported disk types
* tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args: Fix
  empty disk file handling
* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.args,
  tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.xml,
  tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args,
  tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.xml
  tests/qemuxml2argvtest.c: Test QEMU vitual FAT driver
* src/qemu/qemu_conf.c: Support generating fat:/some/dir type
  disk args
* src/security/security_selinux.c: Temporarily skip labelling
  of directory based disks
2009-11-23 12:17:16 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +00:00
qemuxml2argv-bootloader.args Fix handling of Xen(ner) detection 2009-09-22 16:13:33 +01:00
qemuxml2argv-bootloader.xml Test case for QEMU driver ARGV -> XML conversion 2009-05-21 14:22:51 +00:00
qemuxml2argv-channel-guestfwd.args Forgot test case on previous commit 2009-11-05 15:45:53 +01:00
qemuxml2argv-channel-guestfwd.xml Forgot test case on previous commit 2009-11-05 15:45:53 +01: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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +00:00
qemuxml2argv-disk-cdrom-empty.args Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
qemuxml2argv-disk-cdrom-empty.xml Test case for QEMU driver ARGV -> XML conversion 2009-05-21 14:22:51 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +00:00
qemuxml2argv-disk-drive-boot-cdrom.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-boot-cdrom.xml Fix booting QEMU off CDROM devices with -drive arg 2008-07-11 09:56:23 +00:00
qemuxml2argv-disk-drive-boot-disk.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-boot-disk.xml Fix booting QEMU off CDROM devices with -drive arg 2008-07-11 09:56:23 +00:00
qemuxml2argv-disk-drive-cache-v1-none.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v1-none.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-cache-v1-wb.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v1-wb.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-cache-v1-wt.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v1-wt.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-cache-v2-none.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v2-none.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-cache-v2-wb.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v2-wb.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-cache-v2-wt.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-cache-v2-wt.xml Support disk caching mode config 2009-01-30 17:15:39 +00:00
qemuxml2argv-disk-drive-fat.args Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
qemuxml2argv-disk-drive-fat.xml Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
qemuxml2argv-disk-drive-fmt-qcow.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-drive-fmt-qcow.xml Support QEMU disk format specification in XML 2009-01-23 16:22:20 +00:00
qemuxml2argv-disk-drive-shared.args Add support for setting disk drive serial numbers 2009-09-03 13:53:34 +01:00
qemuxml2argv-disk-drive-shared.xml Add support for setting disk drive serial numbers 2009-09-03 13:53:34 +01: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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 llow to add a disk as an USB device (QEmu/KVM) 2008-08-08 15:03:00 +00:00
qemuxml2argv-disk-virtio.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-virtio.xml Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +00:00
qemuxml2argv-disk-xenvbd.args Switch to using a unix socket for the qemu monitor 2009-07-09 20:04:09 +01:00
qemuxml2argv-disk-xenvbd.xml Support paravirt disk configuration for xenner guests 2008-05-15 16:05:41 +00:00
qemuxml2argv-floppy-drive-fat.args Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
qemuxml2argv-floppy-drive-fat.xml Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01: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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01: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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01: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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01: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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01: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 Test case for QEMU driver ARGV -> XML conversion 2009-05-21 14:22:51 +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 adds a new <hostdev managed='(yes|no)'> property to host devices in domains 2009-03-02 16:40:30 +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 Allow USB hostdev product to be 0x0000 2009-06-16 18:46:06 +00:00
qemuxml2argv-hugepages.args Support configuration of huge pages in guests 2009-09-03 13:51:55 +01:00
qemuxml2argv-hugepages.xml Support configuration of huge pages in guests 2009-09-03 13:51:55 +01: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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Support <video> element for QEMU guests 2009-07-08 13:40:32 +01:00
qemuxml2argv-machine-aliases1.args Test qemu machine aliases 2009-09-10 12:37:42 +01:00
qemuxml2argv-machine-aliases1.xml Test qemu machine aliases 2009-09-10 12:37:42 +01: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 Take domain type into account when looking up default machine 2009-10-12 10:57:35 +01: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 Fix test breakage on x86_64 from previous change 2009-03-20 11:44:17 +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 Apply CPU pinning at startup for QEMU guests 2008-05-22 16:27:20 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +00:00
qemuxml2argv-misc-uuid.args Fix handling of Xen(ner) detection 2009-09-22 16:13:33 +01:00
qemuxml2argv-misc-uuid.xml Add support for -uuid and -domid args to QEMU 2008-11-04 22:15:30 +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 Fix ifname= passing to QEMU for type=ethernet network config 2009-01-30 17:17:58 +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 Assign names to qemu NICs and network backends 2009-07-22 11:34:06 +01: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 Fix ifname= passing to QEMU for type=ethernet network config 2009-01-30 17:17:58 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Fix test breakage on x86_64 from previous change 2009-03-20 11:44:17 +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 Fix test breakage on x86_64 from previous change 2009-03-20 11:44:17 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Add support for -drive QEMU syntax, and virtio bus / disk type 2008-05-09 16:41:19 +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 Added ac97 soundcard to RNG schema & tests (Pritesh Kothari) 2009-03-16 10:47:12 +00:00
qemuxml2argv-watchdog.args Support QEMU watchdog device. 2009-10-21 16:37:44 +01:00
qemuxml2argv-watchdog.xml Support QEMU watchdog device. 2009-10-21 16:37:44 +01:00