mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 15:19:37 +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
|
@ -155,6 +155,13 @@ namespace Sysreg_
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!isFileExisting(qemuimgdir))
|
||||||
|
{
|
||||||
|
cerr << "Error: ROS_EMU_PATH must contain the path to qemu and qemu-img" << endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
getDefaultHDDImage(output);
|
getDefaultHDDImage(output);
|
||||||
options[1] = (TCHAR*)output.c_str();
|
options[1] = (TCHAR*)output.c_str();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue