scripts: build-qemu: Correct networking

Networking is not currently enabled, since the wrong variable is used.
Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-08 15:49:22 -06:00
parent 654bf17503
commit 219adf6bf8

View File

@@ -266,7 +266,7 @@ class BuildQemu:
qemu_cmd.extend(self.kvm_params)
qemu_cmd.extend(['-m', self.helper.mem])
if not self.args.sct_run and not self.qboot:
if not self.args.sct_run and not self.args.use_qboot:
qemu_cmd.extend(['-netdev', 'user,id=net0,hostfwd=tcp::2222-:22',
'-device', 'virtio-net-pci,netdev=net0'])