Revert^2 "Add --no-pmu option to VM"
f17b2ca2ec7198b96a9a468cedebffac0947b437
Bug: 360388014
Test: tested on pixel
Change-Id: I6baa76887b1911be76acf3a5e692dadc6ffb4661
diff --git a/android/virtmgr/src/crosvm.rs b/android/virtmgr/src/crosvm.rs
index 25271f8..ed45a51 100644
--- a/android/virtmgr/src/crosvm.rs
+++ b/android/virtmgr/src/crosvm.rs
@@ -1062,6 +1062,9 @@
command.arg(add_preserved_fd(&mut preserved_fds, kernel));
}
+ #[cfg(target_arch = "aarch64")]
+ command.arg("--no-pmu");
+
let control_sock = create_crosvm_control_listener(crosvm_control_socket_path)
.context("failed to create control listener")?;
command.arg("--socket").arg(add_preserved_fd(&mut preserved_fds, control_sock));