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:
Philipp Schuster
2026-06-24 12:52:15 +02:00
committed by Sebastien Boeuf
parent cc98a232e6
commit dcaccf21ea
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ use std::sync::Barrier;
use std::sync::atomic::{AtomicBool, Ordering};
use std::{io, result, thread};
use log::info;
use log::debug;
use thiserror::Error;
use vmm_sys_util::eventfd::EventFd;
@@ -212,11 +212,11 @@ impl EpollHelper {
match ev_type {
EPOLL_HELPER_EVENT_KILL => {
info!("KILL_EVENT received, stopping epoll loop");
debug!("KILL_EVENT received, stopping epoll loop");
return Ok(());
}
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
// paused_sync barrier.
@@ -284,11 +284,11 @@ impl EpollHelper {
match ev_type {
EPOLL_HELPER_EVENT_KILL => {
info!("KILL_EVENT received, stopping epoll loop");
debug!("KILL_EVENT received, stopping epoll loop");
return Ok(());
}
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
// paused_sync barrier.

View File

@@ -290,7 +290,7 @@ impl NetEpollHandler {
{
helper.add_event(self.net.tap.as_raw_fd(), RX_TAP_EVENT)?;
self.net.rx_tap_listening = true;
info!("Listener registered at start");
debug!("Listener registered at start");
}
// The NetQueuePair needs the epoll fd.