]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/adjust-path.diff
update to qemu-kvm-1.1-rc2
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
CommitLineData
4676c0af
DM
1Index: new/net.h
2===================================================================
b4818867
DM
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
71a7a916 5@@ -173,8 +173,9 @@
4676c0af
DM
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"
71a7a916
DM
13+
14 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
15 #define DEFAULT_BRIDGE_INTERFACE "br0"
07a7849d 16
4676c0af
DM
17Index: new/configure
18===================================================================
b4818867
DM
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 @@
4676c0af 22 libdir="\${prefix}/lib"
07a7849d 23 includedir="\${prefix}/include"
4676c0af
DM
24 sysconfdir="\${prefix}/etc"
25-confsuffix="/qemu"
26+confsuffix="/kvm"
27 slirp="yes"
28 fmod_lib=""
29 fmod_inc=""
30Index: new/net/tap.h
31===================================================================
b4818867
DM
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
4676c0af
DM
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