Re: [PATCH v4 11/46] KVM: PPC: Book3S HV: Ensure MSR[HV] is always clear in guest MSR

2021-04-01 Thread Nicholas Piggin
Excerpts from Paul Mackerras's message of March 31, 2021 2:58 pm: > On Tue, Mar 23, 2021 at 11:02:30AM +1000, Nicholas Piggin wrote: >> Rather than clear the HV bit from the MSR at guest entry, make it clear >> that the hypervisor does not allow the guest to set the bit. >> >> The HV clear is

Re: [PATCH v4 11/46] KVM: PPC: Book3S HV: Ensure MSR[HV] is always clear in guest MSR

2021-03-30 Thread Paul Mackerras
On Tue, Mar 23, 2021 at 11:02:30AM +1000, Nicholas Piggin wrote: > Rather than clear the HV bit from the MSR at guest entry, make it clear > that the hypervisor does not allow the guest to set the bit. > > The HV clear is kept in guest entry for now, but a future patch will > warn if it's not

[PATCH v4 11/46] KVM: PPC: Book3S HV: Ensure MSR[HV] is always clear in guest MSR

2021-03-22 Thread Nicholas Piggin
Rather than clear the HV bit from the MSR at guest entry, make it clear that the hypervisor does not allow the guest to set the bit. The HV clear is kept in guest entry for now, but a future patch will warn if it's not present. Signed-off-by: Nicholas Piggin ---