]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/adjust-path.diff
d3c2189e639a250ec9d1f8f0a3904d5d5658e8a3
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
1 Index: new/net.h
2 ===================================================================
3 --- new.orig/net.h 2012-09-24 07:15:00.000000000 +0200
4 +++ new/net.h 2012-09-24 07:15:16.000000000 +0200
5 @@ -161,8 +161,9 @@
6 void netdev_add(QemuOpts *opts, Error **errp);
7 int qmp_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret);
8
9 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
10 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
11 +#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/kvm-ifup"
12 +#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/kvm/kvm-ifdown"
13 +
14 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
15 #define DEFAULT_BRIDGE_INTERFACE "br0"
16
17 Index: new/configure
18 ===================================================================
19 --- new.orig/configure 2012-09-24 07:15:00.000000000 +0200
20 +++ new/configure 2012-09-24 07:15:16.000000000 +0200
21 @@ -195,7 +195,7 @@
22 libdir="\${prefix}/lib"
23 includedir="\${prefix}/include"
24 sysconfdir="\${prefix}/etc"
25 -confsuffix="/qemu"
26 +confsuffix="/kvm"
27 slirp="yes"
28 fmod_lib=""
29 fmod_inc=""
30 Index: new/net/tap.h
31 ===================================================================
32 --- new.orig/net/tap.h 2012-09-24 07:15:00.000000000 +0200
33 +++ new/net/tap.h 2012-09-24 07:15:16.000000000 +0200
34 @@ -29,8 +29,6 @@
35 #include "qemu-common.h"
36 #include "qapi-types.h"
37
38 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
39 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
40
41 int net_init_tap(const NetClientOptions *opts, const char *name,
42 NetClientState *peer);