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] [Patch] Add an omitted check whether a domain is HVM domain

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] Add an omitted check whether a domain is HVM domain before calling hvm_domain_relinquish_resources().
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Mon, 16 Apr 2007 16:48:07 +0800
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Mon, 16 Apr 2007 01:46:57 -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: AcbhNpSgnLlsyleeR3aZurd/xO5mYAAmjw1QAHpYsZANUy+bAAbmp7kgDVsWwlAE6nSSwACPExFgAAPDqbA=
Thread-topic: [Patch] Add an omitted check whether a domain is HVM domain before calling hvm_domain_relinquish_resources().
domain_relinquish_resources() invokes hvm_domain_relinquish_resources()
without checking whether the domain is HVM domain -- this can crash Xen
when destroy a xenU domain.
The attached patch fixes this.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>

Attachment: domain.c.diff
Description: domain.c.diff

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] Add an omitted check whether a domain is HVM domain before calling hvm_domain_relinquish_resources()., Cui, Dexuan <=