kvm tools: Fix loading root device as image

Fix the loading of root device when no image name was
specified.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Sasha Levin
2011-05-05 22:53:32 +03:00
committed by Will Deacon
parent 407475bf94
commit 25bf86f688
+1
View File
@@ -420,6 +420,7 @@ int kvm_cmd_run(int argc, const char **argv, const char *prefix)
if (hi) {
image_filename[0] = hi;
readonly_image[0] = true;
image_count++;
}
}