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

RE: [Xen-devel] [PATCH] VMX domain should call domain_crash_synchronous

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] VMX domain should call domain_crash_synchronous instead of domain_crash
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Sun, 4 Dec 2005 12:13:29 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Dec 2005 04:13:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcX4KpA5MLtifPk8QfeVcvkwSmL8ggAWNRrg
Thread-topic: [Xen-devel] [PATCH] VMX domain should call domain_crash_synchronous instead of domain_crash
>> VMX domain should call domain_crash_synchronous instead of 
>> domain_crash.
>> Since domain_crash will return at last, VMX domain should not use it.
>
>Sometimes delaying the crash is the right thing to do, if you are in a 
>context with locks held (for example). You will still stop executing 
>before returning to guest context. Are you sure that all the changes 
>from domain_crash -> domain_crash_synchronous are correct?
>

Yes, they are correct.
For vmx domain, return of domain_crash will cause some unexpected code
gets executed, which may crashes xen HV.
-Xin

>  -- Keir
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] [PATCH] VMX domain should call domain_crash_synchronous instead of domain_crash, Li, Xin B <=