mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 11:29:15 -04:00
once it builds again on 8 and 9: QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. It can be used to launch the Wine Windows API emulator or to ease cross-compilation and cross-debugging. As QEMU requires no host kernel patches to run, it is very safe and easy to use. http://wiki.qemu.org/Main_Page This is building sbruno's bsd-user github branch: WWW: https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
12 lines
582 B
C
12 lines
582 B
C
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"
|
|
|