Re: [PATCH v2 3/4] KVM: X86: Migration is supported

From: Jian Zhou
Date: Thu Nov 12 2015 - 05:40:26 EST




On 2015/11/12 17:00, Paolo Bonzini wrote:


On 12/11/2015 08:06, Jian Zhou wrote:

I think you can just do this in kvm_x86_ops->set_msr. The old
implementation for DEBUGCTL MSR can be moved to svm.c.

I think you mean "moved to vmx.c"?

No, the old implementation is moved from x86.c to svm.c.

The new implementation you have in vmx.c is then called from vmx_set_msr.

I got it, thanks.

Jian

Paolo

.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/