[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] [Patch] Add an omitted check whether a domain is HVM domain before calling hvm_domain_relinquish_resources().
- To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
- 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
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
- 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