Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Support virtio-mem #2406

Closed
teawater opened this issue Jan 22, 2020 · 0 comments
Closed

Support virtio-mem #2406

teawater opened this issue Jan 22, 2020 · 0 comments
Assignees
Labels
feature New functionality needs-review Needs to be assessed by the team.

Comments

@teawater
Copy link
Member

teawater commented Jan 22, 2020

No description provided.

@teawater teawater added feature New functionality needs-review Needs to be assessed by the team. labels Jan 22, 2020
@teawater teawater self-assigned this Jan 22, 2020
teawater added a commit to teawater/runtime that referenced this issue Jan 22, 2020
This commit add qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of Linux kernel.  Because qemu virtio-mem device need
allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
teawater added a commit to teawater/runtime that referenced this issue Jan 22, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
teawater added a commit to teawater/runtime that referenced this issue Jan 23, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
teawater added a commit to teawater/runtime that referenced this issue Jan 24, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
teawater added a commit to teawater/runtime that referenced this issue Jan 24, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
@devimc devimc closed this as completed in b337428 Jan 27, 2020
dong-liuliu pushed a commit to dong-liuliu/runtime that referenced this issue Feb 8, 2020
Update github.com/intel/govmm.

shortlog:
    6667f4e qmp_test: Add TestExecMemdevAdd and TestExecQomSet
    201fd0a qmp: Add ExecMemdevAdd and ExecQomSet API
    e04be2c qmp: add ExecutePCIVhostUserDevAdd API
    13aeba0 qmp: support command 'chardev-remove'
    6d6b2d8 s390x: add s390x travis support

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
dong-liuliu pushed a commit to dong-liuliu/runtime that referenced this issue Feb 8, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
evanfoster pushed a commit to evanfoster/runtime that referenced this issue Mar 9, 2020
Update github.com/intel/govmm.

shortlog:
    6667f4e qmp_test: Add TestExecMemdevAdd and TestExecQomSet
    201fd0a qmp: Add ExecMemdevAdd and ExecQomSet API
    e04be2c qmp: add ExecutePCIVhostUserDevAdd API
    13aeba0 qmp: support command 'chardev-remove'
    6d6b2d8 s390x: add s390x travis support

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
evanfoster pushed a commit to evanfoster/runtime that referenced this issue Mar 9, 2020
This commit adds qemu virtio-mem support.
Then qemu can use virtio-mem support memory resize.

To enable this function, need the Linux and the qemu that support
virtio-mem.
Use command "echo 1 > /proc/sys/vm/overcommit_memory" to enable memory
overcommitment of the Linux kernel.  Because qemu virtio-mem device need
to allocate a lot of memory.
Set "enable_virtio_mem" of kata configuration to true.

Fixes: kata-containers#2406

Signed-off-by: Hui Zhu <teawater@antfin.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant