From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: fix calculation of initial value of rdx register Date: Thu, 09 Nov 2006 15:01:55 +0200 Message-ID: <455326C3.90601@qumranet.com> References: <20061106131502.BD90D2500A7@cleopatra.q> <200611080924.59607.mail@earthworm.de> <45519512.3050606@qumranet.com> <200611091310.25066.mail@earthworm.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040201070205030305050107" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: To: "Hesse, Christian" In-Reply-To: <200611091310.25066.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------040201070205030305050107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hesse, Christian wrote: > On Wednesday 08 November 2006 09:28, Avi Kivity wrote: > >> Okay. Please try to apply the two patches I posted yesterday. I don't >> see how they can help, but it's worth trying. >> > > Ok, here is the log. This time the system did not freeze completely, I could > still move the mouse cursor, grab the qemu window and move that around, too. > I could not type anything, though I could press Alt+Ctrl+F1 and got a black > screen and a not blinking (frozen) console cursor. > One core was killed, the surviving core was able to run X and service some interrupts. Can you try the attached patch (on top of the previous debug patch)? In addition, please enable pae mode (CONFIG_HIGHMEM64G) to see if the cpu has trouble switching from pae mode in the guest to non-pae mode in the host. -- error compiling committee.c: too many arguments to function --------------040201070205030305050107 Content-Type: text/x-patch; name="kvm-more-debug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-more-debug.patch" Index: linux-2.6/drivers/kvm/debug.c =================================================================== --- linux-2.6.orig/drivers/kvm/debug.c +++ linux-2.6/drivers/kvm/debug.c @@ -997,6 +997,12 @@ void vmcs_dump(struct kvm_vcpu *vcpu) vcpu_printf(vcpu, "GUEST_GDTR_LIMIT 0x%x\n", vmcs_read32(GUEST_GDTR_LIMIT)); vcpu_printf(vcpu, "GUEST_IDTR_LIMIT 0x%x\n", vmcs_read32(GUEST_IDTR_LIMIT)); + + vcpu_printf(vcpu, "VM_EXIT_CONTROLS 0x%x\n", vmcs_read32(VM_EXIT_CONTROLS)); + vcpu_printf(vcpu, "EXCEPTION_BITMAP 0x%x\n", vmcs_read32(EXCEPTION_BITMAP)); + vcpu_printf(vcpu, "HOST_RIP 0x%lx\n", vmcs_readl(HOST_RIP)); + vcpu_printf(vcpu, "HOST_RSP 0x%lx\n", vmcs_readl(HOST_RSP)); + vcpu_printf(vcpu, "***********************************************************\n"); } --------------040201070205030305050107 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --------------040201070205030305050107 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------040201070205030305050107--