mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
24 lines
992 B
Text
24 lines
992 B
Text
Index: qemu/include/net/net.h
|
|
@@ -174,8 +174,8 @@ void net_host_device_remove(Monitor *mon
|
|
int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
|
int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
|
|
|
-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
|
|
-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
|
|
+#define DEFAULT_NETWORK_SCRIPT PREFIX "/etc/qemu-ifup"
|
|
+#define DEFAULT_NETWORK_DOWN_SCRIPT PREFIX "/etc/qemu-ifdown"
|
|
#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
|
|
#define DEFAULT_BRIDGE_INTERFACE "br0"
|
|
|
|
Index: qemu/net/tap_int.h
|
|
@@ -29,8 +29,8 @@
|
|
#include "qemu-common.h"
|
|
#include "qemu-option.h"
|
|
|
|
-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
|
|
-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
|
|
+#define DEFAULT_NETWORK_SCRIPT PREFIX "/etc/qemu-ifup"
|
|
+#define DEFAULT_NETWORK_DOWN_SCRIPT PREFIX "/etc/qemu-ifdown"
|
|
|
|
int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan);
|
|
|