Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-16 Thread Sean Christopherson
On Thu, Feb 04, 2021, Ashish Kalra wrote: > diff --git a/arch/x86/include/uapi/asm/kvm_para.h > b/arch/x86/include/uapi/asm/kvm_para.h > index 950afebfba88..f6bfa138874f 100644 > --- a/arch/x86/include/uapi/asm/kvm_para.h > +++ b/arch/x86/include/uapi/asm/kvm_para.h > @@ -33,6 +33,7 @@ > #define

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-10 Thread Steve Rutherford
On Wed, Feb 10, 2021 at 2:01 PM Steve Rutherford wrote: > > Hi Ashish, > > On Wed, Feb 10, 2021 at 12:37 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > We can remove the implicit enabling of this live migration feature > > from svm_vcpu_after_set_cpuid() callback invoked afer KVM_SET_CPUID2

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-10 Thread Steve Rutherford
Hi Ashish, On Wed, Feb 10, 2021 at 12:37 PM Ashish Kalra wrote: > > Hello Steve, > > We can remove the implicit enabling of this live migration feature > from svm_vcpu_after_set_cpuid() callback invoked afer KVM_SET_CPUID2 > ioctl, and let this feature flag be controlled by the userspace > VMM/qe

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-10 Thread Ashish Kalra
Hello Steve, On Mon, Feb 08, 2021 at 02:50:14PM -0800, Steve Rutherford wrote: > Hi Ashish, > > On Sun, Feb 7, 2021 at 4:29 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > On Sat, Feb 06, 2021 at 01:56:46PM +, Ashish Kalra wrote: > > > Hello Steve, > > > > > > On Sat, Feb 06, 2021 at 05:

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-08 Thread Steve Rutherford
Hi Ashish, On Sun, Feb 7, 2021 at 4:29 PM Ashish Kalra wrote: > > Hello Steve, > > On Sat, Feb 06, 2021 at 01:56:46PM +, Ashish Kalra wrote: > > Hello Steve, > > > > On Sat, Feb 06, 2021 at 05:46:17AM +, Ashish Kalra wrote: > > > Hello Steve, > > > > > > Continued response to your queries

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-07 Thread Ashish Kalra
Hello Steve, On Sat, Feb 06, 2021 at 01:56:46PM +, Ashish Kalra wrote: > Hello Steve, > > On Sat, Feb 06, 2021 at 05:46:17AM +, Ashish Kalra wrote: > > Hello Steve, > > > > Continued response to your queries, especially related to userspace > > control of SEV live migration feature : >

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-06 Thread Ashish Kalra
Hello Steve, On Sat, Feb 06, 2021 at 05:46:17AM +, Ashish Kalra wrote: > Hello Steve, > > Continued response to your queries, especially related to userspace > control of SEV live migration feature : > > On Fri, Feb 05, 2021 at 06:54:21PM -0800, Steve Rutherford wrote: > > On Thu, Feb 4, 20

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-05 Thread Ashish Kalra
Hello Steve, Continued response to your queries, especially related to userspace control of SEV live migration feature : On Fri, Feb 05, 2021 at 06:54:21PM -0800, Steve Rutherford wrote: > On Thu, Feb 4, 2021 at 7:08 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > On Thu, Feb 04, 2021 at 04

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-05 Thread Ashish Kalra
Hello Steve, Let me first answer those queries which i can do immediately ... On Fri, Feb 05, 2021 at 06:54:21PM -0800, Steve Rutherford wrote: > On Thu, Feb 4, 2021 at 7:08 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > On Thu, Feb 04, 2021 at 04:56:35PM -0800, Steve Rutherford wrote: > >

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-05 Thread Steve Rutherford
On Thu, Feb 4, 2021 at 7:08 PM Ashish Kalra wrote: > > Hello Steve, > > On Thu, Feb 04, 2021 at 04:56:35PM -0800, Steve Rutherford wrote: > > On Wed, Feb 3, 2021 at 4:39 PM Ashish Kalra wrote: > > > > > > From: Ashish Kalra > > > > > > Add new KVM_FEATURE_SEV_LIVE_MIGRATION feature for guest to

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-04 Thread Ashish Kalra
Hello Steve, On Thu, Feb 04, 2021 at 04:56:35PM -0800, Steve Rutherford wrote: > On Wed, Feb 3, 2021 at 4:39 PM Ashish Kalra wrote: > > > > From: Ashish Kalra > > > > Add new KVM_FEATURE_SEV_LIVE_MIGRATION feature for guest to check > > for host-side support for SEV live migration. Also add a ne

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-04 Thread Steve Rutherford
On Wed, Feb 3, 2021 at 4:39 PM Ashish Kalra wrote: > > From: Ashish Kalra > > Add new KVM_FEATURE_SEV_LIVE_MIGRATION feature for guest to check > for host-side support for SEV live migration. Also add a new custom > MSR_KVM_SEV_LIVE_MIGRATION for guest to enable the SEV live migration > feature.