diff options
author | Steven Luong <sluong@cisco.com> | 2019-07-18 18:38:52 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-07-23 18:02:35 +0000 |
commit | 9fb50d83dbe22cab30532cec8c85e711af1f82ff (patch) | |
tree | 88d6fca7f41076f19aebfc99bb77c6eab10d2d49 /src/plugins/memif | |
parent | 996a757ff93233379bf0a464dce6d99f5d622ca4 (diff) |
devices: vhost handling VHOST_USER_SET_FEATURES
Some combinations of new qemu (2.11) and old dpdk (16.10) may
send VHOST_USER_SET_FEATURES at the end of the protocol exchange
which the vhost interface is already declared up and ready.
Unfortunately, the process of VHOST_USER_SET_FEATURES will cause
the interface to go down. Not sure if it is correct or needed.
Because there is no additional messages thereafter, the hardware
interface stays down.
The fix is to check the interface again at the end of processing
VHOST_USER_SET_FEATURES. If it is up and ready, we bring back
the hardware interface.
Type: fix
Change-Id: I490cd03820deacbd8b44d8f2cb38c26349dbe3b2
Signed-off-by: Steven Luong <sluong@cisco.com>
(cherry picked from commit 545866b5b3115b7de114bdb7883f5ece59b702d4)
Diffstat (limited to 'src/plugins/memif')
0 files changed, 0 insertions, 0 deletions