[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 7aaab04fd22e6ae3bc7c763c9a286bf3b435ac37
# Parent  ac41222866e90ceb8b927c9fd0d42761ebc1d8b1
[IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/domain.c |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -r ac41222866e9 -r 7aaab04fd22e xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Wed Aug 23 11:16:26 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Wed Aug 23 11:16:41 2006 -0600
@@ -727,6 +727,15 @@ int shadow_mode_control(struct domain *d
                }
                break;
        }
+       case DOM0_SHADOW_CONTROL_OP_GET_ALLOCATION:
+               sc->mb = 0;
+               break;
+       case DOM0_SHADOW_CONTROL_OP_SET_ALLOCATION:
+               if (sc->mb > 0) {
+                       BUG();
+                       rc = -ENOMEM;
+               }
+               break;
        default:
                rc = -EINVAL;
                break;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.