From: Wei Liu <liuw@liuw.name>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] libxl: use '-name' instead of deprecated '-domain-name' for device model
Date: Tue, 7 Jun 2011 20:16:26 +0800 [thread overview]
Message-ID: <20110607121626.GA2880@limbo> (raw)
In-Reply-To: <alpine.DEB.2.00.1106071250420.12963@kaball-desktop>
On Tue, Jun 07, 2011 at 12:52:03PM +0100, Stefano Stabellini wrote:
> On Tue, 7 Jun 2011, Wei Liu wrote:
> > commit 6c744543757f0769e5a8f49ab0d8a01538357fbb
> > Author: Wei Liu <liuw@liuw.name>
> > Date: Tue Jun 7 14:26:34 2011 +0800
> >
> > libxl: use '-name' instead of deprecated '-domain-name' for device model.
> >
> > This unifies upstream qemu and Xen's qemu-dm startup option.
> >
> > Signed-off-by: Wei Liu <liuw@liuw.name>
> >
> > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
> > index 47a51c8..d53a20d 100644
> > --- a/tools/libxl/libxl_dm.c
> > +++ b/tools/libxl/libxl_dm.c
> > @@ -95,7 +95,7 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc,
> > "-d", libxl__sprintf(gc, "%d", info->domid), NULL);
> >
> > if (info->dom_name)
> > - flexarray_vappend(dm_args, "-domain-name", info->dom_name, NULL);
> > + flexarray_vappend(dm_args, "-name", info->dom_name, NULL);
> >
> > if (info->vnc) {
> > char *vncarg;
>
> considering that libxl__build_device_model_args_old is only meant to be
> used with the old qemu-xen that we are not going to upgrade anymore, I
> don't think it is worth to try to update its command line options.
Well, device_model_{override,version} are not working for pure pv. I
consider this patch a workaround for using upstream qemu as pure pv
backend.
I hope that IanJ's re-factoring of libxl will get a better
implementation of this.
next prev parent reply other threads:[~2011-06-07 12:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-07 6:48 [PATCH] libxl: use '-name' instead of deprecated '-domain-name' for device model Wei Liu
2011-06-07 11:52 ` Stefano Stabellini
2011-06-07 12:11 ` Wei Liu
2011-06-07 12:54 ` Stefano Stabellini
2011-06-07 12:16 ` Wei Liu [this message]
2011-06-07 12:54 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110607121626.GA2880@limbo \
--to=liuw@liuw.name \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.