shuru-linux 0.3.2

KVM backend for shuru
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// A virtio memory balloon. The guest reports free pages back to the host
/// on its own, and `VirtualMachine::set_memory_target` can ask it to give
/// up more.
pub struct VirtioMemoryBalloonDevice;

impl VirtioMemoryBalloonDevice {
    pub fn new() -> Self {
        VirtioMemoryBalloonDevice
    }
}

impl Default for VirtioMemoryBalloonDevice {
    fn default() -> Self {
        Self::new()
    }
}