File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,6 @@ const VIRTIO_BALLOON_S_HTLB_PGFAIL: u16 = 9;
67
67
/// Balloon device related errors.
68
68
#[ derive( Debug , thiserror:: Error , displaydoc:: Display ) ]
69
69
pub enum BalloonError {
70
- /// No balloon device found.
71
- DeviceNotFound ,
72
70
/// Device not activated yet.
73
71
DeviceNotActive ,
74
72
/// EventFd error: {0}
Original file line number Diff line number Diff line change @@ -16,18 +16,10 @@ type MutexBalloon = Arc<Mutex<Balloon>>;
16
16
pub enum BalloonConfigError {
17
17
/// No balloon device found.
18
18
DeviceNotFound ,
19
- /// Device is inactive, check if balloon driver is enabled in guest kernel.
20
- DeviceNotActive ,
21
- /// Cannot enable/disable the statistics after boot.
22
- InvalidStatsUpdate ,
23
19
/// Amount of pages requested is too large.
24
20
TooManyPagesRequested ,
25
- /// Statistics for the balloon device are not enabled
26
- StatsNotFound ,
27
21
/// Error creating the balloon device: {0}
28
22
CreateFailure ( crate :: devices:: virtio:: balloon:: BalloonError ) ,
29
- /// Error updating the balloon device configuration: {0}
30
- UpdateFailure ( std:: io:: Error ) ,
31
23
/// Firecracker's huge pages support is incompatible with memory ballooning.
32
24
HugePages ,
33
25
}
You can’t perform that action at this time.
0 commit comments