summary refs log tree commit diff
path: root/devices/src/virtio/gpu/mod.rs
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.corp-partner.google.com>2020-01-13 10:23:52 +0800
committerCommit Bot <commit-bot@chromium.org>2020-02-03 09:47:41 +0000
commitbc499ec2780510083f001bef569449808ad55850 (patch)
tree3754d9915bc43a38fe2451ec5a4fe46bed272c9b /devices/src/virtio/gpu/mod.rs
parent282115bcdb3842e507357ec131d1c3685551fb1b (diff)
downloadcrosvm-bc499ec2780510083f001bef569449808ad55850.tar
crosvm-bc499ec2780510083f001bef569449808ad55850.tar.gz
crosvm-bc499ec2780510083f001bef569449808ad55850.tar.bz2
crosvm-bc499ec2780510083f001bef569449808ad55850.tar.lz
crosvm-bc499ec2780510083f001bef569449808ad55850.tar.xz
crosvm-bc499ec2780510083f001bef569449808ad55850.tar.zst
crosvm-bc499ec2780510083f001bef569449808ad55850.zip
vhost-net: set backend to null when activate fn quit
Set the backend with null fd can reset the vq in vhost, which
can allow the activate fn to run again.

BUG=None
TEST=launch Crosvm guest with vhost-net. It works fine with iperf test.
TEST=cargo test -p devices

Change-Id: Ida952409147fd6fbd1d8f69b3a88a7ef03051d65
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2009523
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'devices/src/virtio/gpu/mod.rs')
0 files changed, 0 insertions, 0 deletions