]> git.proxmox.com Git - pve-qemu.git/blame - 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
CommitLineData
23102ed6 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
95259824 2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
83faa3fe
TL
3Date: Mon, 6 Apr 2020 12:16:31 +0200
4Subject: [PATCH] PVE: [Config] Adjust network script path to /etc/kvm/
95259824 5
b855dce7 6Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
95259824
WB
7---
8 include/net/net.h | 5 +++--
9 1 file changed, 3 insertions(+), 2 deletions(-)
10
11diff --git a/include/net/net.h b/include/net/net.h
83faa3fe 12index 39085d9444..487e3ea1b4 100644
95259824
WB
13--- a/include/net/net.h
14+++ b/include/net/net.h
83faa3fe 15@@ -208,8 +208,9 @@ void netdev_add(QemuOpts *opts, Error **errp);
95259824
WB
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