[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 04/16] x86/monitor: relocate vm_event_register_write_resume() function to monitor code



On 7/9/2016 9:14 PM, Tamas K Lengyel wrote:
On Fri, Jul 8, 2016 at 10:14 PM, Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx> wrote:
vm_event_register_write_resume is part of the monitor subsystem, relocate and
rename appropriately.

Signed-off-by: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
---
  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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.