Re: [Qemu-devel] [PATCH 21/23] pci: add MemoryRegion based BAR management API

2011-07-26 Thread Avi Kivity
On 07/25/2011 11:20 PM, Anthony Liguori wrote: On 07/25/2011 09:03 AM, Avi Kivity wrote: Allow registering a BAR using a MemoryRegion. Once all users are converted, pci_register_bar() and pci_register_bar_simple() will be removed. Signed-off-by: Avi Kivitya...@redhat.com diff --git

[Qemu-devel] [PATCH 21/23] pci: add MemoryRegion based BAR management API

2011-07-25 Thread Avi Kivity
Allow registering a BAR using a MemoryRegion. Once all users are converted, pci_register_bar() and pci_register_bar_simple() will be removed. Signed-off-by: Avi Kivity a...@redhat.com --- hw/pci.c | 47 +++ hw/pci.h |3 +++ 2 files changed, 42

Re: [Qemu-devel] [PATCH 21/23] pci: add MemoryRegion based BAR management API

2011-07-25 Thread Anthony Liguori
On 07/25/2011 09:03 AM, Avi Kivity wrote: Allow registering a BAR using a MemoryRegion. Once all users are converted, pci_register_bar() and pci_register_bar_simple() will be removed. Signed-off-by: Avi Kivitya...@redhat.com diff --git a/hw/pci.h b/hw/pci.h index cfeb042..c51156d 100644 ---