Su, Disheng
2008-Feb-01 06:23 UTC
[Xen-devel] [PATCH 0/4] Enable VirtualPC 2007 run on top of XEN
Hi, The following 4 patches enable virutalpc to run on top of xen. Currently, hvm guest will hang if you run virtualpc 2007 inside a hvm xp/vista guest. VirtualPC uses CR0.wp a lot. Basic CR0.wp emulation is already in xen now. So after adding two instructions emulation(ltr and fxsave) and optimizing shadow for CR0.wp case, VirtualPC 2007 can run on xen. Following are some rough test results: 1. xp 32 guest inside virtualpc: booting time is 3~5 minutes and the operation response time is acceptable. 2. RHEL5 inside virtualpc: booting time is 3~5 minutes, response time in console mode is quite well, but xwindow is a little bad... Does it make sense to enable this kind of nest virtualization in xen? Could you give some comments about it? Thanks! Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Disheng Su <disheng.su.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Feb-01 10:33 UTC
Re: [Xen-devel] [PATCH 0/4] Enable VirtualPC 2007 run on top of XEN
I need to do some more protected-mode emulation anyway, to correctly handle realmode to protmode transitions on VMX, where I cannot vmenter while I still have real-mode selector values in CS and SS. So I will consider your LTR emulation as part of that -- I don''t really want to do it with a specific ->ltr() hook. Overall though, more accurate virtualisation/emulation is a good thing to strive for, so I''ll check in as much of your code as I think is reasonable at this point. Thanks! Keir On 1/2/08 06:23, "Su, Disheng" <disheng.su@intel.com> wrote:> Hi, > The following 4 patches enable virutalpc to run on top of xen. > Currently, hvm guest will hang if you run virtualpc 2007 inside > a hvm xp/vista guest. > VirtualPC uses CR0.wp a lot. Basic CR0.wp emulation is already > in xen now. So after adding two instructions emulation(ltr and fxsave) > and optimizing shadow for CR0.wp case, VirtualPC 2007 can run on xen. > Following are some rough test results: > 1. xp 32 guest inside virtualpc: booting time is 3~5 minutes and > the operation response time is acceptable. > 2. RHEL5 inside virtualpc: booting time is 3~5 minutes, response > time in console mode is quite well, but xwindow is a little bad... > Does it make sense to enable this kind of nest virtualization in > xen? Could you give some comments about it? Thanks! > > Reviewed-by: Kevin Tian <kevin.tian@intel.com> > Signed-off-by: Disheng Su <disheng.su.com> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel