aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorLaura Peskin <pesk@google.com>2024-01-08 16:49:41 -0800
committerAleksandr Nogikh <nogikh@google.com>2024-02-03 08:35:48 +0000
commit76a5fc2a803257ba51ff90da36ed0d0ccbdca716 (patch)
treef4a85ee24c30ba3b5de94d81b49dafa26da34695 /vm
parentca50713d9930718a2f6998f143f5af443e397360 (diff)
vm/starnix: always start emulator with userspace networking
eepeep@ notes that ffx emu currently doesn't support multiple vms with tun/tap networking, so the second+ instance will fall back to userspace networking. For consistency across instances, make this the standard.
Diffstat (limited to 'vm')
-rw-r--r--vm/starnix/starnix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/starnix/starnix.go b/vm/starnix/starnix.go
index 321dad489..ad4961bf6 100644
--- a/vm/starnix/starnix.go
+++ b/vm/starnix/starnix.go
@@ -182,7 +182,7 @@ func (inst *instance) Close() {
}
func (inst *instance) startFuchsiaVM() error {
- err := inst.ffx("emu", "start", "--headless", "--name", inst.name)
+ err := inst.ffx("emu", "start", "--headless", "--name", inst.name, "--net", "user")
if err != nil {
return err
}