Re: [Qemu-devel] [PATCH] pci: simplify memory region registration

2011-09-25 Thread Michael S. Tsirkin
On Sun, Sep 25, 2011 at 04:22:57PM +0300, Avi Kivity wrote: > The two code paths (for ADDRESS_SPACE_IO and ADDRESS_SPACE_MEM) are > identical. Unify them. > > Signed-off-by: Avi Kivity Applied, thanks > --- > hw/pci.c | 13 ++--- > 1 files changed, 2 insertions(+), 11 deletions(-) >

[Qemu-devel] [PATCH] pci: simplify memory region registration

2011-09-25 Thread Avi Kivity
The two code paths (for ADDRESS_SPACE_IO and ADDRESS_SPACE_MEM) are identical. Unify them. Signed-off-by: Avi Kivity --- hw/pci.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 749e8d8..e8cc1b0 100644 --- a/hw/pci.c +++ b/hw/pci.c