Re: [Qemu-devel] [PATCH 17/38] e1000: use instance_finalize instead of exit

2013-09-17 Thread Paolo Bonzini
Il 17/09/2013 11:27, Michael S. Tsirkin ha scritto: >> > static void >> > -pci_e1000_uninit(PCIDevice *dev) >> > +pci_e1000_instance_finalize(Object *obj) >> > { >> > -E1000State *d = E1000(dev); >> > +E1000State *d = E1000(obj); >> > >> > timer_del(d->autoneg_timer); >> > tim

Re: [Qemu-devel] [PATCH 17/38] e1000: use instance_finalize instead of exit

2013-09-17 Thread Michael S. Tsirkin
On Tue, Sep 03, 2013 at 02:33:08PM +0200, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > hw/net/e1000.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/hw/net/e1000.c b/hw/net/e1000.c > index f5ebed4..55fb062 100644 > --- a/hw/net/e1000.c > +++ b/hw/ne

[Qemu-devel] [PATCH 17/38] e1000: use instance_finalize instead of exit

2013-09-03 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- hw/net/e1000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/net/e1000.c b/hw/net/e1000.c index f5ebed4..55fb062 100644 --- a/hw/net/e1000.c +++ b/hw/net/e1000.c @@ -1310,9 +1310,9 @@ e1000_cleanup(NetClientState *nc) } static vo