All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Proposal: option for CPU selection
Date: Sun, 29 Apr 2007 20:59:37 +0200	[thread overview]
Message-ID: <4634EB19.3090200@mail.berlios.de> (raw)
In-Reply-To: <1173074531.21159.49.camel@rapid>

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

If you ever called qemu with "-cpu ?" and wonder why you get no answer:
here is a small patch which changes this behaviour for all targets
without CPU selection.

Regards
Stefan


[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 857 bytes --]

Index: vl.c
===================================================================
--- vl.c	(Revision 629)
+++ vl.c	(Arbeitskopie)
@@ -7040,6 +7040,8 @@
                     mips_cpu_list(stdout, &fprintf);
 #elif defined(TARGET_SPARC)
                     sparc_cpu_list(stdout, &fprintf);
+#else
+                    printf("Target ignores cpu selection\n");
 #endif
                     exit(1);
                 } else {
Index: linux-user/main.c
===================================================================
--- linux-user/main.c	(Revision 616)
+++ linux-user/main.c	(Arbeitskopie)
@@ -1747,6 +1747,8 @@
                 mips_cpu_list(stdout, &fprintf);
 #elif defined(TARGET_SPARC)
                 sparc_cpu_list(stdout, &fprintf);
+#else
+                printf("Target ignores cpu selection\n");
 #endif
                 _exit(1);
             }

      reply	other threads:[~2007-04-29 19:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 10:55 [Qemu-devel] Proposal: option for CPU selection J. Mayer
2007-03-04 18:18 ` Fabrice Bellard
2007-03-05  6:02   ` J. Mayer
2007-04-29 18:59     ` Stefan Weil [this message]

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=4634EB19.3090200@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --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.