]> git.proxmox.com Git - mirror_qemu.git/commit
accel: Move qtest accel registration to qtest.c
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 26 Sep 2014 20:45:26 +0000 (17:45 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 4 Oct 2014 06:59:15 +0000 (08:59 +0200)
commit3a6ce5147f1273a5eec6a82fac9c8e6d085c1247
treebe5a9d8738417b981649a1aa6b8b303fa79d573b
parentb152b05a35acc0ff3da5648fd5cb97136853838c
accel: Move qtest accel registration to qtest.c

As qtest_availble() returns 1 only when CONFIG_POSIX is set, keep
setting AccelClass.available to keep current behavior (this is different
from what we did for KVM and Xen).

This also allows us to make qtest_init_accel() static.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel.c
include/sysemu/qtest.h
qtest.c