docs: update virt/vm
This commit is contained in:
23
virt/vm.md
23
virt/vm.md
@ -2,7 +2,7 @@
|
||||
title: Machine definition
|
||||
description: Virtual machine hardware
|
||||
published: true
|
||||
date: 2025-06-19T18:47:54.376Z
|
||||
date: 2025-06-19T18:52:19.311Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2025-06-01T17:37:29.262Z
|
||||
@ -255,3 +255,24 @@ Despite its scary name, the `destroy` means that the domain will be terminated c
|
||||
|
||||
- [Events configuration on libvirt website](https://libvirt.org/formatdomain.html#events-configuration)
|
||||
|
||||
## Power Management
|
||||
|
||||
This define section defines ACPI sleep states, suspend to memory meaning S3 state and suspend to disk S4 state.
|
||||
|
||||
```
|
||||
<domain type='kvm'>
|
||||
[...]
|
||||
<pm>
|
||||
<suspend-to-disk enabled='no'/>
|
||||
<suspend-to-mem enabled='yes'/>
|
||||
</pm>
|
||||
[...]
|
||||
</domain>
|
||||
```
|
||||
|
||||
Despite its scary name, the `destroy` means that the domain will be terminated completely and all associated resources released, not that the domain will be erased.
|
||||
|
||||
### Resources about Power Management
|
||||
|
||||
- [Power Management section on libvirt website](https://libvirt.org/formatdomain.html#power-management)
|
||||
|
||||
|
Reference in New Issue
Block a user