xen-devel
Re: [Xen-devel] [PATCH 0/7][v4] PV extension of HVM (Hybrid) for Xen
To: |
Sheng Yang <sheng@xxxxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH 0/7][v4] PV extension of HVM (Hybrid) for Xen |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Mon, 01 Mar 2010 16:42:01 -0800 |
Cc: |
xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
Delivery-date: |
Mon, 01 Mar 2010 16:42:46 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1267436315-24486-1-git-send-email-sheng@xxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<1267436315-24486-1-git-send-email-sheng@xxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1 |
On 03/01/2010 01:38 AM, Sheng Yang wrote:
I'd like to have your comments on this patch series. We think the patches are
prepared for check in pv_ops domU tree.
The PV extension of HVM is started from real mode like HVM guest, but also with
a
a range of PV features(e.g. PV halt, PV timer, event channel, as well as PV
drivers). So guest with this feature can takes the advantages of both H/W
virtualization and Para-Virtualization.
The PV device side of this has a lot of overlap with the older PV driver
for HVM domains code. Aside perhaps for the details of how
interrupts/events are actually delivered, that seems like a completely
distinct piece of work which could be done separately.
Also, I'd like to see a clearer statement of what you're specifically
trying to optimise for here. What is inefficient in an unmodified HVM
domain, and how do your patches address these things. What measurements
have you made?
The first two of the patchset imported several header file from Jeremy's tree
and Xen tree, respect to Jeremy and Keir's works.
The whole patchset based on Linux upstream.
You need a line like:
cpuid = [ '0x40000002:edx=0x3' ]
in HVM configuration file to expose hybrid feature to guest, and
CONFIG_XEN
in the guest kernel configuration file to enable the hybrid support.
And the compiled image can be used as native/pv domU/hvm guest/pv feature hvm
kernel.
Current the patchset support x86_64 only.
Please add a new config option for the new code, and make it dependent
on x86-64, rather than scattering random #ifdef CONFIG_X86_64s around
the code. Make sure all the code is controlled by this CONFIG variable
so it disappears in a 32-bit build (ideally by putting it into a new
file where possible, and only building it when enabled).
I've discussed the vector-evtchn mapping with Stefano, and we agreed on that
it's more complex than we thought, and can't brought much benefit for
pvops domU. So there is no major change in this update.
Change from v3:
1. Rebase to Linux 2.6.33 release.
Why 2.6.33? I'm currently working on 2.6.32; I intend to move to .33
shortly, but .32 is a much more convenient base (particularly if you're
interested in getting these changes into any distro kernels).
I rebased it to .32 without much effort.
I'll make specific comments in the patches.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH 4/7] xen: The entrance for PV extension of HVM, (continued)
Re: [Xen-devel] [PATCH 0/7][v4] PV extension of HVM (Hybrid) for Xen,
Jeremy Fitzhardinge <=
|
|
|