mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: 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
dcaccf21ea
commit
0caa3ee73f
@@ -58,12 +58,7 @@ use hypervisor::{CpuState, HypervisorCpuError, VmExit, VmOps};
|
|||||||
use libc::{c_void, siginfo_t};
|
use libc::{c_void, siginfo_t};
|
||||||
#[cfg(all(target_arch = "x86_64", feature = "guest_debug"))]
|
#[cfg(all(target_arch = "x86_64", feature = "guest_debug"))]
|
||||||
use linux_loader::elf::Elf64_Nhdr;
|
use linux_loader::elf::Elf64_Nhdr;
|
||||||
#[cfg(any(
|
use log::{debug, error, info, warn};
|
||||||
target_arch = "aarch64",
|
|
||||||
all(target_arch = "x86_64", feature = "guest_debug")
|
|
||||||
))]
|
|
||||||
use log::debug;
|
|
||||||
use log::{error, info, warn};
|
|
||||||
use seccompiler::{SeccompAction, apply_filter};
|
use seccompiler::{SeccompAction, apply_filter};
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
use tracer::trace_scoped;
|
use tracer::trace_scoped;
|
||||||
@@ -979,7 +974,7 @@ impl CpuManager {
|
|||||||
cpu_id: u32,
|
cpu_id: u32,
|
||||||
snapshot: Option<&Snapshot>,
|
snapshot: Option<&Snapshot>,
|
||||||
) -> Result<Arc<Mutex<Vcpu>>> {
|
) -> Result<Arc<Mutex<Vcpu>>> {
|
||||||
info!("Creating vCPU: cpu_id = {cpu_id}");
|
debug!("Creating vCPU: cpu_id = {cpu_id}");
|
||||||
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
let topology = self.get_vcpu_topology();
|
let topology = self.get_vcpu_topology();
|
||||||
@@ -1229,7 +1224,7 @@ impl CpuManager {
|
|||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
let interrupt_controller_clone = self.interrupt_controller.as_ref().cloned();
|
let interrupt_controller_clone = self.interrupt_controller.as_ref().cloned();
|
||||||
|
|
||||||
info!("Starting vCPU: cpu_id = {vcpu_id}");
|
debug!("Starting vCPU: cpu_id = {vcpu_id}");
|
||||||
|
|
||||||
let handle = Some(
|
let handle = Some(
|
||||||
thread::Builder::new()
|
thread::Builder::new()
|
||||||
|
|||||||
@@ -656,7 +656,6 @@ impl SendAdditionalConnections {
|
|||||||
worker_error: &AtomicBool,
|
worker_error: &AtomicBool,
|
||||||
notify_tx: &Sender<SendMemoryThreadNotify>,
|
notify_tx: &Sender<SendMemoryThreadNotify>,
|
||||||
) -> Result<(), MigratableError> {
|
) -> Result<(), MigratableError> {
|
||||||
info!("Spawned thread to send VM memory.");
|
|
||||||
loop {
|
loop {
|
||||||
// Every memory sending thread receives messages from the main thread through this
|
// Every memory sending thread receives messages from the main thread through this
|
||||||
// channel. The lock is necessary to synchronize the multiple consumers. If the
|
// channel. The lock is necessary to synchronize the multiple consumers. If the
|
||||||
|
|||||||
Reference in New Issue
Block a user