|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Unmap domain page on exit
# HG changeset patch
# User adsharma@xxxxxxxxxxxxxxxxxxxx
# Node ID 6a6c4a422780f0aeb357f2fd8286a36afd3876b8
# Parent dc93023f4221b798ed40a662625dd47544b40d04
Unmap domain page on exit
Signed-off-by: Yunhong Jiang <yunhong.jiang@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>
diff -r dc93023f4221 -r 6a6c4a422780 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c Tue Aug 16 21:39:55 2005
+++ b/xen/arch/x86/shadow32.c Tue Aug 16 22:27:16 2005
@@ -1917,8 +1917,10 @@
snapshot = map_domain_page(smfn);
if (__copy_from_user(&gpte, &guest_pt[index],
- sizeof(gpte)))
+ sizeof(gpte))) {
+ unmap_domain_page(snapshot);
return 0;
+ }
// This could probably be smarter, but this is sufficent for
// our current needs.
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Unmap domain page on exit,
Xen patchbot -unstable <=
|
|
|
|
|