Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH v4 08/12] Drivers: hv: vmbus: Ignore the offers when resuming from hibernation | Date | Wed, 4 Sep 2019 16:43:54 +0000 |
| |
From: Dexuan Cui <decui@microsoft.com> Sent: Monday, September 2, 2019 5:23 PM > > 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 <decui@microsoft.com> > --- > drivers/hv/channel_mgmt.c | 58 > ++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 57 insertions(+), 1 deletion(-) >
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |