Displaying 3 results from an estimated 3 matches for "xenctrl_h".
Did you mean:
xenctrl
2013 Jan 23
1
[PATCH V2] libxc, libxenstore: make the headers C++-friendlier
...#39;new'' is a C++ keyword).
Signed-off-by: Razvan Cojocaru <rzvncj@gmail.com>
diff -r 5af4f2ab06f3 -r c273ee1fc8ba tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h Tue Jan 22 09:33:10 2013 +0100
+++ b/tools/libxc/xenctrl.h Wed Jan 23 11:18:49 2013 +0200
@@ -26,6 +26,10 @@
#ifndef XENCTRL_H
#define XENCTRL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Tell the Xen public headers we are a user-space tools build. */
#ifndef __XEN_TOOLS__
#define __XEN_TOOLS__ 1
@@ -114,6 +118,15 @@ typedef struct xc_interface_core xc_inte
typedef struct xc_interface_core xc_evtchn;...
2013 Jan 23
1
[PATCH V3] libxc, libxenstore: make the headers C++-friendlier
..._fix_cpu() suggested by Jan Beulich.
Signed-off-by: Razvan Cojocaru <rzvncj@gmail.com>
diff -r 5af4f2ab06f3 -r f80587008e17 tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h Tue Jan 22 09:33:10 2013 +0100
+++ b/tools/libxc/xenctrl.h Wed Jan 23 16:41:30 2013 +0200
@@ -26,6 +26,10 @@
#ifndef XENCTRL_H
#define XENCTRL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Tell the Xen public headers we are a user-space tools build. */
#ifndef __XEN_TOOLS__
#define __XEN_TOOLS__ 1
@@ -114,6 +118,15 @@ typedef struct xc_interface_core xc_inte
typedef struct xc_interface_core xc_evtchn;...
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
a, libxl_event.h is included in libxl.h. So, the former one also need to be installed.
b, define __XEN_TOOLS__ in libxl.h:
the head file "xen/sysctl.h" need check this macro.
It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h and tools/libxc/xenctrlosdep.h).
Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
diff -r 87218bd367be