[PATCH v5 3/4] KVM: x86: allow kvm_x86_ops.set_efer to return a value

2020-09-21 Thread Maxim Levitsky
This will be used later to return an error when setting this msr fails. Note that we ignore this return value for qemu initiated writes to avoid breaking backward compatibility. Signed-off-by: Maxim Levitsky --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/svm/svm.c | 3 ++- ar

Re: [PATCH v5 3/4] KVM: x86: allow kvm_x86_ops.set_efer to return a value

2020-09-22 Thread Maxim Levitsky
On Mon, 2020-09-21 at 08:41 -0700, Sean Christopherson wrote: > On Mon, Sep 21, 2020 at 04:19:22PM +0300, Maxim Levitsky wrote: > > This will be used later to return an error when setting this msr fails. > > > > Note that we ignore this return value for qemu initiated writes to > > avoid breaking