Signed-off-by: Sasha Levin <[email protected]>
---
tools/kvm/builtin-run.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c
index 43cf2c4..33de4f6 100644
--- a/tools/kvm/builtin-run.c
+++ b/tools/kvm/builtin-run.c
@@ -856,9 +856,6 @@ int kvm_cmd_run(int argc, const char **argv, const char
*prefix)
if (virtio_9p__register(kvm, "/", "hostfs") < 0)
die("Unable to initialize virtio 9p");
using_rootfs = custom_rootfs = 1;
-
- if (!strstr(real_cmdline, "init="))
- strlcat(real_cmdline, " init=/bin/sh ",
sizeof(real_cmdline));
}
if (using_rootfs) {
--
1.7.8.rc4
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html