boot-serial-test: prefer tcg accelerator
commitb96919d765a65f5e0f140479f7da0b94521263c6
authorCornelia Huck <cohuck@redhat.com>
Wed, 16 Aug 2017 08:26:50 +0000 (16 10:26 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 22 Aug 2017 01:09:59 +0000 (22 11:09 +1000)
tree977d4309c2b62cc433986ea72b49c079160bb42f
parent1f296733876434118fd766cfef5eb6f29ecab6a8
boot-serial-test: prefer tcg accelerator

Prefer to use the tcg accelarator if it is available: This is our only
real smoke test for tcg, and fast enough to use it for that.

Fixes: 480bc11e6 ("boot-serial-test: fallback to kvm accelerator")
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/boot-serial-test.c