[libvirt] [PATCH] qemu: Don't return memory device config on error in qemuBuildMemoryBackendStr
John Ferlan
jferlan at redhat.com
Mon Mar 23 13:41:23 UTC 2015
On 03/23/2015 09:23 AM, Peter Krempa wrote:
> In the last section if the function determines that the config is
> invalid when QEMU doesn't support the memory device the JSON config
> object would be returned even if it doesn't make sense.
>
> Assign the object to be returned only on success.
> ---
> src/qemu/qemu_command.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
ACK
John
More information about the libvir-list
mailing list