Drivers: hv: make VMBus bus ids persistent
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 16 Sep 2016 16:01:17 +0000 (09:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:35:49 +0000 (12:35 +0200)
commitb294809dbfa7e50229d00253d43f9a56e5d6a0ba
treecee193862ae665b14ed6a31734fee61c81040e02
parent2d8784df1a1c11ace4e244780facec1e945c5b4f
Drivers: hv: make VMBus bus ids persistent

Some tools use bus ids to identify devices and they count on the fact
that these ids are persistent across reboot. This may be not true for
VMBus as we use auto incremented counter from alloc_channel() as such
id. Switch to using if_instance from channel offer, this id is supposed
to be persistent.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c