debuggers.hg
changeset 17979:40e7329105fa
xend: Replace stray tab-indent with space-indent
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Jul 02 09:42:37 2008 +0100 (2008-07-02) |
parents | 08f77df14cba |
children | 0076f6691b09 |
files | tools/python/xen/xend/XendConfig.py tools/python/xen/xend/image.py tools/python/xen/xend/osdep.py |
line diff
1.1 --- a/tools/python/xen/xend/XendConfig.py Wed Jul 02 11:30:37 2008 +0900 1.2 +++ b/tools/python/xen/xend/XendConfig.py Wed Jul 02 09:42:37 2008 +0100 1.3 @@ -1762,7 +1762,7 @@ class XendConfig(dict): 1.4 return self['HVM_boot_policy'] != '' 1.5 1.6 def target(self): 1.7 - return self['target'] 1.8 + return self['target'] 1.9 1.10 def image_type(self): 1.11 stored_type = self['platform'].get('image_type')
2.1 --- a/tools/python/xen/xend/image.py Wed Jul 02 11:30:37 2008 +0900 2.2 +++ b/tools/python/xen/xend/image.py Wed Jul 02 09:42:37 2008 +0100 2.3 @@ -214,7 +214,7 @@ class ImageHandler: 2.4 method is called before any devices are set up.""" 2.5 2.6 domid = self.vm.getDomid() 2.7 - 2.8 + 2.9 # Delete left-over pipes 2.10 try: 2.11 os.unlink('/var/run/tap/qemu-read-%d' % domid)
3.1 --- a/tools/python/xen/xend/osdep.py Wed Jul 02 11:30:37 2008 +0900 3.2 +++ b/tools/python/xen/xend/osdep.py Wed Jul 02 09:42:37 2008 +0100 3.3 @@ -67,11 +67,11 @@ def _solaris_balloon_stat(label): 3.4 BLN_IOCTL_LOW = 0x42410003 3.5 BLN_IOCTL_HIGH = 0x42410004 3.6 BLN_IOCTL_LIMIT = 0x42410005 3.7 - label_to_ioctl = { 'Current allocation' : BLN_IOCTL_CURRENT, 3.8 - 'Requested target' : BLN_IOCTL_TARGET, 3.9 - 'Low-mem balloon' : BLN_IOCTL_LOW, 3.10 - 'High-mem balloon' : BLN_IOCTL_HIGH, 3.11 - 'Xen hard limit' : BLN_IOCTL_LIMIT } 3.12 + label_to_ioctl = { 'Current allocation' : BLN_IOCTL_CURRENT, 3.13 + 'Requested target' : BLN_IOCTL_TARGET, 3.14 + 'Low-mem balloon' : BLN_IOCTL_LOW, 3.15 + 'High-mem balloon' : BLN_IOCTL_HIGH, 3.16 + 'Xen hard limit' : BLN_IOCTL_LIMIT } 3.17 3.18 f = file(DEV_XEN_BALLOON, 'r') 3.19 try: