From: Anthony PERARD <anthony.perard@citrix.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: Stefano Stabellini <stefano.stabellini@xilinx.com>,
Takahiro Akashi <takahiro.akashi@linaro.org>,
Alex Benn??e <alex.bennee@linaro.org>,
"Masami Hiramatsu" <masami.hiramatsu@linaro.org>,
<ian.jackson@eu.citrix.com>, <wl@xen.org>,
<xen-devel@lists.xenproject.org>
Subject: Re: BUG: libxl vuart build order
Date: Thu, 5 Nov 2020 17:56:37 +0000 [thread overview]
Message-ID: <20201105175637.GL2214@perard.uk.xensource.com> (raw)
In-Reply-To: <alpine.DEB.2.21.2011050826510.2323@sstabellini-ThinkPad-T480s>
On Thu, Nov 05, 2020 at 08:29:20AM -0800, Stefano Stabellini wrote:
> On Thu, 5 Nov 2020, Anthony PERARD wrote:
> > On Fri, Oct 30, 2020 at 10:46:37AM -0700, Stefano Stabellini wrote:
> > > On Fri, 30 Oct 2020, Takahiro Akashi wrote:
> > > > === after "xl console -t vuart" ===
> > > > U-Boot 2020.10-00777-g10cf956a26ba (Oct 29 2020 - 19:31:29 +0900) xenguest
> > > >
> > > > Xen virtual CPU
> > > > Model: XENVM-4.15
> > > > DRAM: 128 MiB
> > > >
> > > > In: sbsa-pl011
> > > > Out: sbsa-pl011
> > > > Err: sbsa-pl011
> > > > ===
> > > >
> > > > If possible, I hope that "xl create -c" command would accept "-t vuart"
> > > > option (or it should automatically selects uart type from the config).
> > >
> > > I think a patch to add the "-t" option to "xl create" would be
> > > acceptable, right Anthony?
> >
> > I don't know. Why `xl' isn't able to select the vuart as the default one?
>
> Because both consoles are still valid: when the emulated uart is
> enabled, the normal PV console is also enabled.
>
>
> > Maybe a long option would be better in the cases where we would like to
> > connect to a "secondary" console? I could see `xl create --console=vuart'
> > been fine, I don't know if that's possible.
>
> That's OK for me but keep in mind that xl console already takes -t
> vuart. In other words:
I don't know why we would need the same exact option, `xl console` and
`xl create` are two different commands. Also, I usually prefer long
option for less used options as it makes it a bit easier to figure out
what a command is supposed to do (without checking the man; and when
there is both long and short options available).
> 1) xl console -t vuart -> WORKS
-t for `xl console` kind of works well, -t could be a shortcut of "type"
of console".
> 2) xl create -c -t vuart -> DOESN'T WORK
But here, -t would not be a "type" of console since we are creating a
VM. Also `xl create -t vuart` without -c would do nothing, right?
(create a vm but ignoring the -t).
Anyway, an option to auto-connect to a different console would be
useful.
> P.S.
>
> Could you also take a quick look at the patch I appended to the previous
> email? Or would you prefer me to send it out separately as its own
> patch?
It's probably better to have a patch on its own when it's ready for
review rather that been embedded in an email in a long
discussion/debugging thread. That leave a better chance for others to
spot that a patch exist and review.
Cheers,
--
Anthony PERARD
next prev parent reply other threads:[~2020-11-05 17:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAB5YjtCwbvYMVg-9YXjSFtC8KvjkJuYhJFSCHrJaRUKfg4NHYA@mail.gmail.com>
[not found] ` <alpine.DEB.2.21.2010261634000.12247@sstabellini-ThinkPad-T480s>
[not found] ` <20201027000214.GA14449@laputa>
[not found] ` <20201028014105.GA11856@laputa>
[not found] ` <alpine.DEB.2.21.2010281437010.12247@sstabellini-ThinkPad-T480s>
[not found] ` <20201029114705.GA291577@laputa>
2020-10-30 2:03 ` BUG: libxl vuart build order Stefano Stabellini
2020-10-30 2:51 ` Takahiro Akashi
2020-10-30 17:46 ` Stefano Stabellini
2020-11-03 19:03 ` Stefano Stabellini
2020-11-05 15:41 ` Anthony PERARD
2020-11-05 16:26 ` Julien Grall
2020-11-05 16:29 ` Stefano Stabellini
2020-11-05 17:56 ` Anthony PERARD [this message]
2020-11-05 21:11 ` Stefano Stabellini
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=20201105175637.GL2214@perard.uk.xensource.com \
--to=anthony.perard@citrix.com \
--cc=alex.bennee@linaro.org \
--cc=ian.jackson@eu.citrix.com \
--cc=masami.hiramatsu@linaro.org \
--cc=sstabellini@kernel.org \
--cc=stefano.stabellini@xilinx.com \
--cc=takahiro.akashi@linaro.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.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 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.