Merge pull request #128 from devimc/2020-05-29/qmp/vhostBool

qemu/qmp: use boolean type for the vhost
This commit is contained in:
James O. D. Hunt
2020-06-02 15:54:48 +01:00
committed by GitHub

View File

@@ -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
}