]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/adjust-path.diff
try to use better names
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
1 Index: new/net.h
2 ===================================================================
3 --- new.orig/net.h 2012-03-12 06:44:55.000000000 +0100
4 +++ new/net.h 2012-03-13 07:25:07.000000000 +0100
5 @@ -173,8 +173,9 @@
6 int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
7 int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
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-03-12 06:44:55.000000000 +0100
20 +++ new/configure 2012-03-13 07:25:07.000000000 +0100
21 @@ -169,7 +169,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-03-12 06:44:55.000000000 +0100
33 +++ new/net/tap.h 2012-03-13 07:25:07.000000000 +0100
34 @@ -29,8 +29,6 @@
35 #include "qemu-common.h"
36 #include "qemu-option.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(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan);
42