Re: [Qemu-devel] [RFC 0/8] include qdev core in *-user, make CPU child of DeviceState

2012-08-22 Thread Avi Kivity
On 08/21/2012 06:42 PM, Eduardo Habkost wrote: So, here's a third suggestion to the CPU/DeviceState problem. Basically I split the qdev code into a core (that can be easily compiled into *-user), and a part specific to qemu-system-*. I'm barging in late here, so sorry if this has been

Re: [Qemu-devel] [RFC 0/8] include qdev core in *-user, make CPU child of DeviceState

2012-08-22 Thread Eduardo Habkost
On Wed, Aug 22, 2012 at 12:05:44PM +0300, Avi Kivity wrote: On 08/21/2012 06:42 PM, Eduardo Habkost wrote: So, here's a third suggestion to the CPU/DeviceState problem. Basically I split the qdev code into a core (that can be easily compiled into *-user), and a part specific to

[Qemu-devel] [RFC 0/8] include qdev core in *-user, make CPU child of DeviceState

2012-08-21 Thread Eduardo Habkost
So, here's a third suggestion to the CPU/DeviceState problem. Basically I split the qdev code into a core (that can be easily compiled into *-user), and a part specific to qemu-system-*. There are two remaining parts that forced me to use #ifdefs in the core .c files: - vmstate handling on