mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 08:47:56 +00:00
sandbox: The unit of newMemory is MB
change Bytes to MB in log Fixes: #2068 Signed-off-by: Wang Liang <wangliangzz@inspur.com>
This commit is contained in:
parent
74e7d3dba7
commit
c81db9c3da
@ -1846,7 +1846,7 @@ func (s *Sandbox) updateResources() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
s.Logger().Debugf("Sandbox memory size: %d Byte", newMemory)
|
||||
s.Logger().Debugf("Sandbox memory size: %d MB", newMemory)
|
||||
if s.state.GuestMemoryHotplugProbe && updatedMemoryDevice.addr != 0 {
|
||||
//notify the guest kernel about memory hot-add event, before onlining them
|
||||
s.Logger().Debugf("notify guest kernel memory hot-add event via probe interface, memory device located at 0x%x", updatedMemoryDevice.addr)
|
||||
|
Loading…
Reference in New Issue
Block a user