summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2016-02-24 11:30:41 +0100
committerJason Wang <jasowang@redhat.com>2016-03-08 15:34:18 +0800
commit9fbad2ca36f099699ebdf91c523a9ddc34d6b1c4 (patch)
treea649a421690ebcc1de0055ce27de976c24bdc2c5 /block.c
parent3a2d44f6dd1d6cc1e5a5ebfa736a72e035c41d1b (diff)
downloadqemu-9fbad2ca36f099699ebdf91c523a9ddc34d6b1c4.zip
net: netmap: probe netmap interface for virtio-net header
Previous implementation of has_ufo, has_vnet_hdr, has_vnet_hdr_len, etc. did not really probe for virtio-net header support for the netmap interface attached to the backend. These callbacks were correct for VALE ports, but incorrect for hardware NICs, pipes, monitors, etc. This patch fixes the implementation to work properly with all kinds of netmap ports. Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions