Re: [Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-19 Thread Anthony PERARD
On 19/03/12 13:15, Michael S. Tsirkin wrote: On Fri, Mar 16, 2012 at 04:54:18PM +, Anthony PERARD wrote: From: Yuji Shimada This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada Signed-off-by: Anthony PERARD It seems that what's called for here

Re: [Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-19 Thread Michael S. Tsirkin
On Fri, Mar 16, 2012 at 04:54:18PM +, Anthony PERARD wrote: > From: Yuji Shimada > > This function helps Xen PCI Passthrough device to check for overlap. > > Signed-off-by: Yuji Shimada > Signed-off-by: Anthony PERARD It seems that what's called for here really is using the new memory reg

Re: [Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-19 Thread Stefano Stabellini
On Fri, 16 Mar 2012, Anthony PERARD wrote: > From: Yuji Shimada > > This function helps Xen PCI Passthrough device to check for overlap. > > Signed-off-by: Yuji Shimada > Signed-off-by: Anthony PERARD It is probably worth mentioning that the function as it is cannot handle bridges in the comm

[Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-16 Thread Anthony PERARD
From: Yuji Shimada This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada Signed-off-by: Anthony PERARD --- hw/pci.c | 50 ++ hw/pci.h |5 + 2 files changed, 55 insertions(+), 0 deletions(-) d