commit | e969fed542cae08cb11d666efac4f7c5d624d09f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Jul 26 15:48:08 2009 +0300 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Jul 30 16:03:45 2009 +0930 |
tree | 7de7cb45ba6b3a28ef0054df71c7dc7676d4af65 | |
parent | f6c82507030d61e15928d5cad946d3eac1c4a384 [diff] |
virtio: refactor find_vqs This refactors find_vqs, making it more readable and robust, and fixing two regressions from 2.6.30: - double free_irq causing BUG_ON on device removal - probe failure when vq can't be assigned to msi-x vector (reported on old host kernels) Tested-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>