mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-15 18:05:49 +00:00
e1310a7c5d
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 <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
16 lines
291 B
C
16 lines
291 B
C
#include <kvm/util.h>
|
|
#include <kvm/kvm-cmd.h>
|
|
#include <kvm/builtin-version.h>
|
|
#include <kvm/kvm.h>
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <signal.h>
|
|
|
|
int kvm_cmd_version(int argc, const char **argv, const char *prefix)
|
|
{
|
|
printf("kvm tool %s\n", KVMTOOLS_VERSION);
|
|
|
|
return 0;
|
|
}
|