Skip to content

Fixes to debugging facilities (part 1)

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 27 repliesIn review
  2. v111 patches 50 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/boot: Initialise the debug registers correctlyxen/arch/x86/cpu/common.c xen/include/asm-x86/debugreg.h xen/include/asm-x86/x86-defns.h+18 -64 replies
2/5x86/domain: Initialise vcpu debug registers correctlyxen/arch/x86/domain.c xen/arch/x86/hvm/hvm.c xen/include/asm-x86/domain.h+18 -48 replies
3/5tools/dombuilder: Initialise vcpu debug registers correctlytools/libxc/xc_dom_x86.c+12 -03 replies
4/5x86/emul: Unfold %cr4.de handling in x86emul_read_dr()xen/arch/x86/x86_emulate.c+15 -90 replies
5/5x86: Reorganise and rename debug register fields in struct vcpuxen/arch/x86/domain.c xen/arch/x86/domctl.c xen/arch/x86/hvm/hvm.c +8 more+98 -8812 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJan BeulichRoger Pau MonnéBoris OstrovskyWei LiuKevin Tian
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b A-b
4/5A-b R-b
5/5R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fixes to debugging facilities (part 1)

This is the first part of the RFC series. It covers initialising the vcpu registers correctly, and some code cleanup.

The remainder of the RFC series is still in progress - specifically trying to avoid breaking introspection.

Andrew Cooper (5):
x86/boot: Initialise the debug registers correctly x86/domain: Initialise vcpu debug registers correctly tools/dombuilder: Initialise vcpu debug registers correctly x86/emul: Unfold %cr4.de handling in x86emul_read_dr()
x86: Reorganise and rename debug register fields in struct vcpu

 tools/libxc/xc_dom_x86.c        | 12 ++++++++++++
 xen/arch/x86/cpu/common.c       | 12 ++++++++----
 xen/arch/x86/domain.c           | 34 +++++++++++++++++++++++++++-------
 xen/arch/x86/domctl.c           | 15 +++++----------
 xen/arch/x86/hvm/hvm.c          | 30 ++++++++++++++----------------
 xen/arch/x86/hvm/svm/svm.c      | 27 ++++++++++++++-------------
 xen/arch/x86/hvm/vmx/vmx.c      | 26 +++++++++++++-------------
 xen/arch/x86/pv/emul-priv-op.c  | 15 +++++++--------
 xen/arch/x86/pv/emulate.c       |  2 +-
 xen/arch/x86/traps.c            | 31 ++++++++++++++++---------------
 xen/arch/x86/vm_event.c         |  2 +-
 xen/arch/x86/x86_emulate.c      | 27 ++++++++++++++++-----------
 xen/include/asm-x86/debugreg.h  |  2 --
 xen/include/asm-x86/domain.h    | 13 ++++++++++++-
 xen/include/asm-x86/x86-defns.h | 10 ++++++++++
 15 files changed, 156 insertions(+), 102 deletions(-)
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel