Re: [PATCH v10 7/9] x86emul: support FNSTENV and FNSAVE

2020-05-29 Thread Jan Beulich
On 29.05.2020 16:08, Andrew Cooper wrote: > On 25/05/2020 15:29, Jan Beulich wrote: >> To avoid introducing another boolean into emulator state, the >> rex_prefix field gets (ab)used to convey the real/VM86 vs protected mode >> info (affecting structure layout, albeit not size) to x86_emul_blk(). >

Re: [PATCH v10 7/9] x86emul: support FNSTENV and FNSAVE

2020-05-29 Thread Andrew Cooper
On 25/05/2020 15:29, Jan Beulich wrote: > To avoid introducing another boolean into emulator state, the > rex_prefix field gets (ab)used to convey the real/VM86 vs protected mode > info (affecting structure layout, albeit not size) to x86_emul_blk(). > > Signed-off-by: Jan Beulich Acked-by: Andre

[PATCH v10 7/9] x86emul: support FNSTENV and FNSAVE

2020-05-25 Thread Jan Beulich
To avoid introducing another boolean into emulator state, the rex_prefix field gets (ab)used to convey the real/VM86 vs protected mode info (affecting structure layout, albeit not size) to x86_emul_blk(). Signed-off-by: Jan Beulich --- TBD: The full 16-bit padding fields in the 32-bit structures