]> xenbits.xensource.com Git - pvdrivers/win/xennet.git/commit
Don't get XENBUS_SUSPEND callback registration on AdapterCount 8.1.0-rc7
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 8 Dec 2015 15:06:51 +0000 (15:06 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 8 Dec 2015 15:12:34 +0000 (15:12 +0000)
commit7e10b0af37a44db6b9c98b0fcb97d22171579a9f
tree7196f0dd55251269898e652f8f0ce39f3b8b64be
parent0cbfe113d01dbd5fdb604fe8cf132df74fb3d3c9
Don't get XENBUS_SUSPEND callback registration on AdapterCount

Instances will not necessarily come and go in order so we can't know that
the last instance to go will be the one the registered the callback.
Instead register a callback for every instance and just use AdapterCount to
decide which instance writes distribution information to xenstore.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xennet/adapter.c