various CVE fixes
[pve-qemu-kvm.git] / debian / patches / pve / 0002-Adjust-network-script-path-to-etc-kvm.patch
blob485db2d330a97de6f4615747ade24a492d78a5e7
1 From 896141c8e486d45be140e53b395f81866b7af776 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/55] 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 73e4c46..4267008 100644
12 --- a/include/net/net.h
13 +++ b/include/net/net.h
14 @@ -198,8 +198,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