From Libvirt Wiki
Jump to: navigation, search

Host device enumeration

Think of this as basically a proxy to HAL. It lets a remote client enumerate hardware devices on the host by class (ie NICs, disks, etc), or by subsystem (USB, PCI). Why do we need this...

  • To attach PCI devices to a guest, we need to know what PCI devices a host has, and bind/unbind the host's kernel drivers to this
  • Prior to migration there is a need to check hosts for compatability in terms of network, storage and PCI devices
  • To configure NPIV SAN adapters, we need to enumerate HBAs, and request creation/deletion of virtual adapters

oVirt have also requested the ability to do NIC enumeration in some detail. They wish to use this to be able to assign NICs to guests.

Relevant links