|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 4/7] scripts/device-crash-test: Remove legacy '-machine foo,accel=bar'
Since commit 6f6e1698a68 ("vl: configure accelerators from -accel
options") we prefer the '-accel bar' command line option.
Replace '-machine foo,accel=bar' -> '-machine foo -accel bar' in
the device-crash-test script.
Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
scripts/device-crash-test | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index da8b56edd99..2b139e29ba0 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -295,7 +295,10 @@ class QemuBinaryInfo(object):
self._machine_info = {}
dbg("devtype: %r", devtype)
- args = ['-S', '-machine', 'none,accel=kvm:tcg']
+ args = ['-S',
+ '-machine', 'none',
+ '-accel', 'kvm:tcg',
+ ]
dbg("querying info for QEMU binary: %s", binary)
vm = QEMUMachine(binary=binary, args=args)
vm.launch()
@@ -358,7 +361,9 @@ def checkOneCase(args, testcase):
dbg("will test: %r", testcase)
- args = ['-S', '-machine', '%s,accel=%s' % (machine, accel),
+ args = ['-S',
+ '-machine', machine,
+ '-accel', accel,
'-device', qemuOptsEscape(device)]
cmdline = ' '.join([binary] + args)
dbg("will launch QEMU: %s", cmdline)
--
2.45.2
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |