This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
runtime: support memory hotplug via probe interface on aarch64 #1149
Comments
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 18, 2019
In order to support memory hotplug via probe interface in kata-runtime, firstly, we need to verify whether guest kernel is capable of that. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 18, 2019
…nterface If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 18, 2019
…nterfacce we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 30, 2019
In order to support memory hotplug via probe interface in kata-runtime, firstly, we need to verify whether guest kernel is capable of that. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 30, 2019
…nterface If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 30, 2019
…nterfacce we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
In order to support memory hotplug via probe interface in kata-runtime, firstly, we need to verify whether guest kernel is capable of that. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
…nterface If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
…nterfacce we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
We need to change the constraints of kata agent into the memory-hotplug related commit, to keep track of the revisons in kata agent. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
…nterfacce we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 6, 2019
We need to change the constraints of kata agent into the memory-hotplug related commit, to keep track of the revisons in kata agent. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 12, 2019
In order to support memory hotplug via probe interface in kata-runtime, firstly, we need to verify whether guest kernel is capable of that. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 12, 2019
If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 12, 2019
we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 12, 2019
We need to change the constraints of kata agent into the memory-hotplug related commit, to keep track of the revisons in kata agent. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 13, 2019
In order to support memory hotplug via probe interface in kata-runtime, firstly, we need to verify whether guest kernel is capable of that. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 13, 2019
If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 13, 2019
we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Mar 13, 2019
We need to change the constraints of kata agent into the memory-hotplug related commit, to keep track of the revisons in kata agent. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Apr 4, 2019
If kata-runtime supports memory hotplug via probe interface, we need to reconstruct memoryDevice to store relevant status, which are addr and probe. addr specifies the physical address of the memory device, and probe determines it is hotplugged via acpi-driven or probe interface. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Apr 4, 2019
we need to notify guest kernel about memory hot-added event via probe interface. hot-added memory deivce should be sliced into the size of memory section. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Apr 4, 2019
We need to change the constraints of kata agent into the memory-hotplug related commit, to keep track of the revisons in kata agent. Fixes: kata-containers#1149 Signed-off-by: Penny Zheng <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description of problem
There are 2 phases in Memory Hotplug. 1) Physical Memory Hotplug phase. 2) Logical Memory Hotplug phase.
The First phase is to communicate hardware/firmware and make/erase environment for hotplugged memory.
If firmware supports notification of connection of new memory to OS, this phase is triggered automatically. ACPI can notify this event. This also what kata supports, memory hotplug via acpi-driven.
But if not, there is another option,
probe
operation by hand.And since memory hotplug via acpi is missing on qemu-system-aarch64, we hope to support the other
probe
solution.the whole detailed info about
probe
interface could be found here.This whole implementation of memory hotplug via probe interface is divided into two phases, the first is to check if guest kernel is capable of memory hot-add via probe interface, which is located at
/sys/devices/system/memory/probe
.The second is let kata-agent tell guest kernel the physical address of new memory block.
echo start_address_of_new_memory > /sys/devices/system/memory/probe
Expected result
The text was updated successfully, but these errors were encountered: