Bugs item #1959950, was opened at 2008-05-08 04:45
Message generated for change (Comment added) made by avik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1959950&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: yunfeng (yunfeng)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fails to restore guests in real mode.

Initial Comment:
If save and restore a guest in real mode, for example guest running in grub or 
memtest86 program, the guest will crash.
The error message:
[EMAIL PROTECTED] results]# qemu-system-x86_64  -m 256 -net 
nic,macaddr=00:16:3e:10:4d:f1,model=rtl8139 -net tap,script=/etc/kvm/qemu-ifup 
-hda /share/xvs/var/tmp-img_gtp12_1210169969_1 -cdrom /root/memtest86-3.4a.iso 
-boot d -incoming file:///tmp/abc
unhandled vm exit: 0x80000021 vcpu_id 0
rax 00000000000000e4 rbx 000000000001a8c0 rcx 0000000000000000 rdx 
0000000000000020
rsi 000000000001c8dc rdi 0000000000000022 rsp 000000000001b880 rbp 
0000000000000001
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 
0000000000000000
rip 0000000000006069 rflags 00010002
cs 0010 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
ds 0018 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
es 0018 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
ss 0018 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
fs 0018 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
gs 0018 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0)
tr 0000 (00000000/0000ffff 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 25b4/2f
idt 250c/9f
cr0 11 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Aborted


----------------------------------------------------------------------

>Comment By: Avi Kivity (avik)
Date: 2008-05-11 13:35

Message:
Logged In: YES 
user_id=539971
Originator: NO

commit 662beb8baa37481d1cb32aff8354c931f8a73441
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Sun May 11 13:34:46 2008 +0300

    kvm: qemu: remove hacking the segment attributes on reset

    The hack also corrupts the segment attributes on nonpaging
save/restore, which
    is bad.  The previous commit fixes the problem at the source,
rendering the
    hack unnecessary.

    Fixes 1959950.

    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1959950&group_id=180599

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to