aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-06-15 09:18:42 +0100
committerKeir Fraser <keir@xensource.com>2007-06-15 09:18:42 +0100
commit70c1fbfecd02f22828f66a6a41072d2856346b7c (patch)
tree12ff63b27f8330bd02c32b6fd99a9acd0a517133 /tools
parent31c3af29ce9a231c3dc4b45563c3e6643492e914 (diff)
downloadxen-70c1fbfecd02f22828f66a6a41072d2856346b7c.tar.gz
xen-70c1fbfecd02f22828f66a6a41072d2856346b7c.tar.bz2
xen-70c1fbfecd02f22828f66a6a41072d2856346b7c.zip
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@sun.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/osdep.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py
index b3abbf782b..3dc343385e 100644
--- a/tools/python/xen/xend/osdep.py
+++ b/tools/python/xen/xend/osdep.py
@@ -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,