|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] tsc_mode == 1 and hvm guests
To: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Subject: |
RE: [Xen-devel] tsc_mode == 1 and hvm guests |
From: |
Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> |
Date: |
Mon, 10 May 2010 16:19:58 +0100 |
Cc: |
"Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx> |
Delivery-date: |
Mon, 10 May 2010 08:21:23 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<c239fd37-f77b-4a17-b9c9-3833191e278c@default> |
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: |
<alpine.DEB.2.00.1005101341270.11380@kaball-desktop> <C80DBDC5.13CF6%keir.fraser@xxxxxxxxxxxxx> <509b3e9e-f5b2-46eb-b55e-cfea9091bc49@default alpine.DEB.2.00.1005101553350.11380@kaball-desktop> <c239fd37-f77b-4a17-b9c9-3833191e278c@default> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Mon, 10 May 2010, Dan Magenheimer wrote:
> > On Mon, 10 May 2010, Dan Magenheimer wrote:
> > > Is it an objective for hybrid VMs to work on 4.0.1?
> > > I think the fix only is required for hybrid VM's
> > > and the rest is cleanup. Is that correct, Stefano?
> >
> > it is required to use VIRQ_TIMER on HVM, an hybrid VM would work anyway
> > falling back to the emulated timer.
>
> OK, so not even required for hybrid.
>
> > Also I believe that migrating to a guest that has a different tsc rate
> > was broken (on HVM) before my patch.
>
> I'm sure I tested this last December and it worked properly, though
> I haven't tested it recently. Could you confirm that it was
> broken in 4.0.0 (without your patch)?
>
> Keir, if you are putting all of the hybrid VM patches
> into 4.0.1, then this should go in as well. If not,
> please hold off until we confirm there was a fix (and
> I don't have multiple machines free to test it right now,
> so if Stefano confirms it was broken in 4.0.0, I'm
> OK with the fix).
>
the problem is that if the guest is not using the VIRQ_TIMER it
wouldn't hang even with a different tsc rate and I cannot use the
VIRQ_TIMER at all on HVM without the patch.
Therefore I don't have a simple way to test if the scaling is working or
not.
However I can tell you that without the patch when vtsc == 1
hvm_gtsc_need_scale returns 0 therefore scaling is never done.
For this reason I cannot see how the tsc frequency would remain the
same when vtsc == 1 and the underling hardware has a different tsc rate.
The offset would be OK though.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, (continued)
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Dan Magenheimer
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Zhang, Xiantao
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Dan Magenheimer
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
- Re: [Xen-devel] tsc_mode == 1 and hvm guests, Keir Fraser
- Re: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Dan Magenheimer
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Dan Magenheimer
- RE: [Xen-devel] tsc_mode == 1 and hvm guests,
Stefano Stabellini <=
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Dan Magenheimer
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Zhang, Xiantao
- RE: [Xen-devel] tsc_mode == 1 and hvm guests, Stefano Stabellini
|
|
|
|
|