|author||Andriy Gapon <avg@FreeBSD.org>||2016-12-27 10:17:56 +0000|
|committer||Andriy Gapon <avg@FreeBSD.org>||2016-12-27 10:17:56 +0000|
libkvm: support access to vmm guest memory, allow writes to fwmem and vmm
This change consists of two parts: - allow libkvm to recognize /dev/vmm/* character devices as devices that provide access to the physical memory of a system (similarly to /dev/fwmem*) - allow libkvm to recognize that /dev/vmm/* and /dev/fwmem* devices provide access to the physical memory of live remote systems and, thus, the memory is writable As a result, it should be possible to run commands like $ kgdb -w /path/to/kernel /dev/fwmem0.0 $ kgdb /path/to/kernel /dev/vmm/guest Reviewed by: kib, jhb MFC after: 2 weeks Relnotes: yes Sponsored by: Panzura Differential Revision: https://reviews.freebsd.org/D8679
Notes: svn path=/head/; revision=310630
Diffstat (limited to 'include/paths.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/paths.h b/include/paths.h
index 3fa54dc10814..709e96d008b1 100644
@@ -99,6 +99,7 @@
#define _PATH_VARDB "/var/db/"
#define _PATH_VARRUN "/var/run/"
#define _PATH_VARTMP "/var/tmp/"
+#define _PATH_DEVVMM "/dev/vmm/"
#define _PATH_YP "/var/yp/"
#define _PATH_UUCPLOCK "/var/spool/lock/"