Show Table of Contents
A.4. 支持的 VDSM 事件
表 A.1. 支持的 VDSM 事件
| 名称 | 描述 |
|---|---|
| before_vm_start | 虚拟机启动前。 |
| after_vm_start | 虚拟机启动后。 |
| before_vm_cont | 虚拟机继续运行前。 |
| after_vm_cont | 虚拟机继续运行后。 |
| before_vm_pause | 虚拟机暂停前。 |
| after_vm_pause | 虚拟机暂停后。 |
| before_vm_hibernate | 虚拟机挂起前。 |
| after_vm_hibernate | 虚拟机挂起后。 |
| before_vm_dehibernate | 在虚拟机取消挂起前。 |
| after_vm_dehibernate | 在虚拟机取消挂起后。 |
| before_vm_migrate_source | 在虚拟机迁移发生前,在迁移的原始主机上运行。 |
| after_vm_migrate_source | 在虚拟机迁移发生后,在迁移的原始主机上运行。 |
| before_vm_migrate_destination | 在虚拟机迁移发生前,在迁移的目标主机上运行。 |
| after_vm_migrate_destination | 在虚拟机迁移发生后,在迁移的目标主机上运行。 |
| after_vm_destroy | 虚拟机删除后。 |
| before_vdsm_start | VDSM 在主机上运行前。before_vdsm_start hook 以 root 用户执行,它不会继承 VDSM 进程的环境参数。 |
| after_vdsm_stop | VDSM 在主机上运行后。after_vdsm_stop hook 以 root 用户执行,它不会继承 VDSM 进程的环境参数。 |
| before_nic_hotplug | 在网卡被熱插到虚拟机上以前。 |
| after_nic_hotplug | 在网卡被熱插到虚拟机上以后。 |
| before_nic_hotunplug | 在网卡被从虚拟机上热拔以前。 |
| after_nic_hotunplug | 在网卡被从虚拟机上热拔以后。 |
| after_nic_hotplug_fail | 在网卡被热插到虚拟机失败以后。 |
| after_nic_hotunplug_fail | 在网卡被从虚拟机上热拔失败以后。 |
| before_disk_hotplug | 在磁盘被熱插到虚拟机上以前。 |
| after_disk_hotplug | 在磁盘被熱插到虚拟机上以后。 |
| before_disk_hotunplug | 在磁盘被从虚拟机上热拔以前。 |
| after_disk_hotunplug | 在磁盘被从虚拟机上热拔以后。 |
| after_disk_hotplug_fail | 在磁盘被热插到虚拟机失败以后。 |
| after_disk_hotunplug_fail | 在磁盘被从虚拟机上热拔失败以后。 |
| before_device_create | 在创建一个支持自定义属性的设备前。 |
| after_device_create | 在创建一个支持自定义属性的设备后。 |
| before_update_device | 在更新一个支持自定义属性的设备前。 |
| after_update_device | 在更新一个支持自定义属性的设备后。 |
| before_device_destroy | 在删除一个支持自定义属性的设备前。 |
| after_device_destroy | 在删除一个支持自定义属性的设备后。 |
| before_device_migrate_destination | 在设备迁移发生前,在迁移的目标主机上运行。 |
| after_device_migrate_destination | 在设备迁移发生后,在迁移的目标主机上运行。 |
| before_device_migrate_source | 在设备迁移发生前,在迁移的原始主机上运行。 |
| after_device_migrate_source | 在设备迁移发生后,在迁移的原始主机上运行。 |
| after_network_setup | 启动主机过程中,在设置网络之后。 |
| before_network_setup | 启动主机过程中,在设置网络之前。 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.