]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/pve/0002-Adjust-network-script-path-to-etc-kvm.patch
update to 2.7
[pve-qemu-kvm.git] / debian / patches / pve / 0002-Adjust-network-script-path-to-etc-kvm.patch
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/
5
6 ---
7 include/net/net.h | 5 +++--
8 1 file changed, 3 insertions(+), 2 deletions(-)
9
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);
17
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"
22 +
23 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
24 #define DEFAULT_BRIDGE_INTERFACE "br0"
25
26 --
27 2.1.4
28