mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-11 12:52:23 +00:00
Merge pull request #128 from devimc/2020-05-29/qmp/vhostBool
qemu/qmp: use boolean type for the vhost
This commit is contained in:
commit
7cc469641b
@ -993,7 +993,7 @@ func (q *QMP) ExecuteNetdevAddByFds(ctx context.Context, netdevType, netdevID st
|
|||||||
}
|
}
|
||||||
if len(vhostFdNames) > 0 {
|
if len(vhostFdNames) > 0 {
|
||||||
vhostFdNameStr := strings.Join(vhostFdNames, ":")
|
vhostFdNameStr := strings.Join(vhostFdNames, ":")
|
||||||
args["vhost"] = "on"
|
args["vhost"] = true
|
||||||
args["vhostfds"] = vhostFdNameStr
|
args["vhostfds"] = vhostFdNameStr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user