device_utils.h
The device utils interface provides various helpers to establish different types devices for a given VM instance.
Functions:
The interface device_utils.h
defines the following functions.
vm_install_passthrough_device(vm, device)
Install a passthrough device into a VM
Parameters:
vm {vm_t *}
: A handle to the VM that the device should be install todevice {const struct device *}
: A description of the deviceReturns:
Back to interface description.
vm_install_ram_only_device(vm, device)
Install a device backed by ram into a VM
Parameters:
vm {vm_t *}
: A handle to the VM that the device should be install todevice {const struct device *}
: A description of the deviceReturns:
Back to interface description.
vm_install_listening_device(vm, device)
Install a passthrough device into a VM, but trap and print all access
Parameters:
vm {vm_t *}
: A handle to the VM that the device should be install todevice {const struct device *}
: A description of the deviceReturns:
Back to interface description.
Back to top.