Implement support for external IPT monitoring
Get series with b4
b4 am [email protected]Versions newest first
- v7 Latest10 patches 30 repliesIn review
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | xen+tools: Introduce XEN_SYSCTL_PHYSCAP_vmtracetools/ tools/ tools/ +7 more | +23 | 3 replies | |
| 2/10 | xen/domain: Add vmtrace_frames domain creation parameterxen/ xen/ xen/ +1 more | +87 | 4 replies | |
| 3/10 | tools/[lib]xl: Add vmtrace_buf_size parameterdocs/ tools/ tools/ +4 more | +29 | 1 reply | |
| 4/10 | xen/memory: Add a vmtrace_buf resource typexen/ xen/ | +28 | 4 replies | |
| 5/10 | x86/vmx: Add Intel Processor Trace supporttools/ tools/ xen/ +5 more | +87 | 2 replies | |
| 6/10 | xen/domctl: Add XEN_DOMCTL_vmtrace_opxen/ xen/ xen/ +2 more | +305 | 2 replies | |
| 7/10 | tools/libxc: Add xc_vmtrace_* functionstools/ tools/ tools/ | +202 | 1 reply | |
| 8/10 | tools/misc: Add xen-vmtrace tooltools/ tools/ tools/ | +159 | 6 replies | |
| 9/10 | xen/vmtrace: support for VM forksxen/ xen/ xen/ | +23 | 2 replies | |
| 10/10 | x86/vm_event: Carry Processor Trace buffer offset in vm_eventxen/ xen/ | +9 | 5 replies |
Reviews trailers per patch
6 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Ian Jackson | Jan Beulich |
|---|---|---|
| 1/10 | A-b | |
| 2/10 | ||
| 3/10 | A-b | |
| 4/10 | R-b | |
| 5/10 | R-b | |
| 6/10 | ||
| 7/10 | A-b | |
| 8/10 | ||
| 9/10 | R-b | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 00/10] Implement support for external IPT monitoring
This is the next iteration of the external IPT monitoring series, reworked massively from v6 to fix a whole slew of bugs with the XENMEM_acquire_resource interface. It also includes some additional bugfixes to make traced VM's work when forked.
A branch with all prerequisites is available at:
https://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/xen-ipt
This version has undergone basic testing from Michał, Tamas and myself, and seems to work for the intended usecases.
Andrew Cooper (1):
xen+tools: Introduce XEN_SYSCTL_PHYSCAP_vmtrace
Michał Leszczyński (7):
xen/domain: Add vmtrace_frames domain creation parameter tools/[lib]xl: Add vmtrace_buf_size parameter xen/memory: Add a vmtrace_buf resource type x86/vmx: Add Intel Processor Trace support xen/domctl: Add XEN_DOMCTL_vmtrace_op tools/libxc: Add xc_vmtrace_* functions tools/misc: Add xen-vmtrace tool
Tamas K Lengyel (2):
xen/vmtrace: support for VM forks
x86/vm_event: Carry Processor Trace buffer offset in vm_event
docs/man/xl.cfg.5.pod.in | 9 ++ tools/golang/xenlight/helpers.gen.go | 4 + tools/golang/xenlight/types.gen.go | 2 + tools/include/libxl.h | 14 ++ tools/include/xenctrl.h | 73 +++++++++++ tools/libs/ctrl/Makefile | 1 + tools/libs/ctrl/xc_vmtrace.c | 128 ++++++++++++++++++ tools/libs/light/libxl.c | 2 + tools/libs/light/libxl_cpuid.c | 1 + tools/libs/light/libxl_create.c | 2 + tools/libs/light/libxl_types.idl | 5 + tools/misc/.gitignore | 1 + tools/misc/Makefile | 4 + tools/misc/xen-cpuid.c | 2 +- tools/misc/xen-vmtrace.c | 154 ++++++++++++++++++++++ tools/xl/xl_info.c | 5 +- tools/xl/xl_parse.c | 4 + xen/arch/x86/domain.c | 23 ++++ xen/arch/x86/domctl.c | 55 ++++++++ xen/arch/x86/hvm/vmx/vmcs.c | 15 ++- xen/arch/x86/hvm/vmx/vmx.c | 196 +++++++++++++++++++++++++++- xen/arch/x86/mm/mem_sharing.c | 3 + xen/arch/x86/vm_event.c | 3 + xen/common/domain.c | 58 ++++++++ xen/common/memory.c | 27 ++++ xen/common/sysctl.c | 2 + xen/include/asm-x86/cpufeature.h | 1 + xen/include/asm-x86/hvm/hvm.h | 72 ++++++++++ xen/include/asm-x86/hvm/vmx/vmcs.h | 4 + xen/include/asm-x86/msr.h | 32 +++++ xen/include/public/arch-x86/cpufeatureset.h | 1 + xen/include/public/domctl.h | 36 +++++ xen/include/public/memory.h | 1 + xen/include/public/sysctl.h | 1 + xen/include/public/vm_event.h | 6 + xen/include/xen/domain.h | 2 + xen/include/xen/sched.h | 7 + xen/xsm/flask/hooks.c | 1 + 38 files changed, 952 insertions(+), 5 deletions(-) create mode 100644 tools/libs/ctrl/xc_vmtrace.c create mode 100644 tools/misc/xen-vmtrace.c
Signature · 1 line
2.11.0