Re: [Qemu-devel] [PATCH v2] xen: Fix xenpv machine initialisation

2016-11-08 Thread Stefano Stabellini
On Tue, 8 Nov 2016, Anthony PERARD wrote: > When using QEMU for Xen PV guest, QEMU abort with: > xen-common.c:118:xen_init: Object 0x7f2b8325dcb0 is not an instance of type > generic-pc-machine > > This is because the machine 'xenpv' also use accel=xen. Moving the code > to xen_hvm_init() fix the

Re: [Qemu-devel] [PATCH v2] xen: Fix xenpv machine initialisation

2016-11-08 Thread Eduardo Habkost
On Tue, Nov 08, 2016 at 02:07:22PM +, Anthony PERARD wrote: > When using QEMU for Xen PV guest, QEMU abort with: > xen-common.c:118:xen_init: Object 0x7f2b8325dcb0 is not an instance of type > generic-pc-machine > > This is because the machine 'xenpv' also use accel=xen. Moving the code > to

[Qemu-devel] [PATCH v2] xen: Fix xenpv machine initialisation

2016-11-08 Thread Anthony PERARD
When using QEMU for Xen PV guest, QEMU abort with: xen-common.c:118:xen_init: Object 0x7f2b8325dcb0 is not an instance of type generic-pc-machine This is because the machine 'xenpv' also use accel=xen. Moving the code to xen_hvm_init() fix the issue. This fix 021746c131cdfeab9d82ff918795a9f18d20