From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Jan Beulich <JBeulich@suse.com>
Cc: "Elena Ufimtseva" <elena.ufimtseva@oracle.com>,
"Lars Kurth" <lars.kurth@citrix.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Tim Deegan" <tim@xen.org>,
"David Vrabel" <david.vrabel@citrix.com>,
xen-devel <xen-devel@lists.xenproject.org>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: RFC: making the PVH 64bit ABI as stableo
Date: Tue, 02 Jun 2015 13:12:37 -0400 [thread overview]
Message-ID: <556DE405.30101@oracle.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1506021648160.19838@kaball.uk.xensource.com>
On 06/02/2015 12:51 PM, Stefano Stabellini wrote:
> On Tue, 2 Jun 2015, Jan Beulich wrote:
>>>>> On 02.06.15 at 17:11, <roger.pau@citrix.com> wrote:
>>> Hello,
>>>
>>> The document describing the PVH interface was committed 9 months ago
>>> [1], and since then there hasn't been any change regarding the
>>> interface. PVH is still missing features in order to have feature parity
>>> with pure PV, mainly:
>>>
>>> - DomU miration support.
>>> - PCI passthrough support.
>>> - 32bit support.
>>> - AMD support.
>>>
>>> AFAICT however none of these features are going to change the current
>>> ABI.
>>
>> This your guess; I don't think there's any guarantee.
>
> Let's make it a guarantee.
>
>
>> The more that talk was about making PVH uniformly enter the kernel in
>> 32-bit mode.
>
> What talk? IRL talks are irrelevant in this context. If it is not on the
> list, it doesn't exist.
>
>
>>> PCI passthrough might expand it, by adding new hypercalls, but I
>>> don't think this should prevent us from marking the current ABI as
>>> stable. ARM for example doesn't have PCI passthrough yet or migration
>>> support, but the ABI has been marked as stable.
>>>
>>> To that end, I would like to request the 64bit PVH ABI to be marked as
>>> stable for DomUs. This is needed so external projects (like PVH support
>>> for grub2) can progress.
>>
>> Understandable, but no, not before all the fixmes in the tree got
>> dealt with.
>
> What is your timeline for that? In fact does anybody have any timelines
> for it?
>
> We need to have a clear idea of what exactly needs to happen. We also
> need to have confidence that is going to happen in a reasonable time
> frame. At the moment we have some various mumblings about things, but we
> don't have a clear breakdown of the outstanding work and names
> associated with each work item.
>
> Is anybody going to volunteer writing that todo list?
>
> Are we going to be able to find enough volunteers with the right skills
> to be confident that PVH is going to be out of "experimental" within a
> reasonable time frame? It is clear that some of the clean-ups require an
> hypervisor expert.
>
> If not, I suggest we rethink our priorities and we consider dropping PVH
> entirely. I don't think is fair to expect Roger or anybody else to keep
> their efforts up on PVH, when actually we don't know if we'll be able to
> land it.
Roger, Tim, Elena, Konrad and I had a conversation a few months ago and
at that time we came up with a (somewhat informal) list of what we knew
was broken:
- 32-bit cannot boot.
- Does not work under AMD.
- Migration
- PCI passthrough
- Memory ballooning
- Multiple VBDs, NICs, etc.
- CPUID filtering. There are no filtering done at all which means
that certain cpuid flags are exposed to the guest.
- The x2apic will cause a crash if the NMI handler is invoked.
- The APERF will cause inferior scheduling decisions.
- working with shadow code (which is what we use when migrating HVM
guests). But the nice side-benefit is that we can then run PVH on
machines without VMX or SVM support.
- TSC modes are broken.
Obviously some things in this list are large(er) projects and some are
simply bugs.
I picked 32-bit support, Elena is looking into AMD and Roger agreed to
look at migration and passthrough for now. Plus, at some point we will
probably need to think about how to move PVH support into a
"feature-flag" support that Tim proposed at a hackathon last year (where
we don't have HVM/PV/PVH guests but rather guests with various features
enabled).
(Incidentally, I booted a 32-bit PVH guest yesterday finally. UP only
for now)
So there is a more than one person working on it (for a specific
definition of the word "working" since we all are constantly preempted
by other things that also preemptable by more important things).
-boris
>
> Maybe we could focus on improving PV on HVM and its security. Maybe we
> could resurrect Intel's HVM Dom0 project
> (http://events.linuxfoundation.org/sites/events/files/slides/HVM%20Dom0.pdf).
> Think of how much farther we would be if we didn't start PVH in the
> first place.
>
>
> P.S.
> This message is not addressed to Jan in particular but to the larger Xen
> community.
>
next prev parent reply other threads:[~2015-06-02 17:12 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 15:11 RFC: making the PVH 64bit ABI as stable Roger Pau Monné
2015-06-02 15:37 ` Andrew Cooper
2015-06-02 15:44 ` Jan Beulich
2015-06-02 16:51 ` RFC: making the PVH 64bit ABI as stableo Stefano Stabellini
2015-06-02 17:09 ` Andrew Cooper
2015-06-03 9:00 ` Ian Campbell
2015-06-03 9:06 ` Andrew Cooper
2015-06-03 9:20 ` Ian Campbell
2015-06-03 10:02 ` Stefano Stabellini
2015-06-03 12:08 ` Jan Beulich
2015-06-03 13:11 ` Stefano Stabellini
2015-06-03 14:59 ` Boris Ostrovsky
2015-06-05 16:16 ` Roger Pau Monné
2015-06-05 16:21 ` Stefano Stabellini
2015-06-05 16:46 ` Boris Ostrovsky
2015-06-05 16:43 ` Boris Ostrovsky
2015-06-05 16:57 ` Andrew Cooper
2015-06-05 17:16 ` Stefano Stabellini
2015-06-05 17:20 ` Boris Ostrovsky
2015-06-05 17:21 ` Andrew Cooper
2015-06-05 21:52 ` Tim Deegan
2015-06-06 9:57 ` Roger Pau Monné
2015-06-06 14:41 ` Andrew Cooper
2015-06-06 15:50 ` Boris Ostrovsky
2015-06-08 14:26 ` Konrad Rzeszutek Wilk
2015-06-08 9:07 ` Ian Campbell
2015-06-02 17:12 ` Boris Ostrovsky [this message]
2015-06-03 6:09 ` Jan Beulich
2015-06-03 13:25 ` Boris Ostrovsky
2015-06-03 9:03 ` Ian Campbell
2015-06-03 13:35 ` Boris Ostrovsky
2015-06-05 16:29 ` Ian Campbell
2015-06-10 20:11 ` Elena Ufimtseva
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=556DE405.30101@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=elena.ufimtseva@oracle.com \
--cc=lars.kurth@citrix.com \
--cc=roger.pau@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.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.