From: Wei Liu <wei.liu2@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com,
wei.liu2@citrix.com
Subject: Re: [PATCH] tools/xen-detect: try sysfs node for obtaining guest type
Date: Tue, 20 Jun 2017 12:05:56 +0100 [thread overview]
Message-ID: <20170620110556.m2nox6f5ep7o5763@citrix.com> (raw)
In-Reply-To: <20170615095827.15265-1-jgross@suse.com>
On Thu, Jun 15, 2017 at 11:58:27AM +0200, Juergen Gross wrote:
> Instead of relying on cpuid instruction behaviour to tell which domain
> type we are just try asking the kernel via the appropriate sysfs node
> (added in Linux kernel 4.13).
>
> Keep the old detection logic as a fallback for older kernels.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
I only skim-read this patch. I agree with the general approach.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-06-20 11:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 9:58 [PATCH] tools/xen-detect: try sysfs node for obtaining guest type Juergen Gross
2017-06-20 11:05 ` Wei Liu [this message]
2017-06-21 14:24 ` Olaf Hering
2017-06-21 14:27 ` Wei Liu
2017-06-21 14:32 ` Olaf Hering
2017-06-21 15:00 ` Ian Jackson
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=20170620110556.m2nox6f5ep7o5763@citrix.com \
--to=wei.liu2@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jgross@suse.com \
--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 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).