diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-13 10:10:47 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:26 +0100 |
| commit | 6f6e1698a68ceb49e57676528612f22eaf2c16c3 (patch) | |
| tree | f6d9b5d646eaec9965450b044957b02ebf827182 /tests/cdrom-test.c | |
| parent | e5db4bd863c8fdf155b003446b98a7aec65a931c (diff) | |
| download | focaccia-qemu-6f6e1698a68ceb49e57676528612f22eaf2c16c3.tar.gz focaccia-qemu-6f6e1698a68ceb49e57676528612f22eaf2c16c3.zip | |
vl: configure accelerators from -accel options
Drop the "accel" property from MachineState, and instead desugar "-machine accel=" to a list of "-accel" options. This has a semantic change due to removing merge_lists from -accel. For example: - "-accel kvm -accel tcg" all but ignored "-accel kvm". This is a bugfix. - "-accel kvm -accel thread=single" ignored "thread=single", since it applied the option to KVM. Now it fails due to not specifying the accelerator on "-accel thread=single". - "-accel tcg -accel thread=single" chose single-threaded TCG, while now it will fail due to not specifying the accelerator on "-accel thread=single". Also, "-machine accel" and "-accel" become incompatible. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/cdrom-test.c')
| -rw-r--r-- | tests/cdrom-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c index 34e9974634..67635e387a 100644 --- a/tests/cdrom-test.c +++ b/tests/cdrom-test.c @@ -120,7 +120,7 @@ static void test_cdboot(gconstpointer data) { QTestState *qts; - qts = qtest_initf("-M accel=kvm:tcg -no-shutdown %s%s", (const char *)data, + qts = qtest_initf("-accel kvm -accel tcg -no-shutdown %s%s", (const char *)data, isoimage); boot_sector_test(qts); qtest_quit(qts); |