]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/adjust-path.diff
add fix for alarm timer setup
[pve-qemu-kvm.git] / debian / patches / adjust-path.diff
1 Index: new/net.h
2 ===================================================================
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
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/net/tap.h
18 ===================================================================
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
21 @@ -29,8 +29,6 @@
22 #include "qemu-common.h"
23 #include "qapi-types.h"
24
25 -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
26 -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
27
28 int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required);
29