On 7/9/2016 9:14 PM, Tamas K Lengyel wrote:
On Fri, Jul 8, 2016 at 10:14 PM, Corneliu ZUZU <cz...@bitdefender.com> wrote:
vm_event_register_write_resume is part of the monitor subsystem, relocate and
rename appropriately.
Signed-off-by: Corneliu ZUZU <cz...@bitdefender.com>
---
xen/arch/x86/monitor.c | 38 ++++++++++++++++++++++++++++++++++++++
xen/arch/x86/vm_event.c | 37 -------------------------------------
xen/common/vm_event.c | 2 +-
xen/include/asm-arm/monitor.h | 6 ++++++
xen/include/asm-arm/vm_event.h | 6 ------
xen/include/asm-x86/monitor.h | 2 ++
xen/include/asm-x86/vm_event.h | 2 --
7 files changed, 47 insertions(+), 46 deletions(-)
diff --git a/xen/arch/x86/monitor.c b/xen/arch/x86/monitor.c
index 043815a..06d21b1 100644
--- a/xen/arch/x86/monitor.c
+++ b/xen/arch/x86/monitor.c
@@ -20,6 +20,7 @@
*/
#include <asm/monitor.h>
+#include <asm/vm_event.h>
I'm not sure, is this include necessary?
Tamas
Yes, otherwise it complains about dereferencing an incomplete-typed
pointer (arch_vm_event).
Zuzu.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel