[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] The XenDomain class does not respect the arch defaults where
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Node ID 515332c7a9013aabc774e7934ac21d6416829652 # Parent 17f48b5907a6725a28ad461064f5b49ebac2272c The XenDomain class does not respect the arch defaults where as XmTestDomain does. This part of the patch forces both HVM and non-HVM tests to use XmTestDomain. With appropriate changes to the extraConfig arg. On PPC we need to use the arch defaults to get the console setup correctly. Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx> --- tools/xm-test/tests/create/14_create_blockroot_pos.py | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff -r 17f48b5907a6 -r 515332c7a901 tools/xm-test/tests/create/14_create_blockroot_pos.py --- a/tools/xm-test/tests/create/14_create_blockroot_pos.py Wed Nov 01 08:34:55 2006 +0000 +++ b/tools/xm-test/tests/create/14_create_blockroot_pos.py Wed Nov 01 08:38:22 2006 +0000 @@ -18,17 +18,12 @@ rdpath = getRdPath() # print "Using %s" % output if ENABLE_HVM_SUPPORT: - domain = XmTestDomain(name="14_create_blockroot") + config = None else: - config = {"memory" : "64", - "root" : "/dev/hda1", - "name" : "14_create_blockroot", - "kernel" : getDefaultKernel(), + config = {"root" : "/dev/hda1", "disk" : "file:%s/initrd.img,hda1,w" % rdpath } - domConfig = XenConfig() - domConfig.setOpts(config) - domain = XenDomain(name=domConfig.getOpt("name"), config=domConfig) +domain = XmTestDomain(name="14_create_blockroot", extraConfig=config) try: console = domain.start() _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |