Merge "kata-os-model: move some debugging msgs to trace"

GitOrigin-RevId: a5a4dc29651f2f335f8e74adea153e37304c8ff8
This commit is contained in:
Sam Leffler 2022-06-02 20:03:57 +00:00
parent f9bf131a5b
commit 3f19e4b805
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ impl<'a> KataOsModel<'a> {
// CNode can receive the untypeds since we must move // CNode can receive the untypeds since we must move
// 'em from the rootserver (since they are "derived"). // 'em from the rootserver (since they are "derived").
// XXX maybe just complain & ignore // XXX maybe just complain & ignore
info!("Found bootinfo Frame at {}", obj_id); trace!("Found bootinfo Frame at {}", obj_id);
assert!(!is_objid_valid(bootinfo_frame)); assert!(!is_objid_valid(bootinfo_frame));
bootinfo_frame = obj_id; bootinfo_frame = obj_id;
} }

View File

@ -19,7 +19,7 @@ use core::mem::size_of;
use core::ptr; use core::ptr;
use cpio::CpioNewcReader; use cpio::CpioNewcReader;
use cstr_core::CStr; use cstr_core::CStr;
use log::{debug, info, error, trace}; use log::{debug, error, trace};
use smallvec::SmallVec; use smallvec::SmallVec;
use static_assertions::*; use static_assertions::*;
@ -944,7 +944,7 @@ impl<'a> KataOsModel<'a> {
.max_by_key(|slot| slot.slot) .max_by_key(|slot| slot.slot)
.map_or(0, |slot| slot.slot + 1); .map_or(0, |slot| slot.slot + 1);
info!("Hand-off {} untypeds from {} to {}", trace!("Hand-off {} untypeds from {} to {}",
num_untypeds, num_untypeds,
self.bootinfo.untyped.start, self.bootinfo.untyped.start,
dest_start); dest_start);