[libvirt] [PATCH] qemu: Don't return memory device config on error in qemuBuildMemoryBackendStr

Peter Krempa pkrempa at redhat.com
Mon Mar 23 13:56:34 UTC 2015


On Mon, Mar 23, 2015 at 09:41:23 -0400, John Ferlan wrote:
> 
> 
> 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

Pushed; Thanks.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150323/0941e803/attachment-0001.sig>


More information about the libvir-list mailing list