summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Delco <delco@chromium.org>2019-10-08 10:32:53 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-23 22:20:03 +0000
commit30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5 (patch)
treeb2c58226f3e35fce5da2e54e6266a39d334f6742
parentaf18794da416a2d5549b5c4db8e9ef6ec8937a95 (diff)
downloadcrosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar.gz
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar.bz2
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar.lz
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar.xz
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.tar.zst
crosvm-30de32f2af9a2a57d74a7fdaf01e6e1fdce3c9e5.zip
plugin: rename signal call
There was a rename of the signal handler function for rt
signals.  This renames the plugin use to be consistent with the
non-plugin case.

BUG=None.
TEST=Local compile.

Change-Id: I5bf2e19754183022dbfe31fd1fdeceb83e07c18a
Signed-off-by: Matt Delco <delco@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1846680
Reviewed-by: Zach Reizner <zachr@chromium.org>
-rw-r--r--src/plugin/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin/mod.rs b/src/plugin/mod.rs
index 3453f38..e62fd39 100644
--- a/src/plugin/mod.rs
+++ b/src/plugin/mod.rs
@@ -31,7 +31,7 @@ use kvm::{Datamatch, IoeventAddress, Kvm, Vcpu, VcpuExit, Vm};
 use net_util::{Error as TapError, Tap, TapT};
 use sys_util::{
     block_signal, clear_signal, drop_capabilities, error, getegid, geteuid, info, pipe,
-    register_signal_handler, validate_raw_fd, warn, Error as SysError, EventFd, GuestMemory,
+    register_rt_signal_handler, validate_raw_fd, warn, Error as SysError, EventFd, GuestMemory,
     Killable, MmapError, PollContext, PollToken, Result as SysResult, SignalFd, SignalFdError,
     SIGRTMIN,
 };
@@ -394,7 +394,7 @@ pub fn run_vcpus(
                         // We need to install this signal handler even though we do block
                         // the signal below, to ensure that this signal will interrupt
                         // execution of KVM_RUN (this is implementation issue).
-                        register_signal_handler(SIGRTMIN() + 0, handle_signal)
+                        register_rt_signal_handler(SIGRTMIN() + 0, handle_signal)
                             .expect("failed to register vcpu signal handler");
                     }