Re: [PATCH 2/2] KVM: PPC: Book3S PR: Disallow AIL != 0

2022-01-24 Thread Fabiano Rosas
Nicholas Piggin writes: > KVM PR does not implement address translation modes on interrupt, so it > must not allow H_SET_MODE to succeed. > > This is not compatible with QEMU behaviour. The solution might be to > have a cap-ail for this, but now it's broken either way so fix it in > KVM to start

[PATCH 2/2] KVM: PPC: Book3S PR: Disallow AIL != 0

2022-01-24 Thread Nicholas Piggin
KVM PR does not implement address translation modes on interrupt, so it must not allow H_SET_MODE to succeed. This is not compatible with QEMU behaviour. The solution might be to have a cap-ail for this, but now it's broken either way so fix it in KVM to start with. This allows PR Linux guests