Skip to main content

vm_ch/
memory_balloon.rs

1/// Placeholder — memory balloon is not yet implemented for KVM.
2/// Kept for API compatibility with vm-darwin.
3pub struct VirtioMemoryBalloonDevice;
4
5impl VirtioMemoryBalloonDevice {
6    pub fn new() -> Self {
7        VirtioMemoryBalloonDevice
8    }
9}
10
11impl Default for VirtioMemoryBalloonDevice {
12    fn default() -> Self {
13        Self::new()
14    }
15}