mirror of https://github.com/xemu-project/xemu.git
build: Re-enable SLiRP (user networking)
This commit is contained in:
parent
c71cef3a54
commit
76107a4371
1
build.sh
1
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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue