RFC Basic guest memory introspection support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 posting 3/34 patches 5 repliesIn review
- v9 posting 2/24 patches 2 repliesSuperseded
- v8 posting 2/24 patches 4 repliesSuperseded
Earlier versions · 17
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 posting 2/2 | 4 patches | 7 replies | Superseded | |
| v6 posting 2/2 | 5 patches | 15 replies | Superseded | |
| v5 | 5 patches | 0 replies | Superseded | |
| v4 posting 3/3 | 5 patches | 7 replies | Superseded | |
| v2 posting 2/2 | 0 of 5 patches | 0 replies | Superseded | |
| v11 RFC Latest | 0 of 5 patches | 3 replies | In review | |
| v10 RFC posting 2/3 | 0 of 5 patches | 0 replies | Superseded | |
| v10 RFC posting 1/3 | 0 of 5 patches | 0 replies | Superseded | |
| v9 RFC posting 1/2 | 0 of 5 patches | 0 replies | Superseded | |
| v8 RFC posting 1/2 | 0 of 5 patches | 0 replies | Superseded | |
| v7 RFC posting 1/2 | 0 of 5 patches | 0 replies | Superseded | |
| v6 RFC posting 1/2 | 0 of 5 patches | 0 replies | Superseded | |
| v4 RFC posting 2/3 | 0 of 5 patches | 0 replies | Superseded | |
| v4 RFC posting 1/3 | 0 of 5 patches | 0 replies | Superseded | |
| v3 RFC | 0 of 5 patches | 0 replies | Superseded | |
| v2 RFC posting 1/2 | 0 of 6 patches | 0 replies | Superseded | |
| v1 RFC | 0 of 9 patches | 4 replies | Superseded |
Changes since V9 from the cover letter
- The "xen, libxc: Request page fault injection via libxc" has been reworked to extend HVMOP_inject_trap instead of a new libxc hypercall.
Patches in v11 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v11 yet.
Cover letter [PATCH RFC V11 0/5] Basic guest memory introspection support
I apologize, I've sent this as a duplicate V10.
Here it is, resent (correctly) as V11. Sorry.
As stated originally, we had to modify Xen in order to be able to detect rootkits in HVM guests, in a way that allows an application that runs in dom0 (or a similarly privileged domain) to control what the guest is allowed to do once a threat is detected. This has been done over the mem_event mechanism.
To this end, we needed to:
1. Be able to execute the current instruction without allowing it to write to memory. This is done based on new mem_event response fields sent from the controlling application.
2. Have the guest as responsive as possible amid all the processing. So we had to cache some information with each mem_event sent.
3. Not allow the hypervisor to disable sending information about interesting MSR events.
4. Add an additional mem_event type, namely a VMCALL event - in order to do its work, our application occasionally triggers VMCALLs in the guest (not included in the current series, but included in the initial RFC series).
5. Add an additional libxc function that allows triggering page faults in the guest.
Changes since V9:
- The "xen, libxc: Request page fault injection via libxc" has been reworked to extend HVMOP_inject_trap instead of a new libxc hypercall.
Patches:
xen: Handle resumed instruction based on previous mem_event reply xen, libxc: Request page fault injection via libxc
xen, libxc: Force-enable relevant MSR events
xen: Optimize introspection access to guest state
xen: Emulate with no writes
Thanks,
Razvan Cojocaru
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel