Message ID | 4DAF0078.2060207@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-2.6.git/tools/kvm/kvm-run.c ===================================================================== --- linux-2.6.git.orig/tools/kvm/kvm-run.c +++ linux-2.6.git/tools/kvm/kvm-run.c @@ -383,7 +383,7 @@ int kvm_cmd_run(int argc, const char **a } if (!strstr(real_cmdline, "root=")) - strlcat(real_cmdline, "root=/dev/vda rw ", sizeof(real_cmdline)); + strlcat(real_cmdline, " root=/dev/vda rw ", sizeof(real_cmdline)); if (image_filename) { kvm->disk_image = disk_image__open(image_filename, readonly_image);
If user pases own options we need an extra space otherwise options get joined. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- tools/kvm/kvm-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html