]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/adjust-path.diff
imported from svn 'pve-qemu-kvm/pve2'
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
1 Index: new/net.h
2 ===================================================================
3 --- new.orig/net.h 2011-08-11 10:04:51.000000000 +0200
4 +++ new/net.h 2011-08-11 10:09:49.000000000 +0200
5 @@ -172,8 +172,8 @@
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 #ifdef __sun__
14 #define SMBD_COMMAND "/usr/sfw/sbin/smbd"
15 #else
16 Index: new/configure
17 ===================================================================
18 --- new.orig/configure 2011-08-11 10:04:51.000000000 +0200
19 +++ new/configure 2011-08-11 10:09:49.000000000 +0200
20 @@ -157,7 +157,7 @@
21 bindir="\${prefix}/bin"
22 libdir="\${prefix}/lib"
23 sysconfdir="\${prefix}/etc"
24 -confsuffix="/qemu"
25 +confsuffix="/kvm"
26 slirp="yes"
27 fmod_lib=""
28 fmod_inc=""
29 Index: new/net/tap.h
30 ===================================================================
31 --- new.orig/net/tap.h 2011-08-11 10:04:51.000000000 +0200
32 +++ new/net/tap.h 2011-08-11 10:09:49.000000000 +0200
33 @@ -29,8 +29,6 @@
34 #include "qemu-common.h"
35 #include "qemu-option.h"
36
37 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
38 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
39
40 int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan);
41