diff --git a/virtio-devices/src/lib.rs b/virtio-devices/src/lib.rs index 4408193fc..680cbe29c 100644 --- a/virtio-devices/src/lib.rs +++ b/virtio-devices/src/lib.rs @@ -39,19 +39,24 @@ pub mod vhost_user; pub mod vsock; pub mod watchdog; -pub use self::balloon::*; -pub use self::block::*; -pub use self::console::*; -pub use self::device::*; -pub use self::epoll_helper::*; -pub use self::iommu::*; -pub use self::mem::*; -pub use self::net::*; -pub use self::pmem::*; -pub use self::rng::*; -pub use self::vdpa::*; -pub use self::vsock::*; -pub use self::watchdog::*; +pub use self::balloon::Balloon; +pub use self::block::{Block, BlockState}; +pub use self::console::{Console, ConsoleResizer, Endpoint}; +pub use self::device::{ + DmaRemapping, UserspaceMapping, VirtioCommon, VirtioDevice, VirtioInterrupt, + VirtioInterruptType, VirtioSharedMemoryList, +}; +pub use self::epoll_helper::{ + EpollHelper, EpollHelperError, EpollHelperHandler, EPOLL_HELPER_EVENT_LAST, +}; +pub use self::iommu::{AccessPlatformMapping, Iommu, IommuMapping}; +pub use self::mem::{BlocksState, Mem, VirtioMemMappingSource, VIRTIO_MEM_ALIGN_SIZE}; +pub use self::net::{Net, NetCtrlEpollHandler}; +pub use self::pmem::Pmem; +pub use self::rng::Rng; +pub use self::vdpa::{Vdpa, VdpaDmaMapping}; +pub use self::vsock::Vsock; +pub use self::watchdog::Watchdog; use vm_memory::{bitmap::AtomicBitmap, GuestAddress, GuestMemory}; use vm_virtio::VirtioDeviceType;