diff options
| author | Ani Sinha <anisinha@redhat.com> | 2023-06-19 09:45:01 +0530 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-26 09:50:00 -0400 |
| commit | 0e994668d00c9ca760817a4ae802a7bed0e29596 (patch) | |
| tree | 335b4d97e85befd3dcfcc16b08c6ce57a6ff03e7 /include/hw/virtio/virtio-net.h | |
| parent | ebe1504e10f771f4fc5d005a6d1ed3f30e3ad428 (diff) | |
| download | focaccia-qemu-0e994668d00c9ca760817a4ae802a7bed0e29596.tar.gz focaccia-qemu-0e994668d00c9ca760817a4ae802a7bed0e29596.zip | |
vhost_net: add an assertion for TAP client backends
An assertion was missing for tap vhost backends that enforces a non-null reference from get_vhost_net(). Both vhost-net-user and vhost-net-vdpa enforces this. Enforce the same for tap. Unit tests pass with this change. Signed-off-by: Ani Sinha <anisinha@redhat.com> Message-Id: <20230619041501.111655-1-anisinha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
0 files changed, 0 insertions, 0 deletions