]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docs/config: Set the "kvm" accelerator via "[accel]" section
authorThomas Huth <thuth@redhat.com>
Tue, 28 Feb 2023 21:15:30 +0000 (22:15 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 8 Mar 2023 07:57:42 +0000 (08:57 +0100)
Configuring the accelerator should nowadays be done via the "-accel"
command line parameter, and thus via the "[accel]" section in config
files. We also need this change for the upcoming qtests that will
use these config files, since the qtests are already using "-accel"
for setting the "qtest" accelerator and QEMU does not like mixing
"-accel ..." and "-machine accel=...".

Message-Id: <20230228211533.201837-4-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
docs/config/mach-virt-graphical.cfg
docs/config/mach-virt-serial.cfg
docs/config/q35-emulated.cfg
docs/config/q35-virtio-graphical.cfg
docs/config/q35-virtio-serial.cfg

index d6d31b17f5943b9dfff6fb9ee085ae0b13273865..eba76eb198831652f07d2d30970509a9e83db44a 100644 (file)
 
 [machine]
   type = "virt"
-  accel = "kvm"
   gic-version = "host"
 
+[accel]
+  accel = "kvm"
+
 [memory]
   size = "1024"
 
index 18a7c837319fb92dd4a33545a116094550ccfaf4..324b0542ffa1e1b37d6aa30acb73907e8d8e0c6d 100644 (file)
 
 [machine]
   type = "virt"
-  accel = "kvm"
   gic-version = "host"
 
+[accel]
+  accel = "kvm"
+
 [memory]
   size = "1024"
 
index 99ac918e78a2553c0214dacf23d5de8668e869a0..c8806e6d362b85b456e9716f798a7bca934012ef 100644 (file)
@@ -61,6 +61,8 @@
 
 [machine]
   type = "q35"
+
+[accel]
   accel = "kvm"
 
 [memory]
index 4207f11e4f178bfb0d4cacdadbfe6fd997ad8e1d..148b5d2c5e4ea90ef04908b992b20a0ab2a83215 100644 (file)
@@ -55,6 +55,8 @@
 
 [machine]
   type = "q35"
+
+[accel]
   accel = "kvm"
 
 [memory]
index d2830aec5e647c8f2bbf8379729403ecdf6febd6..023291390efdca71e962365b8f293d1dedbc2dd8 100644 (file)
@@ -60,6 +60,8 @@
 
 [machine]
   type = "q35"
+
+[accel]
   accel = "kvm"
 
 [memory]