qvm86-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qvm86-devel] Reboot using 2.6


From: Paul Brook
Subject: Re: [qvm86-devel] Reboot using 2.6
Date: Tue, 5 Apr 2005 15:27:25 +0100
User-agent: KMail/1.7.2

On Tuesday 05 April 2005 12:26, bqf wrote:
> Same for me with latest cvs, a cold reset after LILO is done and the
> kernel is booting - it did work with an earlier cvs version though, if i
> have time (and it doesn't get fixed before that) I'll try and checkout
> some older versions. I'd do it now, but can't afford this comp to reboot
> again as I need it right now :)

You could try applying the attached patch. It disables a recent change that 
could cause host reboots.

Paul
Index: switch.S
===================================================================
RCS file: /cvsroot/qvm86/qvm86/switch.S,v
retrieving revision 1.3
diff -u -p -r1.3 switch.S
--- switch.S    4 Apr 2005 01:51:04 -0000       1.3
+++ switch.S    5 Apr 2005 13:27:16 -0000
@@ -215,12 +215,16 @@ qvm86_return_to_host:
        cmp $0, %eax
        jne return_to_guest
 1:
+#if 0
+/* Disabled because it needs to handle cases where cs:eip isn't readable
+   These currently cause the host to reset.  */
        cmp $13, %ecx
        jne 1f
        /* Point eax at the code location.  */
        leal 64(%esp), %eax
        call do_gpf
 1:
+#endif
 
        /* Map in the shared page.  */
        movl O_mon_switch_ptr(%ebx), %eax

reply via email to

[Prev in Thread] Current Thread [Next in Thread]