kvm tools: Call executable 'lkvm' and add 'vm' alias

Several people have raised up the issue with our 'kvm' executable name. Rusty
came up with 'lkvm' which even Ingo is reasonably happy with:

  I could live with:

   - keeping 'tools/kvm/' as the tool project name

   - 'lkvm' as the binary

   - a command alias binary (hardlink) to 'vm'. I just checked,
     it's not used by any other package.

  ... and be done with it?

  'lkvm' rhymes nicely to 'lkml' as well, so it's not a 100% bad
  name.

Suggested-by: Rusty Russell <rusty@rustcorp.com.au>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Pekka Enberg
2011-12-11 21:27:16 +02:00
committed by Will Deacon
parent 3c29e2aabd
commit ee4a660251
2 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
/kvm
/lkvm
/vm
*.o
*.d
.cscope
+7 -2
View File
@@ -23,7 +23,8 @@ FIND := find
CSCOPE := cscope
TAGS := ctags
PROGRAM := kvm
PROGRAM := lkvm
PROGRAM_ALIAS := vm
GUEST_INIT := guest/init
GUEST_INIT_S2 := guest/init_stage2
@@ -209,7 +210,7 @@ WARNINGS += -Wwrite-strings
CFLAGS += $(WARNINGS)
all: arch_support_check $(PROGRAM) $(GUEST_INIT) $(GUEST_INIT_S2)
all: arch_support_check $(PROGRAM) $(PROGRAM_ALIAS) $(GUEST_INIT) $(GUEST_INIT_S2)
arch_support_check:
$(UNSUPP_ERR)
@@ -222,6 +223,10 @@ $(PROGRAM): $(DEPS) $(OBJS)
$(E) " LINK " $@
$(Q) $(CC) $(OBJS) $(LIBS) -o $@
$(PROGRAM_ALIAS): $(PROGRAM)
$(E) " LN " $@
$(Q) ln -f $(PROGRAM) $@
$(GUEST_INIT): guest/init.c
$(E) " LINK " $@
$(Q) $(CC) -static guest/init.c -o $@