qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Qemu config file -cpu host option


From: Dmitrii Bundin
Subject: Qemu config file -cpu host option
Date: Thu, 6 Jan 2022 03:28:12 +0300

QEMU version 6.1.0

I have a QEMU configuration file qemu.cfg containing the following section:

[accel]
accel = "kvm"

So to run qemu I use the command

qemu-system-x86_64 -readconfig qemu.cfg -cpu host ubuntu.img

Is there a way to put -cpu host into the config file as well? I tried

[accel]
accel = "kvm"
cpu = "host"

But got the following error:

qemu-system-x86_64:qemu.cfg:15: Property 'kvm-accel.cpu' not found



reply via email to

[Prev in Thread] Current Thread [Next in Thread]