Re: [Qemu-devel] [PATCH 2/2] xen-platform: Ensure xen is enabled when initializing

2015-09-30 Thread Stefano Stabellini
On Mon, 28 Sep 2015, Eduardo Habkost wrote: > 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

[Qemu-devel] [PATCH 2/2] xen-platform: Ensure xen is enabled when initializing

2015-09-28 Thread Eduardo Habkost
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