Re: [PATCH RFC RESEND v2 3/6] hw/pci: Add pci_root_bus_max_bus

2021-04-13 Thread Xingang Wang
Hi Eric, On 2021/4/13 16:05, Auger Eric wrote: Hi Xingang, On 3/25/21 8:22 AM, Wang Xingang wrote: From: Xingang Wang This helps to find max bus number of a root bus. s/max bus number of a root bus/highest bus number of a bridge hierarchy? Thanks, I will change the description. Signed-

Re: [PATCH RFC RESEND v2 3/6] hw/pci: Add pci_root_bus_max_bus

2021-04-13 Thread Auger Eric
Hi Xingang, On 3/25/21 8:22 AM, Wang Xingang wrote: > From: Xingang Wang > > This helps to find max bus number of a root bus. s/max bus number of a root bus/highest bus number of a bridge hierarchy? > > Signed-off-by: Xingang Wang > Signed-off-by: Jiahui Cen > --- > hw/pci/pci.c | 34

[PATCH RFC RESEND v2 3/6] hw/pci: Add pci_root_bus_max_bus

2021-03-25 Thread Wang Xingang
From: Xingang Wang This helps to find max bus number of a root bus. Signed-off-by: Xingang Wang Signed-off-by: Jiahui Cen --- hw/pci/pci.c | 34 ++ include/hw/pci/pci.h | 1 + 2 files changed, 35 insertions(+) diff --git a/hw/pci/pci.c b/hw/pci/pci.c