diff options
author | Long Li <longli@microsoft.com> | 2017-04-30 16:21:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:55:28 +0200 |
commit | a3ade8cc474d848676278660e65f5af1e9e094d9 (patch) | |
tree | 6a0c3a67af53338000238ca8048dec9c8c91a131 /drivers/ipack | |
parent | 54a66265d6754b37fb4baf1d970ec88a6225a988 (diff) | |
download | lwn-a3ade8cc474d848676278660e65f5af1e9e094d9.tar.gz lwn-a3ade8cc474d848676278660e65f5af1e9e094d9.zip |
HV: properly delay KVP packets when negotiation is in progress
The host may send multiple negotiation packets
(due to timeout) before the KVP user-mode daemon
is connected. KVP user-mode daemon is connected.
We need to defer processing those packets
until the daemon is negotiated and connected.
It's okay for guest to respond
to all negotiation packets.
In addition, the host may send multiple staged
KVP requests as soon as negotiation is done.
We need to properly process those packets using one
tasklet for exclusive access to ring buffer.
This patch is based on the work of
Nick Meier <Nick.Meier@microsoft.com>.
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions