From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Grytsov Subject: Re: [PATCH] libxl: add libxl__is_driver_domain function Date: Mon, 26 Feb 2018 12:14:55 +0200 Message-ID: References: <1513260853-3450-1-git-send-email-al1img@gmail.com> <20180206123635.xqjoqsq4dfgve73d@citrix.com> <20180213120658.bshetw3jommut5nj@citrix.com> <20180223174448.3vmc7a74vr6b42lx@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7018145064819484593==" Return-path: Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqFo9-0002yf-IQ for xen-devel@lists.xenproject.org; Mon, 26 Feb 2018 10:14:57 +0000 Received: by mail-it0-x22d.google.com with SMTP id a75so10182162itd.0 for ; Mon, 26 Feb 2018 02:14:56 -0800 (PST) In-Reply-To: <20180223174448.3vmc7a74vr6b42lx@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" To: Wei Liu Cc: Xen-devel , Ian Jackson , Oleksandr Grytsov List-Id: xen-devel@lists.xenproject.org --===============7018145064819484593== Content-Type: multipart/alternative; boundary="001a1147cdd816c65f05661ac826" --001a1147cdd816c65f05661ac826 Content-Type: text/plain; charset="UTF-8" On Fri, Feb 23, 2018 at 7:44 PM, Wei Liu wrote: > On Tue, Feb 13, 2018 at 03:32:04PM +0200, Oleksandr Grytsov wrote: > > On Tue, Feb 13, 2018 at 2:06 PM, Wei Liu wrote: > > > > > On Tue, Feb 06, 2018 at 03:08:45PM +0200, Oleksandr Grytsov wrote: > > > > On Tue, Feb 6, 2018 at 2:36 PM, Wei Liu wrote: > > > > > > > > > On Thu, Dec 14, 2017 at 04:14:12PM +0200, Oleksandr Grytsov wrote: > > > > > > From: Oleksandr Grytsov > > > > > > > > > > > > We have following arm-based setup: > > > > > > > > > > > > - Dom0 with xen and xen tools; > > > > > > - Dom1 with device backends (but it is not the driver domain); > > > > > > > > > > What is your definition of a "driver domain"? What does it do in > this > > > > > case? > > > > > > > > > > I seem to have seen people use this term in different contexts to > mean > > > > > slightly different things. I need to figure out what you actually > mean > > > > > first. > > > > > > > > > > > > > > I see in the libxl/xl sources that closing PV devices is done > differently > > > > in case backends are in Dom0 and are in other domain. It is called as > > > > driver domain in the sources. So, I don't have clear understanding > > > > what does it mean. In our setup backends are in Dom1 and xl is in > Dom0. > > > > And I see that xl dosn't close PV device on domain reboot or > shutdown. > > > > > > Do you run xl devd in your backend domain? > > > > > > Wei. > > > > > > > No I don't > > Can you try that? I think xl devd should clean up the stale entries -- > that's how we envisage driver domains to be used. > > Wei. > We will check this. Thanks. -- Best Regards, Oleksandr Grytsov. --001a1147cdd816c65f05661ac826 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On F= ri, Feb 23, 2018 at 7:44 PM, Wei Liu <wei.liu2@citrix.com>= wrote:
On Tue, Feb 13, = 2018 at 03:32:04PM +0200, Oleksandr Grytsov wrote:
> On Tue, Feb 13, 2018 at 2:06 PM, Wei Liu <wei.liu2@citrix.com> wrote:
>
> > On Tue, Feb 06, 2018 at 03:08:45PM +0200, Oleksandr Grytsov wrote= :
> > > On Tue, Feb 6, 2018 at 2:36 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> > >
> > > > On Thu, Dec 14, 2017 at 04:14:12PM +0200, Oleksandr Gry= tsov wrote:
> > > > > From: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
> > > > >
> > > > > We have following arm-based setup:
> > > > >
> > > > > - Dom0 with xen and xen tools;
> > > > > - Dom1 with device backends (but it is not the dri= ver domain);
> > > >
> > > > What is your definition of a "driver domain"?= What does it do in this
> > > > case?
> > > >
> > > > I seem to have seen people use this term in different c= ontexts to mean
> > > > slightly different things. I need to figure out what yo= u actually mean
> > > > first.
> > > >
> > > >
> > > I see in the libxl/xl sources that closing PV devices is don= e differently
> > > in case backends are in Dom0 and are in other domain. It is = called as
> > > driver domain in the sources. So, I don't have clear und= erstanding
> > > what does it mean. In our setup backends are in Dom1 and xl = is in Dom0.
> > > And I see that xl dosn't close PV device on domain reboo= t or shutdown.
> >
> > Do you run xl devd in your backend domain?
> >
> > Wei.
> >
>
> No I don't

Can you try that? I think xl devd should clean up the stale entries = --
that's how we envisage driver domains to be used.

Wei.

We wi= ll check this. Thanks.
--
= Best Regards,
Oleksandr Grytsov.
--001a1147cdd816c65f05661ac826-- --===============7018145064819484593== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============7018145064819484593==--