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

[Xen-devel] [PATCH v2 0/7] Vm-events: move monitor vm-events code to common-side.


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
  • Date: Wed, 10 Feb 2016 17:47:38 +0200
  • Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Wed, 10 Feb 2016 15:48:07 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=MMY2J4CYqIi2SkLwCn2EEbvZJmd0lW+OAUZ05/DrVy1lGPL3WSk86eVCjukobaLUvXujh5arTyxpW4KniAPnv5fHIH2s+JZJ47gqkEOJghyVu8Llrrokt0vntMyXCUz6lD/xqXIBYDtitOWIi8CrNqsMNfqe6NL2icQ6PxORFn5zZDctA+dqC9YJA0Y0a0445jyqBqdu7sHRxrF71X/ybDw3lHdEyeqfM7zAMSCXzcSLyj/Bl/SIY4m0D83kCuYg/p12JlBI6Kx/EWJjnsYVvUtv69f9fhJ9pomo7FucsJg+iOgIjqrSR2KoEfF/TSrLN90JxRXNb5oauxM0Z5bZpQ==; h=Received:Received:Received:Received:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

This patch series is an attempt to move (most) of the monitor vm-events code to
the common-side.

Patches summary:

1. Minor file-comment fix

2. Merge almost identical functions hvm_event_int3 + hvm_event_single_step ->
hvm_event_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. Minor file renames. Read (*) below.

5. Move hvm_event_traps, hvm_event_cr, hvm_event_guest_request,
hvm_event_breakpoint functions to common-side. (note: arch_hvm_event_fill_regs
on ARM-side will be implemented in a separate patch)

6. Minor file renames + comment fixes. Read (*) below.

7. Move arch_domain.monitor bitfield members to struct domain (common-side).
   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).

---
Changed since v1:
  Major:
    * not moving arch/arm/hvm.c to arch/arm/hvm/hvm.c anymore
    * hvm_event_software_breakpoint renamed to hvm_event_breakpoint
    * hvm_event_breakpoint single_step param replaced by enum
  Minor:
    * formatting & comment fixes: e.g. removed blank lines around #if/#endif
    * improved code readability (used switch/case instead of if in some places)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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