summaryrefslogtreecommitdiffstats
path: root/src/vlib/mc.c
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2017-03-09 23:49:32 -0800
committerJohn Lo <loj@cisco.com>2017-03-16 14:00:12 +0000
commitf6dae05b8b5f4e17d1cf7e108bf8a6af3a2f9785 (patch)
tree97382313bdf0c6a2e33d15228d17f6dba8eadedc /src/vlib/mc.c
parente9f929b52ddb741ec1e4cb2d92c6be1e798933a0 (diff)
vhost: wrong value return for VHOST_USER_VRING_GET_BASE
When the VM is migrated, the driver sends VHOST_USER_VRING_GET_BASE message to the device to get the vring offset. The device is supposed to shut down the vring, and return the current vring offset. What the code did was to shutdown the vring, initialize the vring, and return 0 to the driver. The fix is to first store last_avail_idx in the message and then close the vring. Change-Id: I432e9f50f36d89fe53a45e050edcf5e1218caf7a Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vlib/mc.c')
0 files changed, 0 insertions, 0 deletions
='submit' value='switch'/> Integration testsGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/__init__.py
blob: 16058f39412679d2e6e716e319fd57b6fd0644c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (c) 2016 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
__init__ file for directory resources/libraries/python
"""