From: Keir Fraser Date: Wed, 2 Jul 2008 08:42:37 +0000 (+0100) Subject: xend: Replace stray tab-indent with space-indent X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14188^2~135 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa506f918587856dca8f4cc2d63de1160b6bc40c;p=xen.git xend: Replace stray tab-indent with space-indent Signed-off-by: Masaki Kanno --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index d31783f9a9..fa6031554c 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -1762,7 +1762,7 @@ class XendConfig(dict): return self['HVM_boot_policy'] != '' def target(self): - return self['target'] + return self['target'] def image_type(self): stored_type = self['platform'].get('image_type') diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index ccebcfc033..615e56da0f 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -214,7 +214,7 @@ class ImageHandler: method is called before any devices are set up.""" domid = self.vm.getDomid() - + # Delete left-over pipes try: os.unlink('/var/run/tap/qemu-read-%d' % domid) diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py index 6d2f81dae8..b2d310064d 100644 --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -67,11 +67,11 @@ def _solaris_balloon_stat(label): 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, - 'High-mem balloon' : BLN_IOCTL_HIGH, - 'Xen hard limit' : BLN_IOCTL_LIMIT } + label_to_ioctl = { 'Current allocation' : BLN_IOCTL_CURRENT, + 'Requested target' : BLN_IOCTL_TARGET, + 'Low-mem balloon' : BLN_IOCTL_LOW, + 'High-mem balloon' : BLN_IOCTL_HIGH, + 'Xen hard limit' : BLN_IOCTL_LIMIT } f = file(DEV_XEN_BALLOON, 'r') try: