mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Remove test on available entropy bits
As far as I can tell this always reports 256 for us now: https://lore.kernel.org/lkml/YmlMGx6+uigkGiZ0@zx2c4.com/ Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -963,13 +963,6 @@ impl Guest {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn get_entropy(&self) -> Result<u32, Error> {
|
||||
self.ssh_command("cat /proc/sys/kernel/random/entropy_avail")?
|
||||
.trim()
|
||||
.parse()
|
||||
.map_err(Error::Parsing)
|
||||
}
|
||||
|
||||
pub fn get_pci_bridge_class(&self) -> Result<String, Error> {
|
||||
Ok(self
|
||||
.ssh_command("cat /sys/bus/pci/devices/0000:00:00.0/class")?
|
||||
|
||||
Reference in New Issue
Block a user