]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Don't allow a frontend to go from Closed to Initialising...
authorPaul Durrant <pdurrant@amazon.com>
Mon, 22 May 2023 13:32:26 +0000 (14:32 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 22 May 2023 13:33:30 +0000 (14:33 +0100)
commit1c3bc5f02e700e6e41a40fe7bbadc40ba08a150a
tree77433c05bdade8267c9dfaba415955ceb5e6ce82
parent255aadad1f8ed1d7282bf0c0c0ff13c857ac556f
Don't allow a frontend to go from Closed to Initialising...

... if the backend is offline.

It's possible for the enumeration thread to spot a device that is in the
process of being removed. In this case the 'online' node in the backend
XenStore area will be 0 and devices in this state should remain Closed.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xenvif/frontend.c