This is a rebase and revision of the proposed patch to disable KVM
ignore guest PAT quirk, on x86_64 target, when KVM is available and
Bochs DRM display driver is not used. Hopefully, it alleviates the point
raised by Dmitry Osipenko <[email protected]>. I have tested
compiling for x86_64 and aarch64 targets to make sure no compile-time
errors are raised.

I have also tested that this issue is addressed by the patch:
https://gitlab.com/qemu-project/qemu/-/issues/2943

myrslint (1):
  Honor guest PAT on x86, absent Bochs display

 accel/kvm/kvm-all.c        |  1 +
 accel/stubs/kvm-stub.c     |  1 +
 hw/display/bochs-display.c |  5 +++++
 include/system/kvm.h       |  9 ++++++++
 target/i386/kvm/kvm.c      | 42 +++++++++++++++++++++++++++++++-------
 5 files changed, 51 insertions(+), 7 deletions(-)

-- 
2.49.1

Reply via email to