[libvirt] [PATCH] qemu: don't mask real error with oom report
Eric Blake
eblake at redhat.com
Tue Feb 15 17:54:04 UTC 2011
On 02/15/2011 10:37 AM, Laine Stump wrote:
> On 02/15/2011 11:32 AM, Eric Blake wrote:
>> * src/qemu/qemu_command.c (qemuBuildCommandLine): Don't report oom
>> after qemuBuildControllerDevStr, which reported its own errors.
>> ---
>> src/qemu/qemu_command.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
>> index 3ba0950..63d5edc 100644
>> --- a/src/qemu/qemu_command.c
>> +++ b/src/qemu/qemu_command.c
>> @@ -3102,7 +3102,7 @@ qemuBuildCommandLine(virConnectPtr conn,
>>
>> char *devstr;
>> if (!(devstr =
>> qemuBuildControllerDevStr(def->controllers[i], qemuCmdFlags)))
>> - goto no_memory;
>> + goto error;
>>
>> virCommandAddArg(cmd, devstr);
>> VIR_FREE(devstr);
>
> ACK.
Thanks; pushed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110215/565cea1d/attachment-0001.sig>
More information about the libvir-list
mailing list