Re: [Qemu-devel] [PATCH 15/21] qom: add Device class

2011-07-27 Thread Anthony Liguori
On 07/27/2011 10:10 AM, Peter Maydell wrote: On 25 July 2011 02:44, Anthony Liguori wrote: Device is meant to replace DeviceState as the root class for the device model. This is included here merely as a RFC. Device adds a couple of useful features. 1) Default hard reset. Device will literal

Re: [Qemu-devel] [PATCH 15/21] qom: add Device class

2011-07-27 Thread Peter Maydell
On 25 July 2011 02:44, Anthony Liguori wrote: > Device is meant to replace DeviceState as the root class for the device model. > This is included here merely as a RFC.  Device adds a couple of useful > features. > > 1) Default hard reset.  Device will literally call finalize on the object and >  

[Qemu-devel] [PATCH 15/21] qom: add Device class

2011-07-24 Thread Anthony Liguori
Device is meant to replace DeviceState as the root class for the device model. This is included here merely as a RFC. Device adds a couple of useful features. 1) Default hard reset. Device will literally call finalize on the object and then reinitialize it in place. This means that most devi