Chris Lalancette
2007-Aug-24 18:21 UTC
[Xen-devel] [PATCH]: QEMU: Additional error checking in Cirrus setup
All, Attached is a patch to do some additional error checking in QEMU when setting up the Cirrus Logic video device. In particular, it may be the case that that set_mm_mapping() fails because of xc_domain_populate_physmap(). In this case, we should not blindly go on; the xc_map_foreign_batch() that follows will cause a page fault and, at best, get mapped in a zeroed page from the dom0 (which is not what we want). While I''m in here, fix a memory leak on an error path. The patch is against 3.1.0, but should apply fairly easily to xen-unstable. Signed-off-by: Chris Lalancette <clalance@redhat.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel