e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
28 lines
1014 B
Diff
28 lines
1014 B
Diff
Index: xen-4.2.0-testing/tools/blktap/drivers/blktapctrl.c
|
|
===================================================================
|
|
--- xen-4.2.0-testing.orig/tools/blktap/drivers/blktapctrl.c
|
|
+++ xen-4.2.0-testing/tools/blktap/drivers/blktapctrl.c
|
|
@@ -61,6 +61,9 @@
|
|
#include "list.h"
|
|
#include "xs_api.h" /* for xs_fire_next_watch() */
|
|
|
|
+#undef DPRINTF
|
|
+#define DPRINTF(_f, _a...) ((void)0)
|
|
+
|
|
#define PIDFILE "/var/run/blktapctrl.pid"
|
|
|
|
#define NUM_POLL_FDS 2
|
|
Index: xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c
|
|
===================================================================
|
|
--- xen-4.2.0-testing.orig/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c
|
|
+++ xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c
|
|
@@ -46,7 +46,7 @@
|
|
#define BLKTAP_CTRL_DIR "/var/run/tap"
|
|
|
|
/* If enabled, print debug messages to stderr */
|
|
-#if 1
|
|
+#if 0
|
|
#define DPRINTF(_f, _a...) fprintf(stderr, __FILE__ ":%d: " _f, __LINE__, ##_a)
|
|
#else
|
|
#define DPRINTF(_f, _a...) ((void)0)
|