[libvirt] [PATCH] qemu: fix -global argument usage

Eric Blake eblake at redhat.com
Fri Mar 11 17:14:01 UTC 2011


On 03/11/2011 10:10 AM, Daniel P. Berrange wrote:
> On Fri, Mar 11, 2011 at 10:05:02AM -0700, Eric Blake wrote:
>> * src/qemu/qemu_command.c (qemuBuildCommandLine): Pass two
>> separate arguments, and fix indentation.
>> ---
>>
>> I debated about pushing under the trivial rule, but restrained myself.
>>
>>  src/qemu/qemu_command.c |   13 +++++++------
>>  1 files changed, 7 insertions(+), 6 deletions(-)
>>
>> +                        virCommandAddArg(cmd, "-global");
>> +                        if (qemuCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA))
>> +                            virCommandAddArgFormat(cmd, "qxl-vga.vram_size=%u",
>> +                                                   def->videos[0]->vram * 1024);
>> +                        else
>> +                            virCommandAddArgFormat(cmd, "qxl.vram_size=%u",
>> +                                                   def->videos[0]->vram * 1024);
>>                      }
> 
> 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/20110311/dcb7cff9/attachment-0001.sig>


More information about the libvir-list mailing list