Re: [PATCH v8 18/18] KVM: SVM: Enable SEV live migration feature implicitly on Incoming VM(s).

From: Paolo Bonzini
Date: Sun Dec 06 2020 - 05:20:08 EST


On 04/12/20 22:46, Ashish Kalra wrote:
I would prefer that userspace does this using KVM_SET_MSR instead.

Ok.

But, this is for a VM which has already been migrated based on feature
support on host and guest and host negotation and enablement of the live
migration support, so i am assuming that a VM which has already been
migrated can have this support enabled implicitly for further migration.

It's just that it is a unexpected side effect of KVM_SET_PAGE_ENC_BITMAP. I prefer to have it tied to the more obvious KVM_SET_MSR ioctl.

Paolo