docs: update virt/vm
This commit is contained in:
10
virt/vm.md
10
virt/vm.md
@ -2,7 +2,7 @@
|
|||||||
title: Machine definition
|
title: Machine definition
|
||||||
description: Virtual machine hardware
|
description: Virtual machine hardware
|
||||||
published: true
|
published: true
|
||||||
date: 2025-06-19T18:35:44.609Z
|
date: 2025-06-19T18:47:54.376Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-06-01T17:37:29.262Z
|
dateCreated: 2025-06-01T17:37:29.262Z
|
||||||
@ -237,6 +237,8 @@ In the following example, the hardware clock uses [UTC](https://en.wikipedia.org
|
|||||||
|
|
||||||
## Events configuration
|
## Events configuration
|
||||||
|
|
||||||
|
This define section defines action when guest OS triggers a lifecycle operation.
|
||||||
|
|
||||||
```
|
```
|
||||||
<domain type='kvm'>
|
<domain type='kvm'>
|
||||||
[...]
|
[...]
|
||||||
@ -247,3 +249,9 @@ In the following example, the hardware clock uses [UTC](https://en.wikipedia.org
|
|||||||
</domain>
|
</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 events configuration
|
||||||
|
|
||||||
|
- [Events configuration on libvirt website](https://libvirt.org/formatdomain.html#events-configuration)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user