]> Git Repo - qemu.git/blobdiff - net/tap.c
Add vhost-backend and VhostBackendType
[qemu.git] / net / tap.c
index 5789ff8e0c0a4c2cb7b8463172e9c8ea4162289a..a40f7f023ff8d34a00a801edc76023d6b2d78768 100644 (file)
--- a/net/tap.c
+++ b/net/tap.c
@@ -627,6 +627,7 @@ static int net_init_tap_one(const NetdevTapOptions *tap, NetClientState *peer,
         vhostfdname || (tap->has_vhostforce && tap->vhostforce)) {
         VhostNetOptions options;
 
+        options.backend_type = VHOST_BACKEND_TYPE_KERNEL;
         options.net_backend = &s->nc;
         options.force = tap->has_vhostforce && tap->vhostforce;
 
This page took 0.021019 seconds and 4 git commands to generate.