On 10/14/25 19:23, ~myrslint wrote: > From: myrslint <[email protected]> > > On x86_64, where most CPUs support self-snoop, it is preferrable to > always honor guest PAT. Not doing so is a quirk. There is a default > enabled KVM quirk flag which enforces not doing so due to a former bug > in Bochs display driver. > > The bug has been fixed but not enough has yet passed since so we only > disable said quirk flag if a Bochs display is not configured for the > virtual machine. > > This commit also moves around a bit of code that would be called when > the initialization of a VM is done. > > Signed-off-by: myrslint <[email protected]> > --- > accel/kvm/kvm-all.c | 1 + > accel/stubs/kvm-stub.c | 1 + > hw/display/bochs-display.c | 17 +++++++++++++++ > include/system/kvm.h | 9 ++++++++ > target/i386/kvm/kvm.c | 42 +++++++++++++++++++++++++++++++------- > 5 files changed, 63 insertions(+), 7 deletions(-)
Looks perfect. Now up to Paolo to review further and apply the patch. Reviewed-by: Dmitry Osipenko <[email protected]> -- Best regards, Dmitry
