diff --git a/build.sh b/build.sh index cdc204dd53..ea0e710df3 100755 --- a/build.sh +++ b/build.sh @@ -208,7 +208,6 @@ set -x # Print commands from now on --disable-sheepdog \ --without-default-devices \ --disable-blobs \ - --disable-slirp \ "$@" time make -j"${job_count}" 2>&1 | tee build.log diff --git a/softmmu/vl.c b/softmmu/vl.c index 27e84bf925..0d1eb7d5e0 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -4372,8 +4372,10 @@ void qemu_init(int argc, char **argv, char **envp) if (default_net) { QemuOptsList *net = qemu_find_opts("net"); qemu_opts_set(net, NULL, "type", "nic", &error_abort); +#ifndef XBOX #ifdef CONFIG_SLIRP qemu_opts_set(net, NULL, "type", "user", &error_abort); +#endif #endif }