diff --git a/qemu/qmp.go b/qemu/qmp.go index bf9a77dda1..5585a8792b 100644 --- a/qemu/qmp.go +++ b/qemu/qmp.go @@ -993,7 +993,7 @@ func (q *QMP) ExecuteNetdevAddByFds(ctx context.Context, netdevType, netdevID st } if len(vhostFdNames) > 0 { vhostFdNameStr := strings.Join(vhostFdNames, ":") - args["vhost"] = "on" + args["vhost"] = true args["vhostfds"] = vhostFdNameStr }