Skip to contentSkip to conversation

BUG: fxsave/fxrstor on unaligned address

Qemu-devel Michal Schulz 1 participant 1 message Nov 3, 2007

lore
Share & tools
lore
#0 lore raw

Hello.

According to AMD docs both FXSAVE and FXRSTOR instuctions have to generate GPF if the memory operand is not aligned on a 16-byte boundary. Qemu in contrary does not generate such exception in this case.

Unfortunatelly, I'm not able to write proper patch since I have no experience in hacking qemu code (it has to be most likely fixed in the target-i386/translate.c file, around lines 6210-6237).

regards,
M.

Signature · 1 line
Michal Schulz