Merge pull request #140753 from Ma27/fix-qemu-net-opts-in-testdriver

nixos/qemu-vm: fix running VM with `QEMU_NET_OPTS`
This commit is contained in:
Michele Guerini Rocco 2021-10-07 08:32:36 +02:00 committed by GitHub
commit 63d30d18a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -780,7 +780,7 @@ in
in
[
"-net nic,netdev=user.0,model=virtio"
"-netdev user,id=user.0,${forwardingOptions}\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
"-netdev user,id=user.0,${forwardingOptions}\"$QEMU_NET_OPTS\""
];
# FIXME: Consolidate this one day.