From 1fbd8d52a631cd78a785d011815247b91bb956dba334c9deb1ef748176a4138e Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Fri, 30 Jul 2010 22:40:48 +0000 Subject: [PATCH] Patch cleanup. Refreshed several patches. OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=69 --- 32on64-extra-mem.patch | 2 +- blktap.patch | 2 +- cpu-pools-python.patch | 34 ++++++++++++++++----------------- del_usb_xend_entry.patch | 2 +- snapshot-xend.patch | 14 +++++++------- suse-disable-tap2-default.patch | 2 +- xen-domUloader.diff | 10 +++++----- xen-max-free-mem.diff | 2 +- xen-xm-top-needs-root.diff | 2 +- xenapi-console-protocol.patch | 2 +- xend-core-dump-loc.diff | 2 +- xend-domain-lock.patch | 6 +++--- xm-save-check-file.patch | 10 +++++----- 13 files changed, 45 insertions(+), 45 deletions(-) diff --git a/32on64-extra-mem.patch b/32on64-extra-mem.patch index 1a994b2..c82dfe3 100644 --- a/32on64-extra-mem.patch +++ b/32on64-extra-mem.patch @@ -2,7 +2,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py =================================================================== --- xen-4.0.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py +++ xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py -@@ -2914,7 +2914,7 @@ class XendDomainInfo: +@@ -2917,7 +2917,7 @@ class XendDomainInfo: self.guest_bitsize = self.image.getBitSize() # Make sure there's enough RAM available for the domain diff --git a/blktap.patch b/blktap.patch index f9ad26d..59cc25e 100644 --- a/blktap.patch +++ b/blktap.patch @@ -5,7 +5,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py =================================================================== --- xen-4.0.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py +++ xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py -@@ -3287,7 +3287,7 @@ class XendDomainInfo: +@@ -3290,7 +3290,7 @@ class XendDomainInfo: (fn, BOOTLOADER_LOOPBACK_DEVICE)) vbd = { diff --git a/cpu-pools-python.patch b/cpu-pools-python.patch index 99596c2..49b0364 100644 --- a/cpu-pools-python.patch +++ b/cpu-pools-python.patch @@ -1530,7 +1530,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py from xen.xend.server.DevConstants import xenbusState from xen.xend.server.BlktapController import TAPDISK_DEVICE, parseDeviceString -@@ -2566,6 +2567,19 @@ class XendDomainInfo: +@@ -2569,6 +2570,19 @@ class XendDomainInfo: oos = self.info['platform'].get('oos', 1) oos_off = 1 - int(oos) @@ -1550,7 +1550,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py flags = (int(hvm) << 0) | (int(hap) << 1) | (int(s3_integrity) << 2) | (int(oos_off) << 3) try: -@@ -2587,6 +2601,11 @@ class XendDomainInfo: +@@ -2590,6 +2604,11 @@ class XendDomainInfo: failmsg += ', error=%i' % int(self.domid) raise VmError(failmsg) @@ -1562,7 +1562,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py self.dompath = GetDomainPath(self.domid) self._recreateDom() -@@ -3614,6 +3633,11 @@ class XendDomainInfo: +@@ -3617,6 +3636,11 @@ class XendDomainInfo: retval = xc.sched_credit_domain_get(self.getDomid()) return retval @@ -1798,7 +1798,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xm/main.py from xen.util import auxbin import XenAPI -@@ -235,6 +236,23 @@ SUBCOMMAND_HELP = { +@@ -237,6 +238,23 @@ SUBCOMMAND_HELP = { 'tmem-freeable' : ('', 'Print freeable tmem (in MiB).'), 'tmem-shared-auth' : ('[|-a|--all] [--uuid=] [--auth=<0|1>]', 'De/authenticate shared tmem pool.'), @@ -1822,7 +1822,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xm/main.py # security 'addlabel' : ('