Skip to main content

vm_ch/
entropy.rs

1/// Placeholder — the guest gets entropy from the kernel's virtio-rng
2/// if present in the FDT. Kept for API compatibility with vm-darwin.
3pub struct VirtioEntropyDevice;
4
5impl VirtioEntropyDevice {
6    pub fn new() -> Self {
7        VirtioEntropyDevice
8    }
9}
10
11impl Default for VirtioEntropyDevice {
12    fn default() -> Self {
13        Self::new()
14    }
15}