Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xen
xm-create-xflag.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xm-create-xflag.patch of Package xen
Index: xen-3.3.1-testing/tools/python/xen/xm/create.py =================================================================== --- xen-3.3.1-testing.orig/tools/python/xen/xm/create.py +++ xen-3.3.1-testing/tools/python/xen/xm/create.py @@ -35,7 +35,7 @@ from xen.xend.XendBootloader import boot from xen.util import blkif from xen.util import vscsi_util import xen.util.xsm.xsm as security -from xen.xm.main import serverType, SERVER_XEN_API, get_single_vm +from xen.xm.main import serverType, SERVER_XEN_API, SERVER_LEGACY_XMLRPC, get_single_vm from xen.util import utils from xen.xm.opts import * @@ -1316,7 +1316,7 @@ def main(argv): except IOError, exn: raise OptionError("Cannot read file %s: %s" % (config, exn[1])) - if serverType == SERVER_XEN_API: + if serverType == SERVER_XEN_API or serverType == SERVER_LEGACY_XMLRPC: from xen.xm.xenapi_create import sxp2xml sxp2xml_inst = sxp2xml() doc = sxp2xml_inst.convert_sxp_to_xml(config, transient=True) @@ -1324,7 +1324,7 @@ def main(argv): if opts.vals.dryrun and not opts.is_xml: SXPPrettyPrint.prettyprint(config) - if opts.vals.xmldryrun and serverType == SERVER_XEN_API: + if opts.vals.xmldryrun: from xml.dom.ext import PrettyPrint as XMLPrettyPrint XMLPrettyPrint(doc)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor