mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- check if qemu-img exists for attempting to create hdd image
svn path=/trunk/; revision=28659
This commit is contained in:
parent
628a33b902
commit
be17f95ee8
1 changed files with 7 additions and 0 deletions
|
@ -155,6 +155,13 @@ namespace Sysreg_
|
|||
NULL
|
||||
};
|
||||
|
||||
if (!isFileExisting(qemuimgdir))
|
||||
{
|
||||
cerr << "Error: ROS_EMU_PATH must contain the path to qemu and qemu-img" << endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
getDefaultHDDImage(output);
|
||||
options[1] = (TCHAR*)output.c_str();
|
||||
|
||||
|
|
Loading…
Reference in a new issue