|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] dom0vp machtophys fix argument che
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 59d4c1863330e2023b05043d450da39cda47bd5a
# Parent 795d31772505ac8f951a70c1ef39aaa09cda7f47
[IA64] dom0vp machtophys fix argument check
fix argument check of dom0vp machtophys hypercall. use valid_mfn()
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/arch/ia64/xen/dom0_ops.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 795d31772505 -r 59d4c1863330 xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c Fri Jun 23 15:24:06 2006 -0600
+++ b/xen/arch/ia64/xen/dom0_ops.c Fri Jun 23 15:26:01 2006 -0600
@@ -256,7 +256,7 @@ do_dom0vp_op(unsigned long cmd,
}
break;
case IA64_DOM0VP_machtophys:
- if (max_page <= arg0) {
+ if (!mfn_valid(arg0)) {
ret = INVALID_M2P_ENTRY;
break;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] dom0vp machtophys fix argument check,
Xen patchbot-unstable <=
|
|
|
|
|