This patch improves 'kvm version' output as follows as suggested by Ingo
Molnar:

  $ ./kvm version
  kvm tool 3.0.rc5.763.ga6c998

Cc: Ingo Molnar <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
---
 tools/kvm/builtin-version.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/kvm/builtin-version.c b/tools/kvm/builtin-version.c
index 5b3b598..b8bb859 100644
--- a/tools/kvm/builtin-version.c
+++ b/tools/kvm/builtin-version.c
@@ -9,7 +9,7 @@
 
 int kvm_cmd_version(int argc, const char **argv, const char *prefix)
 {
-       printf("%s\n", KVMTOOLS_VERSION);
+       printf("kvm tool %s\n", KVMTOOLS_VERSION);
 
        return 0;
 }
-- 
1.7.0.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