Alexander Graf <graf@amazon.com> writes:
Add an option for hostmem-file to start the memory object at an offset
into the target file. This is useful if multiple memory objects reside
inside the same target file, such as a device node.
In particular, it's useful to map guest memory directly into /dev/mem
for experimentation.
Signed-off-by: Alexander Graf <graf@amazon.com>
[...]
diff --git a/qapi/qom.json b/qapi/qom.json
index a877b879b9..8f5eaa8415 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -635,6 +635,10 @@
# specify the required alignment via this option.
# 0 selects a default alignment (currently the page size). (default:
0)
#
+# @offset: the offset into the target file that the region starts at. You can
+# use this option to overload multiple regions into a single fils.
single file
I'm not sure about "to overload multiple regions into a single file".
Maybe "to back multiple regions with a single file".