summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-04-11 18:07:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 12:17:41 -0700
commit636c88da6df3bb2f978b48d3a7ed55423da84d19 (patch)
treebb6abd4d764c96eb90e7ec8cfc67fa7e791abdd6 /drivers/hv/hv_kvp.c
parent1d072339fa9e32365d282d8ade32822de7d21e5f (diff)
downloadblackbird-obmc-linux-636c88da6df3bb2f978b48d3a7ed55423da84d19.tar.gz
blackbird-obmc-linux-636c88da6df3bb2f978b48d3a7ed55423da84d19.zip
Drivers: hv: util: introduce state machine for util drivers
KVP/VSS/FCOPY drivers work in fully serialized mode: we wait till userspace daemon registers, wait for a message from the host, send this message to the daemon, get the reply, send it back to host, wait for another message. Introduce enum hvutil_device_state to represend this state in all 3 drivers. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Tested-by: Alex Ng <alexng@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_kvp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud