[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/i386/translate.c: always write 32-bits for SGDT and S
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] target/i386/translate.c: always write 32-bits for SGDT and SIDT |
Date: |
Fri, 26 Apr 2024 07:46:14 +0200 |
On Tue, Apr 23, 2024 at 10:42 PM Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk> wrote:
> > Let's change "Despite claims to the contrary" with "Despite a
> > confusing description".
>
> Thanks for sorting this, Paolo. I suspect that KVM needs a similar patch as
> per
> https://gitlab.com/qemu-project/qemu/-/issues/2198#note_1815726425 however
> the Win32s
> and OS/2 Warp 4 tests seem to work fine on KVM. Maybe it's because the SGDT
> and SIDT
> instructions run natively and don't need to be emulated for these cases?
Yes, they are almost never emulated (only in big real mode and only on
old Intel processors).
Paolo