ia64/xen-unstable

changeset 15360:e08cbd487414

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>
author Keir Fraser <keir@xensource.com>
date Fri Jun 15 09:18:42 2007 +0100 (2007-06-15)
parents 1baac6716c62
children 276b48771f1e
files tools/python/xen/xend/osdep.py
line diff
     1.1 --- a/tools/python/xen/xend/osdep.py	Fri Jun 15 09:17:49 2007 +0100
     1.2 +++ b/tools/python/xen/xend/osdep.py	Fri Jun 15 09:18:42 2007 +0100
     1.3 @@ -65,11 +65,11 @@ def _solaris_balloon_stat(label):
     1.4      import fcntl
     1.5      import array
     1.6      DEV_XEN_BALLOON = '/dev/xen/balloon'
     1.7 -    BLN_IOCTL_CURRENT = 0x4201
     1.8 -    BLN_IOCTL_TARGET = 0x4202
     1.9 -    BLN_IOCTL_LOW = 0x4203
    1.10 -    BLN_IOCTL_HIGH = 0x4204
    1.11 -    BLN_IOCTL_LIMIT = 0x4205
    1.12 +    BLN_IOCTL_CURRENT = 0x42410001
    1.13 +    BLN_IOCTL_TARGET = 0x42410002
    1.14 +    BLN_IOCTL_LOW = 0x42410003
    1.15 +    BLN_IOCTL_HIGH = 0x42410004
    1.16 +    BLN_IOCTL_LIMIT = 0x42410005
    1.17      label_to_ioctl = {	'Current allocation'	: BLN_IOCTL_CURRENT,
    1.18  			'Requested target'	: BLN_IOCTL_TARGET,
    1.19  			'Low-mem balloon'	: BLN_IOCTL_LOW,