This patch makes --disk option usage information include rootfs
direcotry, since --disk supports both iamges and rootfs dir.

Signed-off-by: Asias He <[email protected]>
---
 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 4279cb3..21eee70 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"),
-- 
1.7.5.4

--
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

Reply via email to