update to 2.7
[pve-qemu-kvm.git] / debian / patches / pve / 0002-Adjust-network-script-path-to-etc-kvm.patch
blob7491f06e3778a957bc1391d5c7495908c359e97e
1 From 3f71a11efda66b9145afa0015af1d5a2bc5e5bb2 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Wed, 9 Dec 2015 14:16:49 +0100
4 Subject: [PATCH 02/41] Adjust network script path to /etc/kvm/
6 ---
7 include/net/net.h | 5 +++--
8 1 file changed, 3 insertions(+), 2 deletions(-)
10 diff --git a/include/net/net.h b/include/net/net.h
11 index e8d9e9e..375e81d 100644
12 --- a/include/net/net.h
13 +++ b/include/net/net.h
14 @@ -216,8 +216,9 @@ void qmp_netdev_add(QDict *qdict, QObject **ret, Error **errp);
15 int net_hub_id_for_client(NetClientState *nc, int *id);
16 NetClientState *net_hub_port_find(int hub_id);
18 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
19 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
20 +#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/kvm-ifup"
21 +#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/kvm/kvm-ifdown"
23 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
24 #define DEFAULT_BRIDGE_INTERFACE "br0"
26 --
27 2.1.4