[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 2/2] xen/vm-events: Move parts of monitor_domctl code to common-side.
On 02/16/2016 09:08 AM, Corneliu ZUZU wrote: > This patch moves monitor_domctl to common-side. > Purpose: move what's common to common, prepare for implementation > of such vm-events on ARM. > > * move get_capabilities to arch-side => arch_monitor_get_capabilities. > * add arch-side monitor op handling function => arch_monitor_domctl_op. > e.g. X86-side handles XEN_DOMCTL_MONITOR_OP_EMULATE_EACH_REP op > * add arch-side monitor event handling function => arch_monitor_domctl_event. > e.g. X86-side handles XEN_DOMCTL_MONITOR_EVENT_MOV_TO_MSR event > enable/disable > * remove status_check > > Signed-off-by: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx> > > --- > Changed since v3: > * monitor_domctl @ common/monitor.c: > - remove unused requested_status > - sanity check mop->event range to avoid left-shift undefined behavior > * arch_monitor_domctl_event: use ASSERT_UNREACHABLE() instead of bug warning > * xen/monitor.h: replace includes w/ structs forward-declare, fix #ifndef > --- > MAINTAINERS | 1 + > xen/arch/x86/monitor.c | 153 > +++++++++++------------------------------- > xen/common/Makefile | 1 + > xen/common/domctl.c | 2 +- > xen/common/monitor.c | 69 +++++++++++++++++++ > xen/include/asm-arm/monitor.h | 30 +++++++-- > xen/include/asm-x86/monitor.h | 53 +++++++++++++-- > xen/include/xen/monitor.h | 30 +++++++++ > 8 files changed, 217 insertions(+), 122 deletions(-) > create mode 100644 xen/common/monitor.c > create mode 100644 xen/include/xen/monitor.h Fair enough. Acked-by: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> Thanks, Razvan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |