Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exprimentally enable vcpu hotplug and virtio-mem on arm64 #3280

Closed
jongwu opened this issue Dec 16, 2021 · 0 comments
Closed

exprimentally enable vcpu hotplug and virtio-mem on arm64 #3280

jongwu opened this issue Dec 16, 2021 · 0 comments
Labels
area/arm Issues specific to the ARM architecture feature New functionality

Comments

@jongwu
Copy link
Contributor

jongwu commented Dec 16, 2021

As the vcpu hotplug and virtio-mem support on arm64 is on the road, we can pick them up as experimental and enable it in kata on arm64.
to enable vcpu hotplug, we need change on serval parts:

  • enable vcpu hotplug in guest kernel PR_3281
  • enable vcpu hotplug in qemu PR_3292
  • don't pass thread and socket info to qemu daemon in kata PR_3281
  • adjust kernel and qemu build script
  • add docs about how to use this feature in kata
@jongwu jongwu added feature New functionality needs-review Needs to be assessed by the team. labels Dec 16, 2021
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 16, 2021
virtio-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 16, 2021
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 16, 2021
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 16, 2021
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 16, 2021
git apply doesn't work on non-git repo, thus replace "git apply" with
"patch -p".

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
@katacontainersbot katacontainersbot moved this from To do to In progress in Issue backlog Dec 16, 2021
@Jakob-Naucke Jakob-Naucke added area/arm Issues specific to the ARM architecture and removed needs-review Needs to be assessed by the team. labels Dec 16, 2021
zyzii added a commit to zyzii/kata-containers that referenced this issue Dec 17, 2021
…io-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Signed-off-by: Huang Shijie <shijie8@gmail.com>
zyzii added a commit to zyzii/kata-containers that referenced this issue Dec 17, 2021
…io-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280

Signed-off-by: Huang Shijie <shijie8@gmail.com>
zyzii added a commit to zyzii/kata-containers that referenced this issue Dec 17, 2021
Enable the vcpu-hotplug with the patches (most patch are from Salil Mehta).

Fixes: kata-containers#3280

Signed-off-by: Huang Shijie <shijie8@gmail.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
virtio-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
git apply doesn't work on non-git repo, thus replace "git apply" with
"patch -p".

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Dec 20, 2021
git apply doesn't work on non-git repo, thus replace "git apply" with
"patch -p".

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
zyzii pushed a commit to zyzii/kata-containers that referenced this issue Jan 14, 2022
Initially enable vcpu hotplug in qemu for arm base on Salli's work[1].

Fiexes:kata-containers#3280
Signed-off-by: Huang Shijie <shijie@gmail.com>
zyzii pushed a commit to zyzii/kata-containers that referenced this issue Jan 14, 2022
Initially enable vcpu hotplug in qemu for arm base on Salli's work[1].

Fiexes:kata-containers#3280
Signed-off-by: Huang Shijie <shijie@gmail.com>

[1] https://github.com/salil-mehta/qemu/tree/virt-cpuhp-armv8/rfc-v1
zyzii pushed a commit to zyzii/kata-containers that referenced this issue Jan 14, 2022
Initially enable vcpu hotplug in qemu for arm base on Salli's work[1].

Fixes:kata-containers#3280
Signed-off-by: Huang Shijie <shijie@gmail.com>

[1] https://github.com/salil-mehta/qemu/tree/virt-cpuhp-armv8/rfc-v1

Signed-off-by: Huang Shijie <shijie8@gmail.com>
zyzii pushed a commit to zyzii/kata-containers that referenced this issue Jan 14, 2022
Initially enable vcpu hotplug in qemu for arm base on Salli's work[1].

Fixes:kata-containers#3280
Signed-off-by: Huang Shijie <shijie@gmail.com>

[1] https://github.com/salil-mehta/qemu/tree/virt-cpuhp-armv8/rfc-v1
zyzii added a commit to zyzii/kata-containers that referenced this issue Jan 14, 2022
Initially enable vcpu hotplug in qemu for arm base on Salli's work[1].

Fixes:kata-containers#3280

Signed-off-by: Huang Shijie <shijie8@gmail.com>
[1] https://github.com/salil-mehta/qemu/tree/virt-cpuhp-armv8/rfc-v1
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
virtio-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
virtio-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 24, 2022
git apply doesn't work on non-git repo, thus replace "git apply" with
"patch -p".

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 26, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 26, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 27, 2022
virtio-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 27, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 27, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Jan 27, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
…io-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
…io-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/kata-containers that referenced this issue Mar 4, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Issue backlog automation moved this from In progress to Done Mar 4, 2022
@katacontainersbot katacontainersbot moved this from Done to In progress in Issue backlog Mar 7, 2022
egernst pushed a commit to egernst/kata-containers that referenced this issue Apr 28, 2022
…io-mem

As the support for vcpu hotplug is on the road, I pick them up here as
experimental to let user try cpu hotplug and virtio-mem on arm64.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
egernst pushed a commit to egernst/kata-containers that referenced this issue Apr 28, 2022
I'm sure that it is correct to remove CONFIG_ARM64_UAO and
CONFIG_MANDATORY_FILE_LOCKING and . Both are gone in 5.15. Maintain a
specific config files for a kernel version is a little ugly. If someone
needs them, shout at me.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
egernst pushed a commit to egernst/kata-containers that referenced this issue Apr 28, 2022
Add a new entry of arm-kernel-experimental and let the kernel build
script support to build it.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
egernst pushed a commit to egernst/kata-containers that referenced this issue Apr 28, 2022
As this is just a initial vcpu hotplug support, thread and socket has
not been supported. So, don't set socket and thread when hotadd cpu for
arm/virt.

Fixes: kata-containers#3280
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arm Issues specific to the ARM architecture feature New functionality
Projects
Issue backlog
  
In progress
Development

No branches or pull requests

2 participants