A.6. VDSM フックドメインの XML オブジェクト
フックスクリプトが起動すると、_hook_domxml 変数が環境に追加されます。この変数には、libvirt ドメイン内の仮想マシンの XML 表現へのパスが含まれます。ただしこのルールには、以下に示すようにいくつかの例外があります。以下のフックの _hook_domxml 変数には、仮想マシンではなく NIC の XML 表現が含まれます。
- *_nic_hotplug_*
- *_nic_hotunplug_*
- *_update_device
- *_device_create
- *_device_migrate_*
現在、before_migration_destination と before_dehibernation のフックは、移行元のホストからドメインの XML を受信します。移行先のドメインの XML には、さまざまな相違点が生じます。
VDSM は libvirt ドメイン XML 形式を使用して仮想マシンを定義します。libvirt ドメイン XML 形式についての詳細は、「Domain XML format」に記載されています。仮想マシンの UUID は、ドメイン XML から推定することができますが、環境変数 vmId としても提供されます。

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.