All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC][PATCH] Rename qemu into qemu-system-i386 and install a compat symlink
Date: Sat, 18 Apr 2009 11:42:50 -0500	[thread overview]
Message-ID: <49EA030A.8090104@codemonkey.ws> (raw)
In-Reply-To: <20090418160104.GA18120@volta.aurel32.net>

Aurelien Jarno wrote:
> For historical reasons, qemu system on i386 is called qemu instead of
> qemu-system-i386. This seems to confuse users.
>
> This patch installs it as qemu-system-i386, and create a compatibility
> symlink qemu -> qemu-system-i386 as some tools may call it that way.
> We can change or remove this symlink after a few releases when all the
> tools have migrated to this new name.
>   

I agree.

Regards,

Anthony Liguori

> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> ---
>  Makefile.target |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/Makefile.target b/Makefile.target
> index dae339b..88c7a32 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -63,12 +63,8 @@ ifdef CONFIG_USER_ONLY
>  QEMU_PROG=qemu-$(TARGET_ARCH2)
>  else
>  # system emulator name
> -ifeq ($(TARGET_ARCH), i386)
> -QEMU_PROG=qemu$(EXESUF)
> -else
>  QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF)
>  endif
> -endif
>  
>  PROGS=$(QEMU_PROG)
>  
> @@ -743,6 +739,9 @@ install: all
>  ifneq ($(PROGS),)
>  	$(INSTALL) -m 755 $(STRIP_OPT) $(PROGS) "$(DESTDIR)$(bindir)"
>  endif
> +ifeq ($(TARGET_ARCH), i386)
> +	ln -sf qemu-system-i386$(EXESUF) "$(DESTDIR)$(bindir)/qemu$(EXESUF)"
> +endif
>  
>  # Include automatically generated dependency files
>  -include $(wildcard *.d */*.d)
>   

  reply	other threads:[~2009-04-18 16:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-18 16:01 [Qemu-devel] [RFC][PATCH] Rename qemu into qemu-system-i386 and install a compat symlink Aurelien Jarno
2009-04-18 16:42 ` Anthony Liguori [this message]
2009-04-19 11:22   ` Stefan Weil
2009-04-19 11:32     ` andrzej zaborowski
2009-04-18 17:22 ` Andreas Färber
2009-04-18 17:45   ` Aurelien Jarno
2009-04-18 18:21     ` Stefan Weil
2009-04-18 21:12       ` Aurelien Jarno
2009-04-18 22:11         ` Anthony Liguori
2009-04-18 23:43           ` Re : " Sylvain Petreolle
2009-04-19  2:50             ` Jamie Lokier
2009-04-18 18:34 ` Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49EA030A.8090104@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.