Show Table of Contents
9.2. 在 Red Hat Virtualization 环境中的固定设备地址
虚拟硬件的 PCI 地址记录在 ovirt-engine 数据库中,因此它们的 PCI 地址是固定的。
在虚拟机被创建时,QEMU 会为虚拟硬件设备配置 PCI 地址,并通过 libvirt 报告给 VDSM。VDSM 把这个信息传递给 Manager,Manager 把地址信息保存在 ovirt-engine 数据库中。
当一个虚拟机启动时,Manager 会从数据库中读相应的设备地址信息,并把它传递给 VDSM。然后,VDSM 把这些设备地址信息再传递给 libvirt,从而使虚拟机可以使用这些从数据库中获得的 PCI 设备地址。
当一个设备被从虚拟机上删除时,包括 PCI 地址在内的、与这个虚拟机相关的信息都会被删除。如果需要添加一个新的设备来替代被删除的设备时,QEMU 会为新设备提供一个新的 PCI 地址。

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.