From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>, Jan Beulich <JBeulich@suse.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH v2 for-4.7] docs: Feature Levelling feature document
Date: Fri, 3 Jun 2016 16:35:43 +0100 [thread overview]
Message-ID: <5751A3CF.5050504@citrix.com> (raw)
In-Reply-To: <22353.39754.180051.801720@mariner.uk.xensource.com>
On 03/06/16 15:59, Ian Jackson wrote:
> Andrew Cooper writes ("Re: [PATCH for-4.7] docs: Feature Levelling feature document"):
>> On 01/06/16 13:14, Ian Jackson wrote:
>>> IMO xl ought to have the moving parts necessary to allow an
>>> administrator to: 1. collect feature information from their hosts;
>>> 2. combine that information into the desired feature set to expose to
>>> guests; 3. specify the feature set in their host configuration; 4. do
>>> all of the above conveniently, without seddery.
>>>
>>> We should assume that the administrator has available tools like
>>> GNU parallel, ansible, or whatever.
>>>
>>> I don't want to design this now but I do want the feature levelling
>>> documentation to welcome suggestions for it, or at least not to seem
>>> to rule it out.
>> 1) is currently available via the `xen-cpuid` binary introduced,
>> although I intended it more as a developer tool
>>
>> Combining is the awkward part, but in the common case, it is just a
>> bitwise AND of the bitmaps provided by `xen-cpuid`.
> Right.
>
>> 3) I don't know what you mean about their host configuration. Do you
>> mean guest configuration?
> No, I mean that
>
> 1. the admin should have the ability to write a default to be used for
> all guests, in one place
>
> 2. the admin should have the ability to write this information
> somewhere other than the domain config file (because domain config
> files are often generated by other tools)
Ah ok - I see what you mean now. This is a non-trivial UX problem to
solve, especially as any stashed default is stale as soon as you reboot
the host, but I agree that we can definitely do better than the current
status quo.
>
>> All of this works in combination with the existing cpuid= guest
>> configuration.
> Great. Documentation on how to do it `by hand' would be nice but I
> don't think it's essential.
Sadly, while the most common case is easy, there are many sharp edges a
user should be aware of before playing in this area.
A part of the submitted series was to do with sanding some of the edges
in Xen, so that a misinformed toolstack can't actually advertise
features to the guest which Xen can't fulfil.
>
> Below: incremental diff as a "squash!" patch, followed by combined
> updated patch.
Thanks. I have folded it in and submitted a v2.
~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-06-03 15:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 17:05 [PATCH for-4.7] docs: Feature Levelling feature document Andrew Cooper
2016-06-01 9:29 ` Jan Beulich
2016-06-03 15:36 ` Andrew Cooper
2016-06-03 15:42 ` Jan Beulich
2016-06-03 15:53 ` Andrew Cooper
2016-06-01 9:41 ` Wei Liu
2016-06-01 10:25 ` Ian Jackson
2016-06-01 12:05 ` Andrew Cooper
2016-06-01 12:14 ` Ian Jackson
2016-06-01 13:11 ` Andrew Cooper
2016-06-03 14:59 ` [PATCH v2 " Ian Jackson
2016-06-03 15:35 ` Andrew Cooper [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-03 15:21 Andrew Cooper
2016-06-03 15:43 ` Wei Liu
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=5751A3CF.5050504@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=wei.liu2@citrix.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.