WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Don't BUG when exitcode==-1.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Don't BUG when exitcode==-1.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 29 Jun 2006 22:11:41 +0200
Delivery-date: Thu, 29 Jun 2006 13:40:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcabuDvN62o+XFN2RWCwfvFS/+ErOw==
Thread-topic: Don't BUG when exitcode==-1.
I had a bit of a problem getting PAE to work, and it made me see a
exitcode == -1 from the VMRUN instruction. This caused the hypervisor to
reboot, which I didn't think was a particularly good way to deal with an
errant guest - the fault in my case was malformed PDPE's. 

The attached patch removes the BUG(), leaving the
domain_crash_synchronous there, and adding a dump of the VMCB to aid
debugging (although this doesn't actually help much when the PDPE's are
wrong...)

Applies to 10520. 

Please apply. 

Signed off by: Mats Petersson (mats.petersson@xxxxxxx)

--
Mats

Attachment: patch.exit-1
Description: patch.exit-1

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Don't BUG when exitcode==-1., Petersson, Mats <=