From: Cornelia Huck <cohuck@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Thomas Huth" <thuth@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Cédric Le Goater" <clg@kaod.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Greg Kurz" <groug@kaod.org>,
"Markus Armbruster" <armbru@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
sergio.g.delreal@gmail.com, alex@alex.org.uk
Subject: Re: [Qemu-devel] QEMU 3.0 ?
Date: Thu, 23 Nov 2017 14:13:33 +0100 [thread overview]
Message-ID: <20171123141333.1db4e94b.cohuck@redhat.com> (raw)
In-Reply-To: <1519a9dc-5f0b-7ddd-18ac-d1f33782656d@redhat.com>
On Thu, 23 Nov 2017 14:02:12 +0100
Paolo Bonzini <pbonzini@redhat.com> wrote:
> On 23/11/2017 13:39, Cornelia Huck wrote:
> > I'm wondering how many people want to run e.g. x86_64-on-x86_64
> > _without_ using an available kvm (and I expect those people to
> > explicitly specify tcg).
>
> I disagree. I expect them to be "power users" enough to know that
> qemu-system-x86_64 defaults to TCG.
Do we have any idea (from questions, bugzillas, ...) about which kind
of people actually do that?
[Coming from s390x, where tcg cannot run most current distros, I'm
lacking data.]
>
> Another possibility is that users come here asking for help, we tell
> them to test qemu.git, and they are confused by the lack of a qemu-kvm
> binary. Ok, maybe not that likely, but it's a category which we want to
> have a smooth experience.
>
> >> And in fact that is the main reason why have never bothered switching
> >> the default... only RHEL does it, because it ships the QEMU binary as
> >> qemu-kvm rather than qemu-system-xxx plus a wrapper script.
> >>
> >> Perhaps we could:
> >>
> >> 1) look for "qemu-{kvm,hvf,hax}" in argv[0] and change the "-accel" default?
> >>
> >> 2) change "make install" to install one or more of qemu-kvm/hvf/hax
> >> based on target architecture and OS.
> >>
> >> Then distros can do away with the script and Windows/Mac users can learn
> >> to use qemu-hvf and qemu-hax.
> >
> > I'm not sure I like that. For me, qemu-kvm comes with the connotation
> > of "there used to be a fork of qemu for kvm usage, and we stuck with
> > the name because it is likely scattered through scripts".
>
> In theory I don't like it either (and I hadn't thought about it until
> today). In practice, qemu-kvm is not going away from
> blogs/scripts/tutorials in a decade, so we might as well embrace it...
> especially since it has fewer issues than the alternative and even some
> advantages:
>
> 1) scripts that hardcode qemu-system-x86_64 expecting to use TCG keep to
> work
>
> 2) it ensures that qemu-kvm works even for those who compile their own QEMU
>
> 3) it keeps behavior consistent across all qemu-system-* binaries
>
> 4) it reserves the unwieldy name for the thing that you don't want
> (think of "exit" vs "_exit" in the C library)
>
> 5) we don't have to think about including hax or hvf in the -accel default
One issue I see is that this naming convention only works with
same-architecture accelerators. You can't have a qemu-tcg as you don't
know which architecture is supposed to be emulated. (Or if you use
qemu-tcg as a shorthand for same-architecture emulation, you still have
the long names for anything else, which is even more confusing.)
next prev parent reply other threads:[~2017-11-23 13:13 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 15:20 [Qemu-devel] [PATCH for-2.12 v3 00/11] spapr: introduce an IRQ allocator at the machine level Cédric Le Goater
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 01/11] spapr: add pseries 2.12 machine type Cédric Le Goater
2017-11-11 15:15 ` Greg Kurz
2017-11-13 5:51 ` David Gibson
2017-11-13 9:50 ` Greg Kurz
2017-11-14 9:08 ` David Gibson
2017-11-13 7:14 ` [Qemu-devel] QEMU 3.0 ? (was: [PATCH for-2.12 v3 01/11] spapr: add pseries 2.12 machine type) Thomas Huth
2017-11-13 9:53 ` Peter Maydell
2017-11-13 10:03 ` [Qemu-devel] QEMU 3.0 ? Cédric Le Goater
2017-11-13 10:21 ` Peter Maydell
2017-11-13 10:25 ` Thomas Huth
2017-11-23 10:03 ` [Qemu-devel] QEMU 3.0 ? (was: [PATCH for-2.12 v3 01/11] spapr: add pseries 2.12 machine type) Cornelia Huck
2017-11-23 10:17 ` Peter Maydell
2017-11-23 10:57 ` [Qemu-devel] QEMU 3.0 ? Thomas Huth
2017-11-23 11:11 ` Daniel P. Berrange
2017-11-23 11:24 ` Thomas Huth
2017-11-23 11:33 ` Daniel P. Berrange
2017-11-23 11:40 ` Thomas Huth
2017-11-23 11:17 ` Paolo Bonzini
2017-11-23 11:57 ` Thomas Huth
2017-11-23 12:05 ` Paolo Bonzini
2017-11-23 12:09 ` Cornelia Huck
2017-11-23 12:26 ` Paolo Bonzini
2017-11-23 12:39 ` Cornelia Huck
2017-11-23 12:59 ` Daniel P. Berrange
2017-11-23 13:08 ` Paolo Bonzini
2017-11-23 13:23 ` Daniel P. Berrange
2017-11-23 13:25 ` Paolo Bonzini
2017-11-23 13:02 ` Paolo Bonzini
2017-11-23 13:13 ` Cornelia Huck [this message]
2017-11-23 13:27 ` Paolo Bonzini
2017-11-23 13:13 ` Peter Maydell
2017-11-23 13:51 ` Paolo Bonzini
2017-11-23 13:57 ` Peter Maydell
2017-11-23 14:01 ` Thomas Huth
2017-11-23 14:13 ` Paolo Bonzini
2017-11-23 13:57 ` Daniel P. Berrange
2017-11-23 14:57 ` Igor Mammedov
2017-11-23 11:14 ` [Qemu-devel] QEMU 3.0 ? (was: [PATCH for-2.12 v3 01/11] spapr: add pseries 2.12 machine type) Daniel P. Berrange
2017-11-23 11:26 ` [Qemu-devel] QEMU 3.0 ? Thomas Huth
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 02/11] ppc/xics: remove useless if condition Cédric Le Goater
2017-11-11 14:50 ` Greg Kurz
2017-11-13 5:28 ` David Gibson
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 03/11] spapr: introduce new XICSFabric operations for an IRQ allocator Cédric Le Goater
2017-11-14 8:52 ` Greg Kurz
2017-11-17 4:48 ` David Gibson
2017-11-17 7:16 ` Cédric Le Goater
2017-11-23 11:07 ` David Gibson
2017-11-23 13:22 ` Cédric Le Goater
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 04/11] spapr: move current IRQ allocation under the machine Cédric Le Goater
2017-11-14 8:56 ` Greg Kurz
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 05/11] spapr: introduce an IRQ allocator using a bitmap Cédric Le Goater
2017-11-14 9:42 ` Greg Kurz
2017-11-14 11:54 ` Cédric Le Goater
2017-11-14 15:28 ` Greg Kurz
2017-11-15 8:47 ` Cédric Le Goater
2017-11-17 4:50 ` David Gibson
2017-11-17 7:19 ` Cédric Le Goater
2017-11-23 11:08 ` David Gibson
2017-11-20 12:07 ` Greg Kurz
2017-11-23 11:13 ` David Gibson
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 06/11] spapr: store a reference IRQ bitmap Cédric Le Goater
2017-11-14 15:12 ` Greg Kurz
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 07/11] spapr: introduce an 'irq_base' number Cédric Le Goater
2017-11-14 15:45 ` Greg Kurz
2017-11-15 15:24 ` Cédric Le Goater
2017-11-15 16:43 ` Greg Kurz
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 08/11] spapr: introduce a XICSFabric irq_is_lsi() operation Cédric Le Goater
2017-11-14 16:21 ` Greg Kurz
2017-11-17 4:54 ` David Gibson
2017-11-17 7:23 ` Cédric Le Goater
2017-11-23 11:12 ` David Gibson
2017-11-23 13:26 ` Cédric Le Goater
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 09/11] spapr: split the IRQ number space for LSI interrupts Cédric Le Goater
2017-11-15 15:52 ` Greg Kurz
2017-11-15 16:08 ` Cédric Le Goater
2017-11-15 20:27 ` Greg Kurz
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 10/11] sparp: merge ics_set_irq_type() in irq_alloc_block() operation Cédric Le Goater
2017-11-10 15:20 ` [Qemu-devel] [PATCH for-2.12 v3 11/11] spapr: use sPAPRMachineState in spapr_ics_ prototypes Cédric Le Goater
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=20171123141333.1db4e94b.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=alex@alex.org.uk \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=eblake@redhat.com \
--cc=f4bug@amsat.org \
--cc=groug@kaod.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sergio.g.delreal@gmail.com \
--cc=thuth@redhat.com \
/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.