Incorrect order of task switching
Public bug reported:
In Intel specifications
(http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see:
8. Saves the state of the current (old) task in the current task’s
TSS.
…
11. Loads the task register with the segment selector and descriptor
for the new task's TSS.
But, in QEMU code
(https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state.
** Affects: qemu
Importance: Undecided
Status: New
Signature · 30 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/996798
Title:
Incorrect order of task switching
Status in QEMU:
New
Bug description:
In Intel specifications
(http://download.intel.com/design/processor/manuals/253668.pdf 7.3),
we can see:
8. Saves the state of the current (old) task in the current task’s
TSS.
…
11. Loads the task register with the segment selector and
descriptor for the new task's TSS.
But, in QEMU code
(https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375),
the order is reversed: TSS registers & segments loads BEFORE save old
task state.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions** Description changed:
In Intel specifications
(http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see:
- 8. Saves the state of the current (old) task in the current task’s
+ 8. Saves the state of the current (old) task in the current task’s TSS.
…
- 11. Loads the task register with the segment selector and descriptor
- for the new task's TSS.
+ 12. The TSS state is loaded into the processor
But, in QEMU code
(https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state.
Signature · 29 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU: New Bug description: In Intel specifications (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see: 8. Saves the state of the current (old) task in the current task’s TSS. … 12. The TSS state is loaded into the processor But, in QEMU code (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions
Some bug in VirtualBox: https://www.virtualbox.org/ticket/10532
** Bug watch added: Virtualbox Trac #10532
http://www.virtualbox.org/ticket/10532
Signature · 29 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU: New Bug description: In Intel specifications (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see: 8. Saves the state of the current (old) task in the current task’s TSS. … 12. The TSS state is loaded into the processor But, in QEMU code (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions
Is problem still reproducable with the latest version of QEMU, or has it been fixed nowadays?
** Changed in: qemu
Status: New => Incomplete
Signature · 29 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU: Incomplete Bug description: In Intel specifications (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see: 8. Saves the state of the current (old) task in the current task’s TSS. … 12. The TSS state is loaded into the processor But, in QEMU code (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions
** Bug watch removed: Virtualbox Trac #10532
http://www.virtualbox.org/ticket/10532
Signature · 29 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU: Incomplete Bug description: In Intel specifications (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see: 8. Saves the state of the current (old) task in the current task’s TSS. … 12. The TSS state is loaded into the processor But, in QEMU code (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
Signature · 29 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU: Expired Bug description: In Intel specifications (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we can see: 8. Saves the state of the current (old) task in the current task’s TSS. … 12. The TSS state is loaded into the processor But, in QEMU code (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375), the order is reversed: TSS registers & segments loads BEFORE save old task state. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions