summary refs log tree commit diff stats
path: root/hw/usb/dev-mtp.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-01 15:36:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-04 13:47:08 +0200
commit1b627f389f9da48aa8f28808770a731c1e09c338 (patch)
treefa5b9c2a700584425e7f0d7d5dfd22c22db6f1bf /hw/usb/dev-mtp.c
parenta5505f6b5b6f72eb21be7567fc1ef3ae2d5b3281 (diff)
downloadfocaccia-qemu-1b627f389f9da48aa8f28808770a731c1e09c338.tar.gz
focaccia-qemu-1b627f389f9da48aa8f28808770a731c1e09c338.zip
target/i386: tcg: fix switching from 16-bit to 32-bit tasks or vice versa
The format of the task state segment is governed by bit 3 in the
descriptor type field.  On a task switch, the format for saving
is given by the current value of TR's type field, while the
format for loading is given by the new descriptor.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb/dev-mtp.c')
0 files changed, 0 insertions, 0 deletions