[Top][All Lists]

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

Re: [Qemu-devel] [for-2.12 7/7] pci: Eliminate pci_find_primary_bus()

From: Peter Xu
Subject: Re: [Qemu-devel] [for-2.12 7/7] pci: Eliminate pci_find_primary_bus()
Date: Thu, 30 Nov 2017 14:39:39 +0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Wed, Nov 29, 2017 at 07:46:28PM +1100, David Gibson wrote:
> pci_find_primary_bus() only has one user, in pc_xen_hvm_init().  That's
> inside the machine construction code, so it already has easy access to the
> machine's primary PCI bus.
> Get it directly, and thereby remove pci_find_primary_bus().  This removes
> one of only a handful of users of the ugly pci_host_bridges global.
> Signed-off-by: David Gibson <address@hidden>

Reviewed-by: Peter Xu <address@hidden>

Peter Xu

reply via email to

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