diff --git a/test_infra/src/lib.rs b/test_infra/src/lib.rs index 7d432b435..276bb2803 100644 --- a/test_infra/src/lib.rs +++ b/test_infra/src/lib.rs @@ -868,14 +868,6 @@ impl Guest { .map_err(Error::Parsing) } - #[cfg(target_arch = "x86_64")] - pub fn get_initial_apicid(&self) -> Result { - self.ssh_command("grep \"initial apicid\" /proc/cpuinfo | grep -o \"[0-9]*\"")? - .trim() - .parse() - .map_err(Error::Parsing) - } - pub fn get_total_memory(&self) -> Result { self.ssh_command("grep MemTotal /proc/meminfo | grep -o \"[0-9]*\"")? .trim() diff --git a/tests/integration.rs b/tests/integration.rs index 88f9167b3..8bb2e64dc 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1942,7 +1942,6 @@ mod common_parallel { guest.wait_vm_boot(Some(120)).unwrap(); assert_eq!(guest.get_cpu_count().unwrap_or_default(), 1); - assert_eq!(guest.get_initial_apicid().unwrap_or(1), 0); assert!(guest.get_total_memory().unwrap_or_default() > 480_000); assert_eq!(guest.get_pci_bridge_class().unwrap_or_default(), "0x060000");