WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALL

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Aug 2006 22:10:39 +0000
Delivery-date: Wed, 30 Aug 2006 15:14:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs, Xen patchbot-unstable <=