Author: janderwald
Date: Tue Sep 4 17:47:08 2007
New Revision: 28841
URL:
http://svn.reactos.org/svn/reactos?rev=28841&view=rev
Log:
- add disk param when booting from cdrom
- hardcode vnc 0 option to linux build
- make -no-reboot option available for windows hosts only
Modified:
trunk/reactos/tools/sysreg/rosboot_test.cpp
Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.…
==============================================================================
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Tue Sep 4 17:47:08 2007
@@ -266,6 +266,13 @@
{
/* boot from cdrom */
m_BootCmd += _T(" -boot d -cdrom ") + m_CDImage;
+
+ if (m_HDDImage.length ())
+ {
+ /* add disk when specified */
+ m_BootCmd += _T(" -hda ") + m_HDDImage;
+ }
+
}
else if (m_HDDImage.length ())
{
@@ -291,11 +298,14 @@
m_PidFile += _T("/pid.txt");
m_BootCmd += _T(" -pidfile ");
m_BootCmd += m_PidFile;
+ m_BootCmd += _T(" -vnc 0");
+#else
+
+ if (hasQemuNoRebootOption())
+ {
+ m_BootCmd += _T(" -no-reboot ");
+ }
#endif
- if (hasQemuNoRebootOption())
- {
- m_BootCmd += _T(" -no-reboot ");
- }
return true;
}
//----------------------------------------------------------------------------------------