commit | 893fab0c338b16724fc67bcbd3b95f5bc97108f6 | [log] [tgz] |
---|---|---|
author | weiping zhang <zwp10758@gmail.com> | Wed Nov 29 09:23:01 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Dec 14 09:28:10 2017 +0100 |
tree | 370eb01edef3e2286f213b9196f3636c1b7d64d4 | |
parent | 4b4e6f675846c0700fae441f30bcb18dca074af7 [diff] |
virtio: release virtio index when fail to device_register commit e60ea67bb60459b95a50a156296041a13e0e380e upstream. index can be reused by other virtio device. Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>