Philipp Schuster
72c8178335
misc: hypervisor: streamline error Display::fmt()
...
The changes were mostly automatically applied using the Python
script mentioned in the first commit of this series.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de >
On-behalf-of: SAP philipp.schuster@sap.com
2025-06-13 19:55:54 +00:00
Wei Liu
a96a5d7816
hypervisor, vmm: use new vfio-ioctls
...
Use the new vfio-ioctls APIs. Drop Cloud Hypervisor's Device trait
since it is no longer needed.
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2022-07-21 23:37:53 +01:00
Wei Liu
ddad5f3510
hypervisor: allow downcasting to KVM / MSHV device fd
...
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2022-07-14 08:09:50 +01:00
Henry Wang
89a6b63e6e
hypervisor: Implement get_device_attr method for AArch64
...
This commit implements the `get_device_attr` method for the
`KVM_GET_DEVICE_ATTR` ioctl. This ioctl will be used in retrieving
the GIC status.
Signed-off-by: Henry Wang <Henry.Wang@arm.com >
2020-09-23 12:37:25 +01:00
Michael Zhao
ddf1b76906
hypervisor: Refactor create_passthrough_device() for generic type
...
Changed the return type of create_passthrough_device() to generic type
hypervisor::Device.
Signed-off-by: Michael Zhao <michael.zhao@arm.com >
2020-07-21 16:22:02 +02:00
Michael Zhao
e7288888cf
hypervisor: Extend hypervisor crate with Device trait
...
Added Device trait and KvmDevice struct for KVM-emulated devices.
Signed-off-by: Michael Zhao <michael.zhao@arm.com >
2020-07-21 16:22:02 +02:00