Re: process= support for 'qemu-kvm -name' [Bug 576950]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/11/10 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> On Tue, Nov 09, 2010 at 01:41:43PM -0500, John Morrissey wrote:
>> On Wed, Oct 20, 2010 at 10:34:00AM +0200, Daniel Veillard wrote:
>> > Â Looks just fine, applied and pushed !
>>
>> Was just working on some changes for qemu; looking at this fresh made me
>> notice I'd overlooked the unnecessary quoting of the command line. AFAICT
>> the quoting isn't necessary.
>>
>> john
>>
>> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
>> index 9e6e162..85e5998 100644
>> --- a/src/qemu/qemu_conf.c
>> +++ b/src/qemu/qemu_conf.c
>> @@ -4224,7 +4224,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
>> Â Â Â Â Âif (driver->setProcessName &&
>> Â Â Â Â Â Â Â(qemuCmdFlags & QEMUD_CMD_FLAG_NAME_PROCESS)) {
>> Â Â Â Â Â Â Âchar *name;
>> - Â Â Â Â Â Âif (virAsprintf(&name, "%s,process=\"qemu:%s\"",
>> + Â Â Â Â Â Âif (virAsprintf(&name, "%s,process=qemu:%s",
>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âdef->name, def->name) < 0)
>> Â Â Â Â Â Â Â Â Âgoto no_memory;
>> Â Â Â Â Â Â ÂADD_ARG_LIT(name);
>
> ACK
>
> Daniel
>

Seems like this patch has not been pushed yet. Therefore, I've applied
and pushed it now.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]