Expand description
Wrapper for configuring the balloon device.
Re-exports§
pub use crate::devices::virtio::balloon::BALLOON_DEV_ID;pub use crate::devices::virtio::balloon::device::BalloonStats;
Structs§
- Balloon
Builder - A builder for
Balloondevices from ‘BalloonDeviceConfig’. - Balloon
Device Config - This struct represents the strongly typed equivalent of the json body from balloon related requests.
- Balloon
Update Config - The data fed into a balloon update request. Currently, only the number of pages and the stats polling interval can be updated.
- Balloon
Update Stats Config - The data fed into a balloon statistics interval update request. Note that the state of the statistics cannot be changed from ON to OFF or vice versa after boot, only the interval of polling can be changed if the statistics were activated in the device configuration.
Enums§
- Balloon
Config Error - Errors associated with the operations allowed on the balloon.