some more work on xen support - DomU will now be started but debug output isn't handled yet

svn path=/trunk/; revision=32900
This commit is contained in:
Christoph von Wittich 2008-04-09 19:06:26 +00:00
parent 42939fd61b
commit a8a84be3ee

View file

@ -671,10 +671,18 @@ namespace Sysreg_
return false; return false;
} }
cerr << "Xen isn't supported yet." << endl; if (!isFileExisting(m_XenConfig))
{
cerr << "Xen configuration file missing" << endl;
return false; return false;
} }
m_BootCmd = m_EmuPath + "/xm create " + m_XenConfig;
if (!executeBootCmd())
return false;
return true;
}
//--------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------
bool RosBootTest::configureVmWare() bool RosBootTest::configureVmWare()
{ {
@ -691,7 +699,7 @@ namespace Sysreg_
return false; return false;
} }
if (ROS_EMU_TYPE == "xen") if (m_EmuType == "xen")
{ {
if (!conf_parser.getStringValue(RosBootTest::XEN_CONFIG_FILE, m_XenConfig)) if (!conf_parser.getStringValue(RosBootTest::XEN_CONFIG_FILE, m_XenConfig))
{ {