lkml.org 
[lkml]   [2011]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 2/9] KVM: Expose a version 2 architectural PMU to a guests
On 11/07/2011 05:19 PM, Gleb Natapov wrote:
> >
> > note, this needs a fairly huge PMI skew to happen.
> >
> No, it need not. It is enough to get exit reason as hlt instead of nmi
> for a vcpu to go to blocking state instead of reentering guest mode.
> Note that we do not check request flags in kvm_arch_vcpu_runnable().

Right.

If we had a guarantee about the maximum skew, we could add a check for
KVM_REQ_PMI in kvm_vcpu_block().

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2011-11-07 16:27    [W:0.118 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site