Re: [PATCH] target/i386: Fix #GP error code for INT instructions

2025-05-20 Thread Andrew Cooper
Ping? On 12/03/2025 12:06 am, Andrew Cooper wrote: > While the (intno << shift) expression is correct for indexing the IDT based on > whether Long Mode is active, the error code itself was unchanged with AMD64, > and is still the index with 3 bits of metadata in the bottom. > > Found when running

[PATCH] target/i386: Fix #GP error code for INT instructions

2025-03-11 Thread Andrew Cooper
While the (intno << shift) expression is correct for indexing the IDT based on whether Long Mode is active, the error code itself was unchanged with AMD64, and is still the index with 3 bits of metadata in the bottom. Found when running a Xen unit test, all under QEMU. The unit test objected to b