qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 21/23] pci/brdige: qdevfy and initialize seconda


From: Michael S. Tsirkin
Subject: [Qemu-devel] Re: [PATCH 21/23] pci/brdige: qdevfy and initialize secondary bus and subordinate bus.
Date: Mon, 5 Oct 2009 16:58:09 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

On Mon, Oct 05, 2009 at 07:07:01PM +0900, Isaku Yamahata wrote:
> +    br = DO_UPCAST(PCIBridge, dev, d);

By the way, why do we use DO_UPCAST thing,
which requires that field is at the start of parent
structure, instead of container_of which does not?

-- 
MST




reply via email to

[Prev in Thread] Current Thread [Next in Thread]