qemu-patch-raspberry4/hw/i386/xen
Eduardo Habkost dbb7405d8c xen-platform: Ensure xen is enabled when initializing
The xen-platform code crashes on reset if the xen backend is not
initialized, because it calls xc_hvm_set_mem_type(). Ensure xen-platform
won't be created without initializing the xen backend.

The assert can't be triggered by the user because the device is not
hotpluggable, and the only code creating it (at pc_xen_hvm_init())
already checks xen_enabled().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2015-10-19 10:16:01 +00:00
..
Makefile.objs xen: move Xen HVM files under hw/i386/xen 2014-05-07 16:14:56 +00:00
xen_apic.c qemu: support xen hvm direct kernel boot 2014-08-01 15:58:12 +00:00
xen_platform.c xen-platform: Ensure xen is enabled when initializing 2015-10-19 10:16:01 +00:00
xen_pvdevice.c xen: move Xen HVM files under hw/i386/xen 2014-05-07 16:14:56 +00:00