diff options
author | Michael S. Tsirkin | 2010-10-31 18:06:47 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2010-11-13 22:22:01 +0100 |
commit | a5fd2c345f7a616e48e7f2be8b3060d23252180c (patch) | |
tree | 40edab4c02a4b18c29c26b97543bb26792052573 /hw/pci.h | |
parent | tap: clear vhost_net backend on cleanup (diff) | |
download | qemu-a5fd2c345f7a616e48e7f2be8b3060d23252180c.tar.gz qemu-a5fd2c345f7a616e48e7f2be8b3060d23252180c.tar.xz qemu-a5fd2c345f7a616e48e7f2be8b3060d23252180c.zip |
tap: make set_offload a nop after netdev cleanup
virtio-net expects set_offload to succeed after
peer cleanup.
Since we don't have an open fd anymore, make it so.
Fixes warning about the failure of offload setting.
Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
0 files changed, 0 insertions, 0 deletions