Re: [Qemu-devel] [patch qemu] vmxnet3: fix msix vectors unuse

2014-05-20 Thread Stefan Hajnoczi
On Mon, May 19, 2014 at 03:47:16PM +0200, Jiri Pirko wrote: > In vmxnet3_cleanup_msix(), there is called msix_vector_unuse() with > VMXNET3_MAX_INTRS. That is not correct since vector of > value VMXNET3_MAX_INTRS was never used. Also all the used vectors > are not un-used. So call vmxnet3_unuse_msi

Re: [Qemu-devel] [patch qemu] vmxnet3: fix msix vectors unuse

2014-05-20 Thread Dmitry Fleytman
ACK Thanks for fixing. On May 19, 2014, at 16:47 PM, Jiri Pirko wrote: > In vmxnet3_cleanup_msix(), there is called msix_vector_unuse() with > VMXNET3_MAX_INTRS. That is not correct since vector of > value VMXNET3_MAX_INTRS was never used. Also all the used vectors > are not un-used. So call vm

[Qemu-devel] [patch qemu] vmxnet3: fix msix vectors unuse

2014-05-19 Thread Jiri Pirko
In vmxnet3_cleanup_msix(), there is called msix_vector_unuse() with VMXNET3_MAX_INTRS. That is not correct since vector of value VMXNET3_MAX_INTRS was never used. Also all the used vectors are not un-used. So call vmxnet3_unuse_msix_vectors() instead which does the correct job. Signed-off-by: Jiri