Accepting request 44315 from Virtualization
checked in (request 44315) OBS-URL: https://build.opensuse.org/request/show/44315 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=70
This commit is contained in:
committed by
Git OBS Bridge
parent
1fbd8d52a6
commit
8198e029dc
@@ -2,10 +2,11 @@ Index: xen-4.0.0-testing/tools/examples/xend-config.sxp
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/examples/xend-config.sxp
|
||||
+++ xen-4.0.0-testing/tools/examples/xend-config.sxp
|
||||
@@ -305,6 +305,65 @@
|
||||
@@ -304,3 +304,62 @@
|
||||
# we have to realize this may incur security issue and we can't make sure the
|
||||
# device assignment could really work properly even after we do this.
|
||||
#(pci-passthrough-strict-check yes)
|
||||
|
||||
+
|
||||
+# Domain Locking
|
||||
+# In a multihost environment, domain locking prevents simultaneously
|
||||
+# running a domain on more than one host.
|
||||
@@ -64,10 +65,6 @@ Index: xen-4.0.0-testing/tools/examples/xend-config.sxp
|
||||
+# before starting vm1 on HostA.
|
||||
+#
|
||||
+#(xend-domain-lock-utility domain-lock)
|
||||
+
|
||||
# If we have a very big scsi device configuration, start of xend is slow,
|
||||
# because xend scans all the device paths to build its internal PSCSI device
|
||||
# list. If we need only a few devices for assigning to a guest, we can reduce
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
||||
@@ -86,7 +83,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
from xen.util.blkif import parse_uname
|
||||
import xen.util.xsm.xsm as security
|
||||
from xen.util import xsconstants
|
||||
@@ -469,6 +470,7 @@ class XendDomainInfo:
|
||||
@@ -466,6 +467,7 @@ class XendDomainInfo:
|
||||
|
||||
if self._stateGet() in (XEN_API_VM_POWER_STATE_HALTED, XEN_API_VM_POWER_STATE_SUSPENDED, XEN_API_VM_POWER_STATE_CRASHED):
|
||||
try:
|
||||
@@ -94,7 +91,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
XendTask.log_progress(0, 30, self._constructDomain)
|
||||
XendTask.log_progress(31, 60, self._initDomain)
|
||||
|
||||
@@ -2987,6 +2989,11 @@ class XendDomainInfo:
|
||||
@@ -2983,6 +2985,11 @@ class XendDomainInfo:
|
||||
|
||||
self._stateSet(DOM_STATE_HALTED)
|
||||
self.domid = None # Do not push into _stateSet()!
|
||||
@@ -106,7 +103,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
finally:
|
||||
self.refresh_shutdown_lock.release()
|
||||
|
||||
@@ -4493,6 +4500,74 @@ class XendDomainInfo:
|
||||
@@ -4489,6 +4496,74 @@ class XendDomainInfo:
|
||||
def has_device(self, dev_class, dev_uuid):
|
||||
return (dev_uuid in self.info['%s_refs' % dev_class.lower()])
|
||||
|
||||
@@ -203,7 +200,7 @@ Index: xen-4.0.0-testing/tools/python/xen/xend/XendOptions.py
|
||||
def __init__(self):
|
||||
self.configure()
|
||||
|
||||
@@ -401,6 +412,24 @@ class XendOptions:
|
||||
@@ -398,6 +409,24 @@ class XendOptions:
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user