]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/adjust-path.diff
updates for qemu 1.4.0
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
CommitLineData
92bf040c 1Index: new/include/net/net.h
4676c0af 2===================================================================
92bf040c
DM
3--- new.orig/include/net/net.h 2013-02-11 11:06:09.000000000 +0100
4+++ new/include/net/net.h 2013-02-11 11:15:16.000000000 +0100
5@@ -168,8 +168,9 @@
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 17Index: new/net/tap_int.h
4676c0af 18===================================================================
92bf040c
DM
19--- new.orig/net/tap_int.h 2013-02-11 11:06:09.000000000 +0100
20+++ new/net/tap_int.h 2013-02-11 11:15:16.000000000 +0100
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);