]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Check for empty network source when formatting drive cmd
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2015 15:16:29 +0000 (16:16 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 26 Mar 2015 07:24:46 +0000 (08:24 +0100)
commit82f349a3a85c54acd15791b3cf7c22d0de779bb4
tree1698cd5f9289b8bb219c15f2f6f7d6ccd985fa1e
parentdf9361859dd507a3d0f4c182ec7773acf6650c13
qemu: command: Check for empty network source when formatting drive cmd

Use the virStorageSourceIsEmpty helper to determine whether the drive
source is empty rather than checking for src->path. This will fix start
of VM with empty network cdrom that would not report any error.
src/qemu/qemu_command.c