On 5 October 2018 at 15:13, Thomas Huth <th...@redhat.com> wrote: > When compiling with "--disable-tcg", we currently still use "tcg" > as default accelerator. "kvm" should be used in this case instead.
This part is non-controversial and makes good sense. > Also, some downstream distros provide QEMU binaries which have "kvm" > in their names (e.g. "qemu-kvm" on RHEL or "kvm" on Ubuntu) that use > KVM by default - and some users might want to do something similar > with upstream binaries, too. Accomodate them by using "kvm:tcg" as > default when we detect such a binary name. This part is much riskier and less clearly a good plan -- do we really want our behaviour to vary based on the name of the executable? Distros who want that sort of qemu-kvm wrapper generally are providing it already (the Ubuntu one is a 2-line shell script). thanks -- PMM