[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH prep for-1.4? v2 1/2] prep_pci: Creat
From: |
Andreas Färber |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH prep for-1.4? v2 1/2] prep_pci: Create PCIBus and PCIDevice in-place |
Date: |
Thu, 24 Jan 2013 09:18:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
Am 16.01.2013 16:11, schrieb Andreas Färber:
> +static void raven_pcihost_finalizefn(Object *obj)
> +{
> + PREPPCIState *s = RAVEN_PCI_HOST_BRIDGE(obj);
> +
> + object_unref(OBJECT(&s->pci_bus));
> + object_unref(OBJECT(&s->pci_dev));
> }
[snip]
For the record, Paolo suggested to drop this finalizer again since the
unref'ing will be obsoleted with his reference counting series. I'll
post and apply v3 shortly and have left the macio series mostly as-is.
Andreas