Re: [PATCH 6/6] x86/kvm: support Hyper-V reenlightenment

2017-12-12 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Roman Kagan writes: > >> On Fri, Dec 08, 2017 at 11:50:00AM +0100, Vitaly Kuznetsov wrote: >>> When we run nested KVM on Hyper-V guests we need to update masterclocks for >>> all guests when L1 migrates to a host with

Re: [PATCH 6/6] x86/kvm: support Hyper-V reenlightenment

2017-12-11 Thread Vitaly Kuznetsov
Roman Kagan writes: > On Fri, Dec 08, 2017 at 11:50:00AM +0100, Vitaly Kuznetsov wrote: >> When we run nested KVM on Hyper-V guests we need to update masterclocks for >> all guests when L1 migrates to a host with different TSC frequency. >> Implement the procedure in the

Re: [PATCH 6/6] x86/kvm: support Hyper-V reenlightenment

2017-12-08 Thread Roman Kagan
On Fri, Dec 08, 2017 at 11:50:00AM +0100, Vitaly Kuznetsov wrote: > When we run nested KVM on Hyper-V guests we need to update masterclocks for > all guests when L1 migrates to a host with different TSC frequency. > Implement the procedure in the following way: > - Pause all guests. > - Tell our

[PATCH 6/6] x86/kvm: support Hyper-V reenlightenment

2017-12-08 Thread Vitaly Kuznetsov
When we run nested KVM on Hyper-V guests we need to update masterclocks for all guests when L1 migrates to a host with different TSC frequency. Implement the procedure in the following way: - Pause all guests. - Tell our host (Hyper-V) to stop emulating TSC accesses. - Update our gtod copy,