vim_host_passthrough

ESXi PCI passthrough config via HostPciPassthruSystem (SOAP).

Changes typically require a host reboot to take effect; the returned dict exposes reboot_required from the device’s current state.

saltext.vcf.clients.vim_host_passthrough.refresh(opts, host, profile=None)[source]

Force the host to re-scan its PCI inventory.

saltext.vcf.clients.vim_host_passthrough.list_(opts, host, profile=None)[source]

Return [{id, vendor_id, device_id, vendor_name, device_name, passthru_capable, passthru_enabled, passthru_active, dependent_device, reboot_required}, ...].

saltext.vcf.clients.vim_host_passthrough.set_enabled(opts, host, pci_id, enabled, profile=None)[source]

Toggle passthrough on a single PCI device. Returns {id, enabled, reboot_required: True}.