Re: [Qemu-devel] [PATCH 14/14] qbus: initialize in standard way

2012-05-02 Thread Paolo Bonzini
Il 01/05/2012 20:18, Anthony Liguori ha scritto: if (bus-qdev_allocated) { -g_free(bus); +object_delete(OBJECT(bus)); +} else { +object_finalize(OBJECT(bus)); } Time is ripe to add a more versatile freeing mechanism along the lines you've set in the

[Qemu-devel] [PATCH 14/14] qbus: initialize in standard way

2012-05-01 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/qdev.c | 84 + 1 files changed, 51 insertions(+), 33 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 166c599..f637351 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -434,40

[Qemu-devel] [PATCH 14/14] qbus: initialize in standard way

2012-04-18 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/qdev.c | 84 + 1 files changed, 51 insertions(+), 33 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 42476e9..c37a701 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -433,40