Commit-ID: 3f4337539997e4f9ab1d29259cb628de21e72365 Gitweb: http://git.kernel.org/tip/3f4337539997e4f9ab1d29259cb628de21e72365 Author: Asias He <asias.hejun@xxxxxxxxx> AuthorDate: Mon, 8 Aug 2011 08:58:12 +0800 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Tue, 9 Aug 2011 16:51:07 +0300 kvm tools: Tune --disk option usage information This patch makes --disk option usage information include rootfs directory, since --disk supports both images and rootfs dir. Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/builtin-run.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c index 87ed715..fa51850 100644 --- a/tools/kvm/builtin-run.c +++ b/tools/kvm/builtin-run.c @@ -158,7 +158,7 @@ static const struct option options[] = { "A name for the guest"), OPT_INTEGER('c', "cpus", &nrcpus, "Number of CPUs"), OPT_U64('m', "mem", &ram_size, "Virtual machine memory size in MiB."), - OPT_CALLBACK('d', "disk", NULL, "image", "Disk image", img_name_parser), + OPT_CALLBACK('d', "disk", NULL, "image or rootfs_dir", "Disk image or rootfs directory", img_name_parser), OPT_BOOLEAN('\0', "balloon", &balloon, "Enable virtio balloon"), OPT_BOOLEAN('\0', "vnc", &vnc, "Enable VNC framebuffer"), OPT_BOOLEAN('\0', "sdl", &sdl, "Enable SDL framebuffer"), -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |