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] Update Solaris balloon ioctl value

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Update Solaris balloon ioctl value
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Jun 2007 07:30:29 -0700
Delivery-date: Fri, 15 Jun 2007 07:29:00 -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 Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1181895522 -3600
# Node ID e08cbd4874145967234710886be4231c69e620e5
# Parent  1baac6716c62a5a9d1a139d61e21ede3e893cf83
Update Solaris balloon ioctl value

The balloon ioctl value should use a 32-bit value instead of a 16-bit
value to distinguish itself from other ioctls.

Signed-off-by: Ryan Scott <ryan.scott@xxxxxxx>
---
 tools/python/xen/xend/osdep.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r 1baac6716c62 -r e08cbd487414 tools/python/xen/xend/osdep.py
--- a/tools/python/xen/xend/osdep.py    Fri Jun 15 09:17:49 2007 +0100
+++ b/tools/python/xen/xend/osdep.py    Fri Jun 15 09:18:42 2007 +0100
@@ -65,11 +65,11 @@ def _solaris_balloon_stat(label):
     import fcntl
     import array
     DEV_XEN_BALLOON = '/dev/xen/balloon'
-    BLN_IOCTL_CURRENT = 0x4201
-    BLN_IOCTL_TARGET = 0x4202
-    BLN_IOCTL_LOW = 0x4203
-    BLN_IOCTL_HIGH = 0x4204
-    BLN_IOCTL_LIMIT = 0x4205
+    BLN_IOCTL_CURRENT = 0x42410001
+    BLN_IOCTL_TARGET = 0x42410002
+    BLN_IOCTL_LOW = 0x42410003
+    BLN_IOCTL_HIGH = 0x42410004
+    BLN_IOCTL_LIMIT = 0x42410005
     label_to_ioctl = { 'Current allocation'    : BLN_IOCTL_CURRENT,
                        'Requested target'      : BLN_IOCTL_TARGET,
                        'Low-mem balloon'       : BLN_IOCTL_LOW,

_______________________________________________
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] Update Solaris balloon ioctl value, Xen patchbot-unstable <=