Re: [Qemu-devel] [PATCH 0/2] pci: exit path cleanup and fix

2012-07-04 Thread Michael S. Tsirkin
On Tue, Jul 03, 2012 at 10:39:20PM -0600, Alex Williamson wrote: > We've currently got a bug in pci_unregister_device in the ordering of > calling the driver exit function and unregistering io regions. In > every driver memory regions are created in the init function and > destroyed in the exit fu

Re: [Qemu-devel] [PATCH 0/2] pci: exit path cleanup and fix

2012-07-04 Thread Paolo Bonzini
Il 04/07/2012 06:39, Alex Williamson ha scritto: > We've currently got a bug in pci_unregister_device in the ordering of > calling the driver exit function and unregistering io regions. In > every driver memory regions are created in the init function and > destroyed in the exit function. By call

[Qemu-devel] [PATCH 0/2] pci: exit path cleanup and fix

2012-07-03 Thread Alex Williamson
We've currently got a bug in pci_unregister_device in the ordering of calling the driver exit function and unregistering io regions. In every driver memory regions are created in the init function and destroyed in the exit function. By calling pci_unregister_io_regions after the exit function, we