From 76a5fc2a803257ba51ff90da36ed0d0ccbdca716 Mon Sep 17 00:00:00 2001 From: Laura Peskin Date: Mon, 8 Jan 2024 16:49:41 -0800 Subject: 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. --- vm/starnix/starnix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/starnix') 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 } -- cgit mrf-deployment