]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/adjust-path.diff
update to qemu 1.3 rc1
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
CommitLineData
4676c0af
DM
1Index: new/net.h
2===================================================================
e96de165
DM
3--- new.orig/net.h 2012-11-21 11:11:22.000000000 +0100
4+++ new/net.h 2012-11-21 11:17:51.000000000 +0100
2802c577
DM
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);
4676c0af
DM
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/net/tap.h
18===================================================================
e96de165
DM
19--- new.orig/net/tap.h 2012-11-21 11:11:22.000000000 +0100
20+++ new/net/tap.h 2012-11-21 11:17:51.000000000 +0100
4676c0af
DM
21@@ -29,8 +29,6 @@
22 #include "qemu-common.h"
2802c577 23 #include "qapi-types.h"
4676c0af
DM
24
25-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
26-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
27
e96de165
DM
28 int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required);
29