Re: [PATCH] Don't unregister unassigned PCI BAR

2009-02-11 Thread Chris Wright
* Gleb Natapov (g...@redhat.com) wrote: > --- a/qemu/hw/pci.c > +++ b/qemu/hw/pci.c > @@ -213,7 +213,7 @@ static void pci_unregister_io_regions(PCIDevice *pci_dev) > > for(i = 0; i < PCI_NUM_REGIONS; i++) { > r = &pci_dev->io_regions[i]; > -if (!r->size) > +if (!r->s

Re: [PATCH] Don't unregister unassigned PCI BAR

2009-02-03 Thread Marcelo Tosatti
On Tue, Feb 03, 2009 at 01:58:19PM +0200, Gleb Natapov wrote: > Signed-off-by: Gleb Natapov > diff --git a/qemu/hw/pci.c b/qemu/hw/pci.c > index 04aecc2..a6d57e5 100644 > --- a/qemu/hw/pci.c > +++ b/qemu/hw/pci.c > @@ -213,7 +213,7 @@ static void pci_unregister_io_regions(PCIDevice *pci_dev) > >

Re: [PATCH] Don't unregister unassigned PCI BAR

2009-02-03 Thread Avi Kivity
Gleb Natapov wrote: Signed-off-by: Gleb Natapov diff --git a/qemu/hw/pci.c b/qemu/hw/pci.c index 04aecc2..a6d57e5 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -213,7 +213,7 @@ static void pci_unregister_io_regions(PCIDevice *pci_dev) for(i = 0; i < PCI_NUM_REGIONS; i++) { r

[PATCH] Don't unregister unassigned PCI BAR

2009-02-03 Thread Gleb Natapov
Signed-off-by: Gleb Natapov diff --git a/qemu/hw/pci.c b/qemu/hw/pci.c index 04aecc2..a6d57e5 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -213,7 +213,7 @@ static void pci_unregister_io_regions(PCIDevice *pci_dev) for(i = 0; i < PCI_NUM_REGIONS; i++) { r = &pci_dev->io_regions