Re: [PATCH v2] hostmem-file: add offset option

2023-04-03 Thread Alexander Graf
On 03.04.23 08:28, Markus Armbruster wrote: Alexander Graf 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

Re: [PATCH v2] hostmem-file: add offset option

2023-04-02 Thread Markus Armbruster
Alexander Graf 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

Re: [PATCH v2] hostmem-file: add offset option

2023-04-01 Thread Stefan Hajnoczi
On Sat, 1 Apr 2023 at 08:14, Alexander Graf wrote: > 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 ali

[PATCH v2] hostmem-file: add offset option

2023-04-01 Thread Alexander Graf
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-b