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:
@@ -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'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user