]> git.proxmox.com Git - mirror_qemu.git/commit
xen: move xen_sysdev to xen_backend.c
authorJuergen Gross <jgross@suse.com>
Mon, 13 Jun 2016 09:12:21 +0000 (11:12 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 22 Jun 2016 10:28:42 +0000 (11:28 +0100)
commit25f8f6b4c295940ae5d83c19509353afc1dbc9a4
tree4f402abf0b86f918a70e997b69b1cd6fadbb0361
parent16246018d3097dc9ce15d07a54360dad03e9a7a6
xen: move xen_sysdev to xen_backend.c

Commit 9432e53a5bc88681b2d3aec4dac9db07c5476d1b added xen_sysdev as a
system device to serve as an anchor for removable virtual buses. This
introduced a build failure for non-x86 builds with CONFIG_XEN_BACKEND
set, as xen_sysdev was defined in a x86 specific file while being
consumed in an architecture independent source.

Move the xen_sysdev definition and initialization to xen_backend.c to
avoid the build failure.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/xen/xen_backend.c
hw/xenpv/xen_machine_pv.c