* [PATCH] Use qemu-kvm as installation name
@ 2009-01-23 16:08 Alexander Graf
2009-02-05 15:44 ` Avi Kivity
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2009-01-23 16:08 UTC (permalink / raw)
To: kvm; +Cc: avi, anthony
Most distributions use an executable name of qemu-kvm for kvm's
qemu version.
This is mostly because Qemu was there before and there usually is
a package with a binary called qemu-system-x86_64 already.
In order to not confuse people why distributions do things so
differently from upstream, let's call the binary qemu-kvm in make
install, so it's always qemu-kvm.
Inspired by Anthony.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
qemu/Makefile.target | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/qemu/Makefile.target b/qemu/Makefile.target
index 8f69af7..def3e2b 100644
--- a/qemu/Makefile.target
+++ b/qemu/Makefile.target
@@ -824,9 +824,13 @@ clean:
rm -f *.d */*.d tcg/*.o
install: all
+ifeq ($(PROGS),qemu-system-x86_64)
+ $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)/qemu-kvm"
+else
ifneq ($(PROGS),)
$(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)"
endif
+endif
# Include automatically generated dependency files
-include $(wildcard *.d */*.d)
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Use qemu-kvm as installation name
2009-01-23 16:08 [PATCH] Use qemu-kvm as installation name Alexander Graf
@ 2009-02-05 15:44 ` Avi Kivity
2009-02-05 16:05 ` Alexander Graf
0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2009-02-05 15:44 UTC (permalink / raw)
To: Alexander Graf; +Cc: kvm, anthony
Alexander Graf wrote:
> Most distributions use an executable name of qemu-kvm for kvm's
> qemu version.
> This is mostly because Qemu was there before and there usually is
> a package with a binary called qemu-system-x86_64 already.
>
> In order to not confuse people why distributions do things so
> differently from upstream, let's call the binary qemu-kvm in make
> install, so it's always qemu-kvm.
>
> Inspired by Anthony.
>
While it does make sense, this will break a ton of existing scripts (and
my testsuite...). Also, upsteam qemu also does not rename qemu even
when kvm support is enabled.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Use qemu-kvm as installation name
2009-02-05 15:44 ` Avi Kivity
@ 2009-02-05 16:05 ` Alexander Graf
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2009-02-05 16:05 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm, anthony
Avi Kivity wrote:
> Alexander Graf wrote:
>> Most distributions use an executable name of qemu-kvm for kvm's
>> qemu version.
>> This is mostly because Qemu was there before and there usually is
>> a package with a binary called qemu-system-x86_64 already.
>>
>> In order to not confuse people why distributions do things so
>> differently from upstream, let's call the binary qemu-kvm in make
>> install, so it's always qemu-kvm.
>>
>> Inspired by Anthony.
>>
>
> While it does make sense, this will break a ton of existing scripts
> (and my testsuite...). Also, upsteam qemu also does not rename qemu
> even when kvm support is enabled.
Wouldn't your scripts simply run qemu-system-x86_64 from the build
directory? The patch only affects make install for exactly that reason.
And at least from a distro perspective, symlinking qemu-kvm to
qemu-system-x86_64 when things get stable in upstream qemu sounds fairly
easy :-).
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-05 16:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 16:08 [PATCH] Use qemu-kvm as installation name Alexander Graf
2009-02-05 15:44 ` Avi Kivity
2009-02-05 16:05 ` Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox