mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: silence some info! messages
We have larger cloud deployments and analyzed the logs. Let's silence some messages that generally provide little value on the `info!` level. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
committed by
Sebastien Boeuf
parent
cc98a232e6
commit
dcaccf21ea
@@ -14,7 +14,7 @@ use std::sync::Barrier;
|
|||||||
use std::sync::atomic::{AtomicBool, Ordering};
|
use std::sync::atomic::{AtomicBool, Ordering};
|
||||||
use std::{io, result, thread};
|
use std::{io, result, thread};
|
||||||
|
|
||||||
use log::info;
|
use log::debug;
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
use vmm_sys_util::eventfd::EventFd;
|
use vmm_sys_util::eventfd::EventFd;
|
||||||
|
|
||||||
@@ -212,11 +212,11 @@ impl EpollHelper {
|
|||||||
|
|
||||||
match ev_type {
|
match ev_type {
|
||||||
EPOLL_HELPER_EVENT_KILL => {
|
EPOLL_HELPER_EVENT_KILL => {
|
||||||
info!("KILL_EVENT received, stopping epoll loop");
|
debug!("KILL_EVENT received, stopping epoll loop");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
EPOLL_HELPER_EVENT_PAUSE => {
|
EPOLL_HELPER_EVENT_PAUSE => {
|
||||||
info!("PAUSE_EVENT received, pausing epoll loop");
|
debug!("PAUSE_EVENT received, pausing epoll loop");
|
||||||
|
|
||||||
// Acknowledge the pause is effective by using the
|
// Acknowledge the pause is effective by using the
|
||||||
// paused_sync barrier.
|
// paused_sync barrier.
|
||||||
@@ -284,11 +284,11 @@ impl EpollHelper {
|
|||||||
|
|
||||||
match ev_type {
|
match ev_type {
|
||||||
EPOLL_HELPER_EVENT_KILL => {
|
EPOLL_HELPER_EVENT_KILL => {
|
||||||
info!("KILL_EVENT received, stopping epoll loop");
|
debug!("KILL_EVENT received, stopping epoll loop");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
EPOLL_HELPER_EVENT_PAUSE => {
|
EPOLL_HELPER_EVENT_PAUSE => {
|
||||||
info!("PAUSE_EVENT received, pausing epoll loop");
|
debug!("PAUSE_EVENT received, pausing epoll loop");
|
||||||
|
|
||||||
// Acknowledge the pause is effective by using the
|
// Acknowledge the pause is effective by using the
|
||||||
// paused_sync barrier.
|
// paused_sync barrier.
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ impl NetEpollHandler {
|
|||||||
{
|
{
|
||||||
helper.add_event(self.net.tap.as_raw_fd(), RX_TAP_EVENT)?;
|
helper.add_event(self.net.tap.as_raw_fd(), RX_TAP_EVENT)?;
|
||||||
self.net.rx_tap_listening = true;
|
self.net.rx_tap_listening = true;
|
||||||
info!("Listener registered at start");
|
debug!("Listener registered at start");
|
||||||
}
|
}
|
||||||
|
|
||||||
// The NetQueuePair needs the epoll fd.
|
// The NetQueuePair needs the epoll fd.
|
||||||
|
|||||||
Reference in New Issue
Block a user