diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-09-26 17:45:26 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-04 08:59:15 +0200 |
commit | 3a6ce5147f1273a5eec6a82fac9c8e6d085c1247 (patch) | |
tree | be5a9d8738417b981649a1aa6b8b303fa79d573b /include | |
parent | b152b05a35acc0ff3da5648fd5cb97136853838c (diff) | |
download | qemu-3a6ce5147f1273a5eec6a82fac9c8e6d085c1247.zip qemu-3a6ce5147f1273a5eec6a82fac9c8e6d085c1247.tar.gz qemu-3a6ce5147f1273a5eec6a82fac9c8e6d085c1247.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/qtest.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/qtest.h b/include/sysemu/qtest.h index 95c9ade..05473b7 100644 --- a/include/sysemu/qtest.h +++ b/include/sysemu/qtest.h @@ -26,7 +26,6 @@ static inline bool qtest_enabled(void) bool qtest_driver(void); -int qtest_init_accel(MachineClass *mc); void qtest_init(const char *qtest_chrdev, const char *qtest_log, Error **errp); static inline int qtest_available(void) |