partially fix Windows reboot-via-triple-fault
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: task switch: segment base is linear addressarch/ | +9 | 0 replies | |
| 2/3 | KVM: task switch: use seg regs provided by subarch instead of reading from GDTarch/ | +30 | 0 replies | |
| 3/3 | KVM: VMX: handle segment limit granularity special case in softwarearch/ | +16 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/3] partially fix Windows reboot-via-triple-fault
The following patchset fixes task switch problems seen on installation of SMP Windows (2000, 2003 and supposedly XP).
Windows 2003 reboots fine, but crashes during initialization (separate problem though, also happens with UP installation or with new qemu-kvm instance). XP not tested yet.
Windows 2000 is now able to reboot, but crashes early after initialization:
(triple fault generated, reboot)
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 2 vector 0x10
SIPI to vcpu 3 vector 0x10handle_exception: unexpected, vectoring info 0x80000202 intr info 0x80000b0dhandle_exception: unexpected, vectoring info 0x80000202 intr info 0x80000b0d pending exception: not handled yet
pending exception: not handled yet
The task switch is initiated via task-gate-on-IDT from an NMI interrupt, so apparently some state is not properly cleanup up. Ideas?
Anyway, this changes are supposed to be a step in the right direction.