[PATCH RFC 1/2] qemu: use "-accel" option to specify accelerator instead of "-machine"
Daniel P. Berrangé
berrange at redhat.com
Mon Jan 11 09:38:35 UTC 2021
On Sun, Jan 10, 2021 at 02:58:05AM +0800, huangy81 at chinatelecom.cn wrote:
> From: Hyman <huangy81 at chinatelecom.cn>
>
> The "-machine" options for accelerators are legacy, the "-accel" options
> is a better mechanism. The following are the details:
> https://lore.kernel.org/qemu-devel/3aa73987-40e8-3619-0723-9f17f73850bd@redhat.com/
>
> 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
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list