From fee0004ad4e3412efe40b13981c7d9ab03cf0e9c Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Sat, 29 May 2021 11:15:50 +0800 Subject: [PATCH] runtime: remove TODO about hot add memory in qemu.go Already addressed by https://github.com/kata-containers/runtime/pull/786 Signed-off-by: Peng Tao --- src/runtime/virtcontainers/qemu.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime/virtcontainers/qemu.go b/src/runtime/virtcontainers/qemu.go index cf1c4377ee..42085fd8c3 100644 --- a/src/runtime/virtcontainers/qemu.go +++ b/src/runtime/virtcontainers/qemu.go @@ -2256,7 +2256,6 @@ func calcHotplugMemMiBSize(mem uint32, memorySectionSizeMB uint32) (uint32, erro return mem, nil } - // TODO: hot add memory aligned to memory section should be more properly. See https://github.com/kata-containers/runtime/pull/624#issuecomment-419656853 return uint32(math.Ceil(float64(mem)/float64(memorySectionSizeMB))) * memorySectionSizeMB, nil }