[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().



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