Hi, running some oldish 286 protected mode demo in kvm, I came across this bug of kvm-52:
unhandled vm exit: 0x80000021 vcpu_id 0 rax 0000000060000010 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000003 rsi 00000000ffff0400 rdi 000000000008042e rsp 00000000000001fa rbp 000000000000091e r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 000000000000015b rflags 00023002 cs 320e (000320e0/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ds 0000 (00100000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) es 31cb (00031cb0/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ss 3226 (00032260/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt 31cb0/27 idt 0/3ff cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 The executed code is from [1] and was running over a FreeDOS image [2]. I found out that the crash happens on leaving the protected mode again. Anyone any ideas already? I can't dig into this on my own right now, but maybe it is simple to fix for people reading such dumps every day... ;) Thanks, Jan [1] http://www.x86.org/articles/pmbasics/tspec_a1_doc.htm [2] http://fabrice.bellard.free.fr/qemu/download.html -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel