target/i386: tcg: fix loading of registers from 16-bit TSS
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Jun 2021 13:34:26 +0000 (15:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Jun 2021 11:47:08 +0000 (13:47 +0200)
commita5505f6b5b6f72eb21be7567fc1ef3ae2d5b3281
treec2f6dc7827b4257c5ce98660db0e9bd04612a9ea
parent28f6aa1178581c3647819e1abc4905899d97d3a2
target/i386: tcg: fix loading of registers from 16-bit TSS

According to the manual, the high 16-bit of the registers are preserved
when switching to a 16-bit task.  Implement this in switch_tss_ra.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/seg_helper.c