mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
docs: Document NVRAM behavior on transient domains
Since 1.2.8 it's possible to use OVMF on domains. Moreover, it's possible to have libvirt create NVRAM file per domain. Later, when domain is undefined, the file is removed too. However, things are a bit complicated when domain's transient. There's no undefine to transient domains. There are two options: 1) leave the file behind and let mgmt app remove it. 2) remove it automatically as domain dies. But, in some scenarios mgmt app may want to preserve the file, copy it somewhere safe, and then copy it back when the domain is starting again. And this wouldn't be possible with case 2). So, even though case 1) leaves some files behind (possibly undeleted for a long time), the files themselves are small (128K each). And data loss is worse than full disk, isn't it? Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6c79469ccc
commit
401702d92e
@ -147,7 +147,10 @@
|
|||||||
started up libvirt copies so called master NVRAM store file defined
|
started up libvirt copies so called master NVRAM store file defined
|
||||||
in <code>qemu.conf</code>. If needed, the <code>template</code>
|
in <code>qemu.conf</code>. If needed, the <code>template</code>
|
||||||
attribute can be used to per domain override map of master NVRAM stores
|
attribute can be used to per domain override map of master NVRAM stores
|
||||||
from the config file. <span class="since">Since 1.2.8</span></dd>
|
from the config file. Note, that for transient domains if the NVRAM file
|
||||||
|
has been created by libvirt it is left behind and it is management
|
||||||
|
application's responsibility to save and remove file (if needed to be
|
||||||
|
persistent). <span class="since">Since 1.2.8</span></dd>
|
||||||
<dt><code>boot</code></dt>
|
<dt><code>boot</code></dt>
|
||||||
<dd>The <code>dev</code> attribute takes one of the values "fd", "hd",
|
<dd>The <code>dev</code> attribute takes one of the values "fd", "hd",
|
||||||
"cdrom" or "network" and is used to specify the next boot device
|
"cdrom" or "network" and is used to specify the next boot device
|
||||||
|
Loading…
Reference in New Issue
Block a user