Re: [Qemu-devel] [PATCH important] spice: fix broken initialization

2012-03-19 Thread Gerd Hoffmann
On 03/14/12 19:33, Alon Levy wrote: > Commit 1b71f7c14fab6f00c2680d4489fbee7baf796e4f moved MODULE_INIT_QOM to > way before MODULE_INIT_MACHINE, thereby breaking assumptions made in > spice-core.c which registered both a type initializer and a machine > intializer. > > This fix removes the type re

[Qemu-devel] [PATCH important] spice: fix broken initialization

2012-03-14 Thread Alon Levy
Commit 1b71f7c14fab6f00c2680d4489fbee7baf796e4f moved MODULE_INIT_QOM to way before MODULE_INIT_MACHINE, thereby breaking assumptions made in spice-core.c which registered both a type initializer and a machine intializer. This fix removes the type registration, and replaces it with calling qemu_sp