mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
tests: integration: Check different virtio-fs SHM region names
Depending on the kernel version the SHM region has a different name. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
14af74cb5b
commit
2e87d5ae02
@ -1054,8 +1054,9 @@ mod tests {
|
||||
dax: bool,
|
||||
cache_size: Option<u64>,
|
||||
) -> Result<bool, Error> {
|
||||
// SHM region is called different things depending on kernel
|
||||
let shm_region = self
|
||||
.ssh_command("sudo grep virtio-pci-shm /proc/iomem")?
|
||||
.ssh_command("sudo grep 'virtio[0-9]\\|virtio-pci-shm' /proc/iomem")?
|
||||
.trim()
|
||||
.to_string();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user