]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: command: Report error when formatting network source with protocol _NONE
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2015 15:13:41 +0000 (16:13 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 26 Mar 2015 07:24:46 +0000 (08:24 +0100)
commitdf9361859dd507a3d0f4c182ec7773acf6650c13
treeb7372bb225cbcbd86ac9c143b5f397f922512d36
parent237ffd1b1d725f04b3b185ee2cb5938b6d3d45b7
qemu: command: Report error when formatting network source with protocol _NONE

The function that formats the string for network drives would return
error code but did not set the error message when called on storage
source with VIR_STORAGE_NET_PROTOCOL_LAST or _NONE.

Report an error in this case if it would ever be called in that way.
src/qemu/qemu_command.c