From 027f5c7d74fc72c4718b181eab24266925a74a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 15 Sep 2016 01:21:41 +0200 Subject: [PATCH] vm-interface: in the end new meminfo-writer use the same key as the old one --- debugging/vm-interface.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debugging/vm-interface.md b/debugging/vm-interface.md index f9bde9cb..8524737b 100644 --- a/debugging/vm-interface.md +++ b/debugging/vm-interface.md @@ -114,9 +114,9 @@ Example valid rules: ### Keys set by VM for passing info to dom0 ### -- `memory/meminfo` (**xenstore**) - used memory (updated by qubes-meminfo-writer), input information for qmemman; Format: 6 lines (EOL encoded as `\n`), each in format "FIELD: VALUE kB"; fields: `MemTotal`, `MemFree`, `Buffers`, `Cached`, `SwapTotal`, `SwapFree`; meaning the same as in `/proc/meminfo` in Linux. Deprecated in Qubes 4.0 -- `memory/prefmem` - preferred memory size for this VM, in bytes. Qmemman -daemon in dom0 use this as a hint how to balance memory assignments. This deprecates `memory/meminfo` in Qubes 4.0 +- `memory/meminfo` (**xenstore**) - used memory (updated by qubes-meminfo-writer), input information for qmemman; + - Qubes 3.x format: 6 lines (EOL encoded as `\n`), each in format "FIELD: VALUE kB"; fields: `MemTotal`, `MemFree`, `Buffers`, `Cached`, `SwapTotal`, `SwapFree`; meaning the same as in `/proc/meminfo` in Linux. + - Qubes 4.0+ format: used memory size in the VM, in kbytes - `/qubes-block-devices` - list of block devices exposed by this VM, each device (subdirectory) should be named in a way that VM can attach the device based on it. Each should contain those entries: - `desc` - device description (ASCII text) - `size` - device size in bytes