Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-08 Thread Gleb Natapov
On Wed, Mar 07, 2012 at 03:46:40PM -0700, Alex Williamson wrote: > On Thu, 2012-03-08 at 00:17 +0200, Gleb Natapov wrote: > > On Wed, Mar 07, 2012 at 02:44:13PM -0700, Alex Williamson wrote: > > > On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote: > > > > On Wed, Mar 07, 2012 at 12:51:48PM -070

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Alex Williamson
On Thu, 2012-03-08 at 00:17 +0200, Gleb Natapov wrote: > On Wed, Mar 07, 2012 at 02:44:13PM -0700, Alex Williamson wrote: > > On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote: > > > On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote: > > > > On Wed, 2012-03-07 at 20:59 +0200, Gleb

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Gleb Natapov
On Wed, Mar 07, 2012 at 02:44:13PM -0700, Alex Williamson wrote: > On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote: > > On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote: > > > On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote: > > > > On Wed, Mar 07, 2012 at 10:20:49AM -070

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Alex Williamson
On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote: > On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote: > > On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote: > > > On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote: > > > > On Wed, 2012-03-07 at 14:43 +0200, Gleb

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Gleb Natapov
On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote: > On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote: > > On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote: > > > On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote: > > > > On Tue, Mar 06, 2012 at 05:13:36PM -070

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Alex Williamson
On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote: > On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote: > > On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote: > > > On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote: > > > > Here's a re-work of the patch that adde

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Gleb Natapov
On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote: > On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote: > > On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote: > > > Here's a re-work of the patch that added _STA for the purpose of > > > using it as an ack from the gue

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Alex Williamson
On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote: > On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote: > > Here's a re-work of the patch that added _STA for the purpose of > > using it as an ack from the guest. Instead of that, add a notifier > > for device access. Once the gue

Re: [Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-07 Thread Gleb Natapov
On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote: > Here's a re-work of the patch that added _STA for the purpose of > using it as an ack from the guest. Instead of that, add a notifier > for device access. Once the guest reads from device config space, > it owns it. Until that po

[Qemu-devel] [PATCH 0/6] PCI hotplug improvements

2012-03-06 Thread Alex Williamson
Here's a re-work of the patch that added _STA for the purpose of using it as an ack from the guest. Instead of that, add a notifier for device access. Once the guest reads from device config space, it owns it. Until that point, we can remove it directly. As pointed out by MST, this passes test