Updating link to change in openSUSE:Factory/xen revision 90.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=98a7b497156d81631d87c0adc03f8518
This commit is contained in:
committed by
Git OBS Bridge
parent
6dd7e12d17
commit
e178e25130
@@ -1,5 +1,7 @@
|
||||
--- a/tools/python/xen/lowlevel/xc/xc.c
|
||||
+++ b/tools/python/xen/lowlevel/xc/xc.c
|
||||
Index: xen-4.0.0-testing/tools/python/xen/lowlevel/xc/xc.c
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/lowlevel/xc/xc.c
|
||||
+++ xen-4.0.0-testing/tools/python/xen/lowlevel/xc/xc.c
|
||||
@@ -106,8 +106,8 @@ static PyObject *pyxc_domain_create(XcOb
|
||||
|
||||
static char *kwd_list[] = { "domid", "ssidref", "handle", "flags", "target", NULL };
|
||||
@@ -287,8 +289,10 @@
|
||||
{ NULL, NULL, 0, NULL }
|
||||
};
|
||||
|
||||
Index: xen-4.0.0-testing/tools/python/xen/util/sxputils.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/tools/python/xen/util/sxputils.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/util/sxputils.py
|
||||
@@ -0,0 +1,64 @@
|
||||
+#============================================================================
|
||||
+# This library is free software; you can redistribute it and/or
|
||||
@@ -354,8 +358,10 @@
|
||||
+ return sxphash
|
||||
+
|
||||
+
|
||||
--- a/tools/python/xen/xend/XendAPI.py
|
||||
+++ b/tools/python/xen/xend/XendAPI.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendAPI.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendAPI.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendAPI.py
|
||||
@@ -51,6 +51,7 @@ from XendDPCI import XendDPCI
|
||||
from XendPSCSI import XendPSCSI, XendPSCSI_HBA
|
||||
from XendDSCSI import XendDSCSI, XendDSCSI_HBA
|
||||
@@ -547,8 +553,10 @@
|
||||
|
||||
# Xen API: Class VBD
|
||||
# ----------------------------------------------------------------
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendCPUPool.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/tools/python/xen/xend/XendCPUPool.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendCPUPool.py
|
||||
@@ -0,0 +1,903 @@
|
||||
+#============================================================================
|
||||
+# This library is free software; you can redistribute it and/or
|
||||
@@ -1453,8 +1461,10 @@
|
||||
+
|
||||
+ unbound_cpus = classmethod(unbound_cpus)
|
||||
+
|
||||
--- a/tools/python/xen/xend/XendConfig.py
|
||||
+++ b/tools/python/xen/xend/XendConfig.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendConfig.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendConfig.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendConfig.py
|
||||
@@ -128,6 +128,7 @@ XENAPI_CFG_TO_LEGACY_CFG = {
|
||||
'PV_bootloader': 'bootloader',
|
||||
'PV_bootloader_args': 'bootloader_args',
|
||||
@@ -1495,8 +1505,10 @@
|
||||
'superpages': 0,
|
||||
'description': '',
|
||||
}
|
||||
--- a/tools/python/xen/xend/XendConstants.py
|
||||
+++ b/tools/python/xen/xend/XendConstants.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendConstants.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendConstants.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendConstants.py
|
||||
@@ -133,6 +133,8 @@ VTPM_DELETE_SCRIPT = auxbin.scripts_dir(
|
||||
|
||||
XS_VMROOT = "/vm/"
|
||||
@@ -1506,8 +1518,10 @@
|
||||
NR_PCI_FUNC = 8
|
||||
NR_PCI_DEV = 32
|
||||
NR_PCI_DEVFN = NR_PCI_FUNC * NR_PCI_DEV
|
||||
--- a/tools/python/xen/xend/XendDomainInfo.py
|
||||
+++ b/tools/python/xen/xend/XendDomainInfo.py
|
||||
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
|
||||
@@ -60,6 +60,7 @@ from xen.xend.xenstore.xsutil import Get
|
||||
from xen.xend.xenstore.xswatch import xswatch
|
||||
from xen.xend.XendConstants import *
|
||||
@@ -1560,8 +1574,10 @@
|
||||
def get_power_state(self):
|
||||
return XEN_API_VM_POWER_STATE[self._stateGet()]
|
||||
def get_platform(self):
|
||||
--- a/tools/python/xen/xend/XendError.py
|
||||
+++ b/tools/python/xen/xend/XendError.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendError.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendError.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendError.py
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
from xmlrpclib import Fault
|
||||
@@ -1597,8 +1613,10 @@
|
||||
class VDIError(XendAPIError):
|
||||
def __init__(self, error, vdi):
|
||||
XendAPIError.__init__(self)
|
||||
--- a/tools/python/xen/xend/XendNode.py
|
||||
+++ b/tools/python/xen/xend/XendNode.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/XendNode.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendNode.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/XendNode.py
|
||||
@@ -43,6 +43,7 @@ from XendStateStore import XendStateStor
|
||||
from XendMonitor import XendMonitor
|
||||
from XendPPCI import XendPPCI
|
||||
@@ -1672,8 +1690,10 @@
|
||||
'max_free_memory',
|
||||
'max_para_memory',
|
||||
'max_hvm_memory',
|
||||
--- a/tools/python/xen/xend/server/SrvServer.py
|
||||
+++ b/tools/python/xen/xend/server/SrvServer.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/server/SrvServer.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/server/SrvServer.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/server/SrvServer.py
|
||||
@@ -52,6 +52,7 @@ from xen.xend import XendNode, XendOptio
|
||||
from xen.xend.XendLogging import log
|
||||
from xen.xend.XendClient import XEN_API_SOCKET
|
||||
@@ -1695,8 +1715,10 @@
|
||||
# Reaching this point means we can auto start domains
|
||||
try:
|
||||
xenddomain().autostart_domains()
|
||||
--- a/tools/python/xen/xend/server/XMLRPCServer.py
|
||||
+++ b/tools/python/xen/xend/server/XMLRPCServer.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xend/server/XMLRPCServer.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xend/server/XMLRPCServer.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xend/server/XMLRPCServer.py
|
||||
@@ -33,6 +33,7 @@ from xen.xend.XendClient import XML_RPC_
|
||||
from xen.xend.XendConstants import DOM_STATE_RUNNING
|
||||
from xen.xend.XendLogging import log
|
||||
@@ -1728,8 +1750,10 @@
|
||||
# Functions in XendNode and XendDmesg
|
||||
for type, lst, n in [(XendNode,
|
||||
['info', 'pciinfo', 'send_debug_keys',
|
||||
--- a/tools/python/xen/xm/create.dtd
|
||||
+++ b/tools/python/xen/xm/create.dtd
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/create.dtd
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xm/create.dtd
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/create.dtd
|
||||
@@ -50,6 +50,7 @@
|
||||
s3_integrity CDATA #REQUIRED
|
||||
vcpus_max CDATA #REQUIRED
|
||||
@@ -1738,8 +1762,10 @@
|
||||
actions_after_shutdown %NORMAL_EXIT; #REQUIRED
|
||||
actions_after_reboot %NORMAL_EXIT; #REQUIRED
|
||||
actions_after_crash %CRASH_BEHAVIOUR; #REQUIRED
|
||||
--- a/tools/python/xen/xm/create.py
|
||||
+++ b/tools/python/xen/xm/create.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/create.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xm/create.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/create.py
|
||||
@@ -659,6 +659,10 @@ gopts.var('suppress_spurious_page_faults
|
||||
fn=set_bool, default=None,
|
||||
use="""Do not inject spurious page faults into this guest""")
|
||||
@@ -1751,7 +1777,7 @@
|
||||
gopts.var('pci_msitranslate', val='TRANSLATE',
|
||||
fn=set_int, default=1,
|
||||
use="""Global PCI MSI-INTx translation flag (0=disable;
|
||||
@@ -1147,6 +1151,8 @@ def make_config(vals):
|
||||
@@ -1149,6 +1153,8 @@ def make_config(vals):
|
||||
config.append(['localtime', vals.localtime])
|
||||
if vals.oos:
|
||||
config.append(['oos', vals.oos])
|
||||
@@ -1760,8 +1786,10 @@
|
||||
|
||||
config_image = configure_image(vals)
|
||||
if vals.bootloader:
|
||||
--- a/tools/python/xen/xm/main.py
|
||||
+++ b/tools/python/xen/xm/main.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/main.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xm/main.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/main.py
|
||||
@@ -56,6 +56,7 @@ from xen.util.xmlrpcclient import Server
|
||||
import xen.util.xsm.xsm as security
|
||||
from xen.util.xsm.xsm import XSMError
|
||||
@@ -1933,7 +1961,7 @@
|
||||
"total_memory": int(host_metrics_record["memory_total"])/1024/1024,
|
||||
"free_memory": int(host_metrics_record["memory_free"])/1024/1024,
|
||||
"xen_major": getVal(["software_version", "xen_major"]),
|
||||
@@ -3449,6 +3510,169 @@ def xm_tmem_shared_auth(args):
|
||||
@@ -3451,6 +3512,169 @@ def xm_tmem_shared_auth(args):
|
||||
else:
|
||||
return server.xend.node.tmem_shared_auth(domid,uuid_str,auth)
|
||||
|
||||
@@ -2103,7 +2131,7 @@
|
||||
|
||||
commands = {
|
||||
"shell": xm_shell,
|
||||
@@ -3534,6 +3758,14 @@ commands = {
|
||||
@@ -3536,6 +3760,14 @@ commands = {
|
||||
"usb-list-assignable-devices": xm_usb_list_assignable_devices,
|
||||
"usb-hc-create": xm_usb_hc_create,
|
||||
"usb-hc-destroy": xm_usb_hc_destroy,
|
||||
@@ -2118,7 +2146,7 @@
|
||||
# tmem
|
||||
"tmem-thaw": xm_tmem_thaw,
|
||||
"tmem-freeze": xm_tmem_freeze,
|
||||
@@ -3565,6 +3797,8 @@ IMPORTED_COMMANDS = [
|
||||
@@ -3567,6 +3799,8 @@ IMPORTED_COMMANDS = [
|
||||
'resetpolicy',
|
||||
'getenforce',
|
||||
'setenforce',
|
||||
@@ -2127,8 +2155,10 @@
|
||||
]
|
||||
|
||||
for c in IMPORTED_COMMANDS:
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/pool-create.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/tools/python/xen/xm/pool-create.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/pool-create.py
|
||||
@@ -0,0 +1,51 @@
|
||||
+#============================================================================
|
||||
+# This library is free software; you can redistribute it and/or
|
||||
@@ -2181,8 +2211,10 @@
|
||||
+if __name__ == '__main__':
|
||||
+ main(sys.argv)
|
||||
+
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/pool-new.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/tools/python/xen/xm/pool-new.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/pool-new.py
|
||||
@@ -0,0 +1,50 @@
|
||||
+#============================================================================
|
||||
+# This library is free software; you can redistribute it and/or
|
||||
@@ -2234,8 +2266,10 @@
|
||||
+if __name__ == '__main__':
|
||||
+ main(sys.argv)
|
||||
+
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/pool.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/tools/python/xen/xm/pool.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/pool.py
|
||||
@@ -0,0 +1,236 @@
|
||||
+#============================================================================
|
||||
+# This library is free software; you can redistribute it and/or
|
||||
@@ -2473,8 +2507,10 @@
|
||||
+def help():
|
||||
+ return str(GOPTS)
|
||||
+
|
||||
--- a/tools/python/xen/xm/xenapi_create.py
|
||||
+++ b/tools/python/xen/xm/xenapi_create.py
|
||||
Index: xen-4.0.0-testing/tools/python/xen/xm/xenapi_create.py
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/tools/python/xen/xm/xenapi_create.py
|
||||
+++ xen-4.0.0-testing/tools/python/xen/xm/xenapi_create.py
|
||||
@@ -310,6 +310,8 @@ class xenapi_create:
|
||||
get_child_nodes_as_dict(vm, "platform", "key", "value"),
|
||||
"other_config":
|
||||
|
Reference in New Issue
Block a user