mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
- check if qemu-img exists for attempting to create hdd image
svn path=/trunk/; revision=28659
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user