Author: janderwald
Date: Thu Aug 30 02:09:07 2007
New Revision: 28659
URL:
http://svn.reactos.org/svn/reactos?rev=28659&view=rev
Log:
- check if qemu-img exists for attempting to create hdd image
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 Thu Aug 30 02:09:07 2007
@@ -155,6 +155,13 @@
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();