diff options
author | Zhang Chen | 2017-07-04 08:53:45 +0200 |
---|---|---|
committer | Jason Wang | 2017-07-17 14:02:09 +0200 |
commit | d6b732e953673e4e1f4b36868c206a08213b6708 (patch) | |
tree | 939a4e03d76b3101514ff6ec84bc6484a68706d6 /net | |
parent | Merge remote-tracking branch 'remotes/famz/tags/block-and-testing-pull-reques... (diff) | |
download | qemu-d6b732e953673e4e1f4b36868c206a08213b6708.tar.gz qemu-d6b732e953673e4e1f4b36868c206a08213b6708.tar.xz qemu-d6b732e953673e4e1f4b36868c206a08213b6708.zip |
net: Add vnet_hdr_len arguments in NetClientState
Add vnet_hdr_len arguments in NetClientState
that make other module get real vnet_hdr_len easily.
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -492,6 +492,7 @@ void qemu_set_vnet_hdr_len(NetClientState *nc, int len) return; } + nc->vnet_hdr_len = len; nc->info->set_vnet_hdr_len(nc, len); } |