mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 23:28:15 +00:00
- add disk param when booting from cdrom
- hardcode vnc 0 option to linux build - make -no-reboot option available for windows hosts only svn path=/trunk/; revision=28841
This commit is contained in:
parent
7700f97898
commit
a6b6e781a2
|
@ -266,6 +266,13 @@ namespace Sysreg_
|
|||
{
|
||||
/* 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 @@ namespace Sysreg_
|
|||
m_PidFile += _T("/pid.txt");
|
||||
m_BootCmd += _T(" -pidfile ");
|
||||
m_BootCmd += m_PidFile;
|
||||
#endif
|
||||
m_BootCmd += _T(" -vnc 0");
|
||||
#else
|
||||
|
||||
if (hasQemuNoRebootOption())
|
||||
{
|
||||
m_BootCmd += _T(" -no-reboot ");
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue