Eduardo Habkost b152b05a35 accel: Move Xen registration code to xen-common.c
Note that this has an user-visible side-effect: instead of reporting
"Xen is not supported for this target", QEMU binaries not supporting Xen
will report "xen accelerator does not exist".

As xen_available() always return 1 when CONFIG_XEN is enabled, we don't
need to set AccelClass.available anymore. xen_enabled() is not being
removed yet, but only because vl.c is still using it.

This also allows us to make xen_init() static.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-10-04 08:59:15 +02:00
..
2014-08-25 00:16:06 +02:00
2013-06-07 14:55:33 +02:00
2013-12-17 20:12:51 +00:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-02-26 17:20:00 +00:00
2014-02-14 16:22:31 +01:00
2013-04-08 18:13:10 +02:00
2013-07-29 21:06:27 +02:00
2013-04-08 18:13:10 +02:00
2014-06-19 18:44:22 +03:00
2014-06-27 13:48:23 +02:00
2014-02-27 10:01:40 +00:00
2014-09-08 12:02:07 +01:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2014-02-10 10:23:35 +02:00
2013-06-27 15:38:35 -05:00
2014-07-01 04:12:48 +02:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00