Baruch Even wrote:
Avi Kivity wrote:
Baruch Even wrote:
I'm using KVM 28 and when I'm trying to reboot the guest vm kvm fails with the following message:


Can you be more specific as to what you're doing? what host cpu, bitness, guest OS, bitness, actions to reproduce?

The host CPU is Intel Core Duo, running in 32 bits. The host and the guest are Debian, the host is unstable (sid) and the guest is stable (etch).

The guest is a clean install of Debian etch with the Standard and Desktop tasks. The action to reproduce is choosing the System->Shutdown from the Gnome menu. The guest starts the shutdown process and somewhere near or at the end the kvm process ends and I get the output I sent on the host console.


This may have been fixed by the attached patch (which has already been committed). Let me know if it still fails.


--
error compiling committee.c: too many arguments to function

commit 030421334ae91b7f6302a1cfe9c971a8991b4870
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Wed Jun 20 11:20:04 2007 +0300

    KVM: VMX: Reinitialize the real-mode tss when entering real mode
    
    Protected mode code may have corrupted the real-mode tss, so re-initialize
    it when switching to real mode.
    
    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index b47ddcc..42a9163 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -31,6 +31,8 @@
 MODULE_AUTHOR("Qumranet");
 MODULE_LICENSE("GPL");
 
+static int init_rmode_tss(struct kvm *kvm);
+
 static DEFINE_PER_CPU(struct vmcs *, vmxarea);
 static DEFINE_PER_CPU(struct vmcs *, current_vmcs);
 
@@ -951,6 +953,8 @@ static void enter_rmode(struct kvm_vcpu *vcpu)
 	fix_rmode_seg(VCPU_SREG_DS, &vcpu->rmode.ds);
 	fix_rmode_seg(VCPU_SREG_GS, &vcpu->rmode.gs);
 	fix_rmode_seg(VCPU_SREG_FS, &vcpu->rmode.fs);
+
+	init_rmode_tss(vcpu->kvm);
 }
 
 #ifdef CONFIG_X86_64
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to