Re: [PATCH] qemu-kvm: fix error handling in msix vector add

2009-09-09 Thread Avi Kivity
On 09/07/2009 10:05 AM, Mark McLoughlin wrote: On Sat, 2009-07-25 at 12:30 -0300, Marcelo Tosatti wrote: On Thu, Jul 23, 2009 at 04:34:13PM +0300, Michael S. Tsirkin wrote: When adding a vector fails, the used counter should not be incremented, otherwise on vector change we will try t

Re: [PATCH] qemu-kvm: fix error handling in msix vector add

2009-09-07 Thread Mark McLoughlin
On Sat, 2009-07-25 at 12:30 -0300, Marcelo Tosatti wrote: > On Thu, Jul 23, 2009 at 04:34:13PM +0300, Michael S. Tsirkin wrote: > > When adding a vector fails, the used counter should > > not be incremented, otherwise on vector change we will > > try to update the routing entry. > > > > Signed-off

Re: [PATCH] qemu-kvm: fix error handling in msix vector add

2009-07-28 Thread Marcelo Tosatti
On Tue, Jul 28, 2009 at 04:22:36PM +0300, Michael S. Tsirkin wrote: > On Sat, Jul 25, 2009 at 12:30:52PM -0300, Marcelo Tosatti wrote: > > On Thu, Jul 23, 2009 at 04:34:13PM +0300, Michael S. Tsirkin wrote: > > > When adding a vector fails, the used counter should > > > not be incremented, otherwis

Re: [PATCH] qemu-kvm: fix error handling in msix vector add

2009-07-28 Thread Michael S. Tsirkin
On Sat, Jul 25, 2009 at 12:30:52PM -0300, Marcelo Tosatti wrote: > On Thu, Jul 23, 2009 at 04:34:13PM +0300, Michael S. Tsirkin wrote: > > When adding a vector fails, the used counter should > > not be incremented, otherwise on vector change we will > > try to update the routing entry. > > > > Sig

Re: [PATCH] qemu-kvm: fix error handling in msix vector add

2009-07-25 Thread Marcelo Tosatti
On Thu, Jul 23, 2009 at 04:34:13PM +0300, Michael S. Tsirkin wrote: > When adding a vector fails, the used counter should > not be incremented, otherwise on vector change we will > try to update the routing entry. > > Signed-off-by: Michael S. Tsirkin Applied, thanks. > --- > hw/msix.c | 10

[PATCH] qemu-kvm: fix error handling in msix vector add

2009-07-23 Thread Michael S. Tsirkin
When adding a vector fails, the used counter should not be incremented, otherwise on vector change we will try to update the routing entry. Signed-off-by: Michael S. Tsirkin --- hw/msix.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/msix.c b/hw/msix.c inde