From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corneliu ZUZU Subject: [PATCH 0/7] Vm-events: move monitor vm-events code to common code. Date: Mon, 8 Feb 2016 18:57:55 +0200 Message-ID: <1454950682-9459-1-git-send-email-czuzu@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Kevin Tian , Tamas K Lengyel , Keir Fraser , Ian Campbell , Razvan Cojocaru , Jun Nakajima , Andrew Cooper , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org This patch series is an attempt to move (most) of the monitor vm-events code to the common-side. Patches summary: 1. Move xen/arch/arm/hvm.c to xen/arch/arm/hvm/hvm.c 2. Merge almost identical functions hvm_event_int3 + This patch series is an attempt to move (most) of the monitor vm-events code to the common-side. Patches summary: 1. Move xen/arch/arm/hvm.c to xen/arch/arm/hvm/hvm.c 2. Merge almost identical functions hvm_event_int3 + hvm_event_single_step -> hvm_event_software_breakpoint. 3. Add Kconfigs: HAS_VM_EVENT_WRITE_CTRLREG, HAS_VM_EVENT_SINGLESTEP, HAS_VM_EVENT_SOFTWARE_BREAKPOINT, HAS_VM_EVENT_GUEST_REQUEST and move monitor_domctl to common-side. Used the Kconfigs to selectively activate implemented monitor vm-events code for each architecture. 4. Some file renames. Read (*) below. 5. Move hvm_event_traps, hvm_event_cr, hvm_event_guest_request, hvm_event_software_breakpoint functions to common-side. (note: arch_hvm_event_fill_regs on ARM-side will be implemented in a separate patch) 6. Some file renames, plus some minor fixes. Read (*) below. 7. Move monitor bitfield members from struct arch_domain to struct domain. Moved bits: single-step, software-breakpoint and guest-request. (note: write_ctrlreg_* were left on the arch-side, since control-registers number can vary across architectures) (*) was only necessary to avoid git seeing a file as being modified, rather than moved (would have made the diff unnecessarily bulky).hvm_event_single_step -> hvm_event_software_breakpoint. 3. Add Kconfigs: HAS_VM_EVENT_WRITE_CTRLREG, HAS_VM_EVENT_SINGLESTEP, HAS_VM_EVENT_SOFTWARE_BREAKPOINT, HAS_VM_EVENT_GUEST_REQUEST and move monitor_domctl to common-side. Used the Kconfigs to selectively activate implemented monitor vm-events code for each architecture. 4. Some file renames. Read (*) below. 5. Move hvm_event_traps, hvm_event_cr, hvm_event_guest_request, hvm_event_software_breakpoint functions to common-side. (note: arch_hvm_event_fill_regs on ARM-side will be implemented in a separate patch) 6. Some file renames, plus some minor fixes. Read (*) below. 7. Move monitor bitfield members from struct arch_domain to struct domain. Moved bits: single-step, software-breakpoint and guest-request. (note: write_ctrlreg_* were left on the arch-side, since control-registers number can vary across architectures) (*) was only necessary to avoid git seeing a file as being modified, rather than moved (would have made the diff unnecessarily bulky).