diff options
author | Dexuan Cui <[email protected]> | 2019-09-05 23:01:18 +0000 |
---|---|---|
committer | Sasha Levin <[email protected]> | 2019-09-06 14:52:44 -0400 |
commit | e3ede02add7e6df315afc6b4120520f7d0c5a258 (patch) | |
tree | ad419a90173f22a44a040ab17452f1641723f79f /lib/test_overflow.c | |
parent | 271b2224d42f88870e6b060924ee374871c131fc (diff) |
Drivers: hv: vmbus: Ignore the offers when resuming from hibernation
When the VM resumes, the host re-sends the offers. We should not add the
offers to the global vmbus_connection.chn_list again.
This patch assumes the RELIDs of the channels don't change across
hibernation. Actually this is not always true, especially in the case of
NIC SR-IOV the VF vmbus device's RELID sometimes can change. A later patch
will address this issue by mapping the new offers to the old channels and
fixing up the old channels, if necessary.
Signed-off-by: Dexuan Cui <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions