]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
Fix dirty-bitmap PBS backup with multiple drives
[pve-qemu.git] / debian / patches / pve / 0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 6 Apr 2020 12:16:31 +0200
4 Subject: [PATCH] PVE: [Config] Adjust network script path to /etc/kvm/
5
6 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 ---
8 include/net/net.h | 5 +++--
9 1 file changed, 3 insertions(+), 2 deletions(-)
10
11 diff --git a/include/net/net.h b/include/net/net.h
12 index 39085d9444..487e3ea1b4 100644
13 --- a/include/net/net.h
14 +++ b/include/net/net.h
15 @@ -208,8 +208,9 @@ void netdev_add(QemuOpts *opts, Error **errp);
16 int net_hub_id_for_client(NetClientState *nc, int *id);
17 NetClientState *net_hub_port_find(int hub_id);
18
19 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
20 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
21 +#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/kvm-ifup"
22 +#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/kvm/kvm-ifdown"
23 +
24 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
25 #define DEFAULT_BRIDGE_INTERFACE "br0"
26