[PATCH RFC 1/2] qemu: use "-accel" option to specify accelerator instead of "-machine"
brogers at suse.com
Tue Jan 12 17:22:35 UTC 2021
On Mon, 2021-01-11 at 10:51 +0100, Paolo Bonzini wrote:
> On 11/01/21 10:38, Daniel P. Berrangé wrote:
> > >
> > > The "-machine" options for accelerators are legacy, the "-accel"
> > > options
> > > is a better mechanism. The following are the details:
> > > https://firstname.lastname@example.org/
> > >
> > > This patch switch the option "-machine accel=xxx" to "-accel xxx"
> > > when
> > > specifying accelerator type once libvirt build QEMU command line.
> > This is going to break use of the /usr/bin/qemu-kvm wrapper on
> > Fedora because QEMU refuses to allow -accel combined with -machine
> > $ /usr/bin/qemu-kvm -accel tc
> > qemu-system-x86_64: The -accel and "-machine accel=" options are
> > incompatible
> That script is useless, a symlink will do ever since QEMU 4.0.
> can and should get rid of it, I'll take a look.
> Is there any other distro that does the same? Libvirt cannot use
> KVM features with "-machine accel".
openSUSE / SUSE does this as well in the legacy qemu-kvm package. We'll
look into doing this instead via a symlink. Thanks for the heads up on
More information about the libvir-list