A.6. VDSM Hook 域 XML 对象
				当 hook 脚本启动时,
			
_hook_domxml 变量会附加到环境中。此变量包含相关虚拟机的 libvirt 域 XML 表示的路径。有几个 hook 是此规则的一个例外,如下所示。 
				
						以下 hook 的 
_hook_domxml 变量包含 NIC 的 XML 表示,而不是虚拟机。
					- *_nic_hotplug_*
- *_nic_hotunplug_*
- *_update_device
- *_device_create
- *_device_migrate_*
重要
before_migration_destination 和 before_dehibernation hook 目前从源主机接收域的 XML。目标中域的 XML 将有不同的不同。
				
				VDSM 使用 libvirt 域 XML 格式来定义虚拟机。有关 libvirt 域 XML 格式的详情,请参考 http://libvirt.org/formatdomain.html。可以从域 XML 中减少虚拟机的 UUID,但也可以作为环境变量 
vmId 提供。