From: Wei Liu <wei.liu2@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: systemd-devel@lists.freedesktop.org, Olaf Hering <olaf@aepfle.de>,
Wei Liu <wei.liu2@citrix.com>,
Vasilis Liaskovitis <vliaskovitis@suse.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v1] core: mount xenfs, ignore proc-xen.mount (#6442, #6662)
Date: Fri, 1 Dec 2017 10:21:46 +0000 [thread overview]
Message-ID: <20171201102146.m27cpsgm2jjcomgl@citrix.com> (raw)
In-Reply-To: <5A1FD0F10200007800193657@prv-mh.provo.novell.com>
On Thu, Nov 30, 2017 at 01:35:45AM -0700, Jan Beulich wrote:
> >>> On 30.11.17 at 09:23, <olaf@aepfle.de> wrote:
> > On Wed, Nov 29, Jan Beulich wrote:
> >
> >> Ah, I see. But then still I don't see why at least on half way
> >> recent Xen /sys/hypervisor/properties/features wouldn't have
> >> the information you're after (and even more precise, because
> >> down the road control domain and hardware domain may be
> >> separate entities).
> >
> > Per discussion in https://github.com/systemd/systemd/pull/6662, the
> > feature bits should not be used for dom0 detection.
>
> I can't seem to interpret that discussion the way you do. In fact
> (as I've said before) using the feature flag is more reliable, as it
> being set implies this is the hardware domain (rather than the
> more fuzzy "control domain" implied by "control_d").
>
> Wei, your comments there from Oct 27 and 30 are what I think
> Olaf refers to. Could you clarify this?
>
Judging from the snippet here I don't quite understand what your
disagreement is. You already said control domain and hardware domain
could be separate entities in the future.
The XENFEAT_dom0 flag currently denotes hardware domain. It boils down
to whether we want Dom0 to mean hardware domain, control domain or just
"A domain that has domid 0".
In Olaf's case, he cares about knowing whether the domain runs the
controlling toolstack, he doesn't care about if it is the hardware
domain or not, so my conclusion was using that flag was wrong.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2017-12-01 10:21 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 15:38 [PATCH v1] core: mount xenfs, ignore proc-xen.mount (#6442, #6662) Olaf Hering
2017-11-29 15:46 ` Jan Beulich
2017-11-29 15:54 ` Olaf Hering
2017-11-29 16:01 ` Jan Beulich
[not found] ` <5A1EE7F40200007800193394@prv-mh.provo.novell.com>
2017-11-29 16:07 ` Olaf Hering
2017-11-29 16:24 ` Jan Beulich
[not found] ` <5A1EED6702000078001933EF@prv-mh.provo.novell.com>
2017-11-30 8:23 ` Olaf Hering
[not found] ` <20171130082355.GC3073@aepfle.de>
2017-11-30 8:35 ` Jan Beulich
[not found] ` <5A1FD0F10200007800193657@prv-mh.provo.novell.com>
2017-12-01 10:21 ` Wei Liu [this message]
2017-12-01 11:04 ` Olaf Hering
2017-12-01 17:06 ` [systemd-devel] " Lennart Poettering
2017-12-01 11:39 ` Jan Beulich
[not found] ` <5A214D820200007800193BFB@prv-mh.provo.novell.com>
2017-12-01 11:48 ` Wei Liu
2017-12-01 12:11 ` Jan Beulich
[not found] ` <5A2155110200007800193C60@prv-mh.provo.novell.com>
2017-12-01 12:15 ` Wei Liu
2017-12-01 12:23 ` Jan Beulich
[not found] ` <5A2157C40200007800193C90@prv-mh.provo.novell.com>
2017-12-01 12:29 ` Wei Liu
2017-12-01 12:38 ` Olaf Hering
2017-12-01 13:00 ` Wei Liu
2017-12-01 15:49 ` Olaf Hering
[not found] ` <20171201154901.GA13177@aepfle.de>
2017-12-01 15:59 ` Wei Liu
2017-12-01 16:52 ` Jan Beulich
2017-11-29 17:48 ` [systemd-devel] " Lennart Poettering
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=20171201102146.m27cpsgm2jjcomgl@citrix.com \
--to=wei.liu2@citrix.com \
--cc=JBeulich@suse.com \
--cc=olaf@aepfle.de \
--cc=systemd-devel@lists.freedesktop.org \
--cc=vliaskovitis@suse.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 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.