]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add qemu command line generation for a VxHS block device
authorAshish Mittal <Ashish.Mittal@veritas.com>
Wed, 30 Aug 2017 13:46:53 +0000 (09:46 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 20 Sep 2017 01:10:21 +0000 (21:10 -0400)
commitdbd98380b9180afab0a9149a2ba4a58bf06d0e02
tree36fb3021b22e592c20c715ba93a8442db0c03d5d
parent8b5e76e9131b28415bdf7eb733a06c5a4afe160b
qemu: Add qemu command line generation for a VxHS block device

The VxHS block device will only use the newer formatting options and
avoid the legacy URI syntax.

An excerpt for a sample QEMU command line is:

  -drive file.driver=vxhs,file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc251,\
   file.server.type=tcp,file.server.host=192.168.0.1,\
   file.server.port=9999,format=raw,if=none,id=drive-virtio-disk0,cache=none \
  -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
   id=virtio-disk0

Update qemuxml2argvtest with a simple test.

Signed-off-by: Ashish Mittal <Ashish.Mittal@veritas.com>
Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_command.c
src/qemu/qemu_parse_command.c
src/qemu/qemu_process.c
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-vxhs.args [new file with mode: 0644]
tests/qemuxml2argvtest.c