Re: [Qemu-devel] [PATCH] ppc: fix setting of compat mode

2017-10-17 Thread David Gibson
On Tue, Oct 17, 2017 at 09:49:14PM +0200, Greg Kurz wrote: > While trying to make KVM PR usable again, commit 5dfaa532ae introduced a > regression: the current compat_pvr value is passed to KVM instead of the > new one. This means that we always pass 0 instead of the max-cpu-compat > PVR during the

[Qemu-devel] [PATCH] ppc: fix setting of compat mode

2017-10-17 Thread Greg Kurz
While trying to make KVM PR usable again, commit 5dfaa532ae introduced a regression: the current compat_pvr value is passed to KVM instead of the new one. This means that we always pass 0 instead of the max-cpu-compat PVR during the initial machine reset. And at CAS time, we either pass the PVR fro