docs: Remove directory support from MemoryZoneConfig::file

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2023-03-31 09:56:22 -07:00 committed by Bo Chen
parent 5736205cf0
commit 2b4f60e57b

View File

@ -266,11 +266,8 @@ _Example_
### `file` ### `file`
Path to the file backing the memory zone. This can be either a file or a Path to the file backing the memory zone. The file will be opened and used as
directory. In case of a file, it will be opened and used as the backing file the backing file for the `mmap(2)` operation.
for the `mmap(2)` operation. In case of a directory, a temporary file with no
hard link on the filesystem will be created. This file will be used as the
backing file for the `mmap(2)` operation.
This option can be particularly useful when trying to back a part of the guest This option can be particularly useful when trying to back a part of the guest
RAM with a well known file. In the context of the snapshot/restore feature, and RAM with a well known file. In the context of the snapshot/restore feature, and