From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Oleksandr <olekstysh@gmail.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Oleksandr Andrushchenko <andr2000@gmail.com>,
Bertrand Marquis <Bertrand.Marquis@arm.com>,
xen-devel <xen-devel@lists.xenproject.org>,
Artem Mygaiev <joculator@gmail.com>
Subject: Re: Virtio in Xen on Arm (based on IOREQ concept)
Date: Mon, 20 Jul 2020 13:09:50 +0200 [thread overview]
Message-ID: <20200720110950.GJ7191@Air-de-Roger> (raw)
In-Reply-To: <be3fc8de-5582-8fd0-52cd-0cbfbfa96859@gmail.com>
On Mon, Jul 20, 2020 at 01:56:51PM +0300, Oleksandr wrote:
> On 20.07.20 12:17, Roger Pau Monné wrote:
> > On Fri, Jul 17, 2020 at 09:34:14PM +0300, Oleksandr wrote:
> > > On 17.07.20 18:00, Roger Pau Monné wrote:
> > > > On Fri, Jul 17, 2020 at 05:11:02PM +0300, Oleksandr Tyshchenko wrote:
> > > The other reasons are:
> > >
> > > 1. Automation. With current backend implementation we don't need to pause
> > > guest right after creating it, then go to the driver domain and spawn
> > > backend and
> > >
> > > after that go back to the dom0 and unpause the guest.
> > xl devd should be capable of handling this for you on the driver
> > domain.
> >
> > > 2. Ability to detect when guest with involved frontend has gone away and
> > > properly release resource (guest destroy/reboot).
> > >
> > > 3. Ability to (re)connect to the newly created guest with involved frontend
> > > (guest create/reboot).
> > >
> > > 4. What is more that having Xenstore support the backend is able to detect
> > > the dom_id it runs into and the guest dom_id, there is no need pass them via
> > > command line.
> > >
> > >
> > > I will be happy to explain in details after publishing backend code).
> > As I'm not the one doing the work I certainly won't stop you from
> > using xenstore on the backend. I would certainly prefer if the backend
> > gets all the information it needs from the command line so that the
> > configuration data is completely agnostic to the transport layer used
> > to convey it.
> >
> > Thanks, Roger.
>
> Thank you for pointing another possible way. I feel I need to investigate
> what is the "xl devd" (+ Argo?) and how it works. If it is able to provide
> backend with
That's what x86 at least uses to manage backends on driver domains: xl
devd will for example launch the QEMU instance required to handle a
Xen PV disk backend in user-space.
Note that there's currently no support for Argo or any communication
channel different than xenstore, but I think it would be cleaner to
place the fetching of data from xenstore in xl devd and just pass
those as command line arguments to the VirtIO backend if possible. I
would prefer the VirtIO backend to be fully decoupled from xenstore.
Note that for a backend running on dom0 there would be no need to
pass any data on xenstore, as the backend would be launched directly
from xl with the appropriate command line arguments.
> the support/information it needs and xenstore is not welcome then I would be
> absolutely ok to consider using other solution.
>
> I propose to get back to that discussion after I prepare and send out the
> proper IOREQ series.
Sure, that's fine.
Roger.
next prev parent reply other threads:[~2020-07-20 11:10 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 14:11 Virtio in Xen on Arm (based on IOREQ concept) Oleksandr Tyshchenko
2020-07-17 15:00 ` Roger Pau Monné
2020-07-17 18:34 ` Oleksandr
2020-07-20 9:17 ` Roger Pau Monné
2020-07-20 9:40 ` Julien Grall
2020-07-20 10:20 ` Roger Pau Monné
2020-07-20 20:37 ` Stefano Stabellini
2020-07-21 12:31 ` Julien Grall
2020-07-21 13:25 ` Roger Pau Monné
2020-07-21 13:32 ` Julien Grall
2020-07-21 13:40 ` Roger Pau Monné
2020-07-21 14:09 ` Alex Bennée
2020-07-21 16:14 ` Stefano Stabellini
2020-07-20 10:56 ` Oleksandr
2020-07-20 11:09 ` Roger Pau Monné [this message]
2020-07-20 20:40 ` Stefano Stabellini
2020-07-21 12:43 ` Oleksandr
2020-07-20 20:38 ` Stefano Stabellini
2020-07-21 12:26 ` Oleksandr
2020-07-21 13:43 ` Julien Grall
2020-07-21 14:32 ` André Przywara
2020-07-21 14:52 ` Oleksandr
2020-07-21 14:58 ` André Przywara
2020-07-21 16:09 ` Oleksandr
2020-07-21 17:02 ` André Przywara
2020-07-21 13:22 ` Julien Grall
2020-07-21 14:15 ` Alex Bennée
2020-07-21 14:40 ` Julien Grall
2020-07-21 16:42 ` Stefano Stabellini
2020-07-21 14:27 ` Julien Grall
2020-07-21 17:24 ` Oleksandr
2020-07-21 18:16 ` Oleksandr
2020-07-21 21:12 ` Julien Grall
2020-07-22 8:21 ` Roger Pau Monné
2020-07-22 10:47 ` Julien Grall
2020-07-22 11:10 ` Roger Pau Monné
2020-07-22 11:17 ` Julien Grall
2020-07-22 11:37 ` Roger Pau Monné
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=20200720110950.GJ7191@Air-de-Roger \
--to=roger.pau@citrix.com \
--cc=Bertrand.Marquis@arm.com \
--cc=andr2000@gmail.com \
--cc=joculator@gmail.com \
--cc=julien@xen.org \
--cc=olekstysh@gmail.com \
--cc=sstabellini@kernel.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.