]>
Commit | Line | Data |
---|---|---|
92bf040c | 1 | Index: new/include/net/net.h |
4676c0af | 2 | =================================================================== |
476431fd DM |
3 | --- new.orig/include/net/net.h 2014-05-05 07:07:13.000000000 +0200 |
4 | +++ new/include/net/net.h 2014-05-05 07:07:23.000000000 +0200 | |
5 | @@ -195,8 +195,9 @@ | |
92bf040c DM |
6 | int net_hub_id_for_client(NetClientState *nc, int *id); |
7 | NetClientState *net_hub_port_find(int hub_id); | |
4676c0af DM |
8 | |
9 | -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" | |
10 | -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" | |
11 | +#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/kvm-ifup" | |
12 | +#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/kvm/kvm-ifdown" | |
71a7a916 DM |
13 | + |
14 | #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper" | |
15 | #define DEFAULT_BRIDGE_INTERFACE "br0" | |
07a7849d | 16 | |
92bf040c | 17 | Index: new/net/tap_int.h |
4676c0af | 18 | =================================================================== |
476431fd DM |
19 | --- new.orig/net/tap_int.h 2014-05-05 07:07:13.000000000 +0200 |
20 | +++ new/net/tap_int.h 2014-05-05 07:07:23.000000000 +0200 | |
4676c0af DM |
21 | @@ -29,8 +29,6 @@ |
22 | #include "qemu-common.h" | |
2802c577 | 23 | #include "qapi-types.h" |
4676c0af DM |
24 | |
25 | -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" | |
26 | -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" | |
27 | ||
92bf040c DM |
28 | int tap_open(char *ifname, int ifname_size, int *vnet_hdr, |
29 | int vnet_hdr_required, int mq_required); |