Re: [PATCH] KVM: nVMX: Add preemption timer support

2013-03-14 Thread Gleb Natapov
On Wed, Mar 13, 2013 at 11:31:24AM +0100, Jan Kiszka wrote: > Provided the host has this feature, it's straightforward to offer it to > the guest as well. We just need to load to timer value on L2 entry if > the feature was enabled by L1 and watch out for the corresponding exit > reason. > > Signe

Re: [PATCH] KVM: nVMX: Add preemption timer support

2013-03-13 Thread Jan Kiszka
On 2013-03-13 15:50, Jan Kiszka wrote: > On 2013-03-13 15:44, Gleb Natapov wrote: >> On Wed, Mar 13, 2013 at 11:31:24AM +0100, Jan Kiszka wrote: >>> Provided the host has this feature, it's straightforward to offer it to >>> the guest as well. We just need to load to timer value on L2 entry if >>>

Re: [PATCH] KVM: nVMX: Add preemption timer support

2013-03-13 Thread Jan Kiszka
On 2013-03-13 15:44, Gleb Natapov wrote: > On Wed, Mar 13, 2013 at 11:31:24AM +0100, Jan Kiszka wrote: >> Provided the host has this feature, it's straightforward to offer it to >> the guest as well. We just need to load to timer value on L2 entry if >> the feature was enabled by L1 and watch out f

Re: [PATCH] KVM: nVMX: Add preemption timer support

2013-03-13 Thread Gleb Natapov
On Wed, Mar 13, 2013 at 11:31:24AM +0100, Jan Kiszka wrote: > Provided the host has this feature, it's straightforward to offer it to > the guest as well. We just need to load to timer value on L2 entry if > the feature was enabled by L1 and watch out for the corresponding exit > reason. > > Signe

Re: [PATCH] KVM: nVMX: Add preemption timer support

2013-03-13 Thread Paolo Bonzini
Il 13/03/2013 11:31, Jan Kiszka ha scritto: > Provided the host has this feature, it's straightforward to offer it to > the guest as well. We just need to load to timer value on L2 entry if > the feature was enabled by L1 and watch out for the corresponding exit > reason. > > Signed-off-by: Jan Ki

[PATCH] KVM: nVMX: Add preemption timer support

2013-03-13 Thread Jan Kiszka
Provided the host has this feature, it's straightforward to offer it to the guest as well. We just need to load to timer value on L2 entry if the feature was enabled by L1 and watch out for the corresponding exit reason. Signed-off-by: Jan Kiszka --- arch/x86/include/asm/vmx.h |3 +++ a