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

Daniel Veillard veillard at redhat.com
Tue Nov 16 15:42:38 UTC 2010


On Fri, Nov 12, 2010 at 03:16:09PM +0100, Matthias Bolte wrote:
> 2010/11/10 Daniel P. Berrange <berrange at redhat.com>:
> > 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.

  Thanks I had applied it to my tree last week but forgot to push it :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list