hypervisor: Explicitly pub use at the hypervisor crate top-level

Explicitly re-export types from the hypervisor specific modules. This
makes it much clearer what the common functionality that is exposed is.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-05-11 17:21:25 +01:00
committed by Sebastien Boeuf
parent cd0df05808
commit 218be2642e
6 changed files with 32 additions and 21 deletions

View File

@@ -305,7 +305,7 @@ impl vm::Vm for KvmVm {
kvm_route.u.msi.address_hi = cfg.high_addr;
kvm_route.u.msi.data = cfg.data;
if self.check_extension(crate::Cap::MsiDevid) {
if self.check_extension(crate::kvm::Cap::MsiDevid) {
// On AArch64, there is limitation on the range of the 'devid',
// it can not be greater than 65536 (the max of u16).
//