From: Goncalo Gomes <Goncalo.Gomes@EU.CITRIX.COM>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH] Add vncviewer xm compatibility options the 'xl create' command
Date: Tue, 20 Mar 2012 20:00:23 +0000 [thread overview]
Message-ID: <20120320200023.GA7821@eire.uk.xensource.com> (raw)
In-Reply-To: <1332261837.9223.367.camel@zakaz.uk.xensource.com>
On Tue, 20 Mar 2012, Ian Campbell wrote:
> On Tue, 2012-03-20 at 16:43 +0000, Goncalo Gomes wrote:
> > On Tue, 20 Mar 2012, Ian Campbell wrote:
> >
> > > On Tue, 2012-03-20 at 15:50 +0000, Goncalo Gomes wrote:
> > > > I've attached the preliminary patch to add vncviewer options to the
> > > > 'xl create'. It applies cleanly against c/s 4e1d091d10d8. All feedback
> > > > is welcome.
> > > >
> > > > Goncalo
> > > >
> > > > # HG changeset patch
> > > > # User Goncalo Gomes <goncalo.gomes@eu.citrix.com>
> > > > # Date 1332257809 0
> > > > # Node ID 46f8afe643dee8de2c592c65204567fbad657616
> > > > # Parent 4e1d091d10d83130842170cd61f1194e5459f2aa
> > > > Add vncviewer xm compatibility options the 'xl create' command
> > >
> > > Thanks. Are these options actually compatible with "xm create"? Are
> >
> > I suppose so. Anything specifically that makes you think otherwise?
>
> I don't see -A or -V in xend but looking again I do see the long forms,
> I guess that's fine.
>
> > > you intending to also add the vncviewer option to the config file?
> > > (I think that was a feature of xm mentioned by the original
> > > requester of this functionality).
> >
> > Do you mean having an option like vncviewer=1 in the config file which
> > would execute the vnc client automatically upon domain creation? If
> > so, I think someone may already have implemented that, as I noticed it
> > worked for me, even without adding the said code, but I will do some
> > more testing around this just to be sure.
>
> I can't see anything in xl which would do this, are you sure you don't
> mean with xm?
The problem was that I initialized vnc and vncautopass with a value of
1 when I originally wrote the code, which would always make the
libxl_vncviewer_exec codepath to take place and forgot to change it
back. I will add the support code to the config file to support this
officially.
> > Do you have a pointer to the original request?
>
> it was Jim Burns posting on xen-devel in February, bullet 3 in
> http://lists.xen.org/archives/html/xen-devel/2012-02/msg01364.html
Thanks!
> [...]
> > > When you seeded dom_info with the necessary fields I expected that
> > > create_domain would do this based on those fields, I think that is
> > > better than doing it here.
> >
> > So you are suggesting me to move this code inside the create_domain()
> > path?
>
> Yes. This should make it trivial to support for xl restore too.
I'll move it to that code path.
Goncalo
> Ian.
>
next prev parent reply other threads:[~2012-03-20 20:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 15:50 [PATCH] Add vncviewer xm compatibility options the 'xl create' command Goncalo Gomes
2012-03-20 16:05 ` Ian Campbell
2012-03-20 16:43 ` Goncalo Gomes
2012-03-20 16:43 ` Ian Campbell
2012-03-20 20:00 ` Goncalo Gomes [this message]
2012-04-10 10:20 ` 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=20120320200023.GA7821@eire.uk.xensource.com \
--to=goncalo.gomes@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).