mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-28 18:15:41 +00:00
f6677a1dec
'kvm run --help' works fine but 'kvm help run' shows nothing, this patch implements it. Acked-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
15 lines
291 B
C
15 lines
291 B
C
#include <stdio.h>
|
|
|
|
/* user defined header files */
|
|
#include <kvm/kvm-cmd.h>
|
|
|
|
static int handle_kvm_command(int argc, char **argv)
|
|
{
|
|
return handle_command(kvm_commands, argc, (const char **) &argv[0]);
|
|
}
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
return handle_kvm_command(argc - 1, &argv[1]);
|
|
}
|