]> git.proxmox.com Git - pve-qemu.git/blame - debian/patches/pve/0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
update submodule and patches to QEMU 8.1.5
[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 7---
817b7667
SR
8 include/net/net.h | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
95259824
WB
10
11diff --git a/include/net/net.h b/include/net/net.h
4b7975e7 12index 685ec58318..22edf4ee96 100644
95259824
WB
13--- a/include/net/net.h
14+++ b/include/net/net.h
4b7975e7 15@@ -260,8 +260,8 @@ 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
817b7667
SR
19-#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifup"
20-#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
21+#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/kvm/kvm-ifup"
22+#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/kvm/kvm-ifdown"
95259824
WB
23 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
24 #define DEFAULT_BRIDGE_INTERFACE "br0"
25