This repository was archived by the owner on May 12, 2021. It is now read-only.
Backports for 1.8#1882
Merged
chavafg merged 6 commits intokata-containers:stable-1.8from Jul 18, 2019
Merged
Conversation
Member
Author
|
/test |
Fixes: kata-containers#1856 Signed-off-by: Odin Ugedal <odin@ugedal.com>
Update the `TestQemuAddDeviceKataVSOCK` test so that it: - Doesn't hard-code the file descriptor number. - Cleans up after itself. The latter issue was causing an odd error similar to the following in the test output: ``` Unable to launch /tmp/vc-tmp-526112270/hypervisor: fork/exec /tmp/vc-tmp-526112270/hypervisor: permission denied ``` Partially fixes: kata-containers#1835. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
update govmm to support virtiofs memory hotplug
Commits:
0c900f5 Allow sharing of memory backend file
f695ddf qemu: add migration incoming defer support
f0f18dd qmp: add virtio-blk multiqueue
7d3deea qemu: Add a virtio-blk-pci device driver support
Fixes: kata-containers#1745
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
History: the previous version of kvm (unknown) and qemu-lite had an issue using virtio 1.0 version when it came to device hotplug, which led to the team to disable 1.0 version of virtio for hotplug (set disable-modern=on). Please check containers/virtcontainers@e99f6b2 for further info. We have since moved to QEMU4.0 and probably a later version of kvm as default across all distros. This change is to move to virtio 1.0 for hotplugging devices. Fixes: kata-containers#1870 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Kata with virtio-fs fails to do memory hotplugging. This is caused by the fact that hot plugged memory is always backed by 'memory-backend-ram' while virtio-fs expects it to be backed by file and shared for it to be able to use the system the way it is intended. This chnage allows using file based memory backend for virtio-fs, hugepages or when the user prefers to use a file backed memory Fixes: kata-containers#1745 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
jodh-intel
approved these changes
Jul 17, 2019
Codecov Report
@@ Coverage Diff @@
## stable-1.8 #1882 +/- ##
=============================================
Coverage ? 53.94%
=============================================
Files ? 106
Lines ? 13203
Branches ? 0
=============================================
Hits ? 7123
Misses ? 5234
Partials ? 846 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## stable-1.8 #1882 +/- ##
=============================================
Coverage ? 53.94%
=============================================
Files ? 106
Lines ? 13203
Branches ? 0
=============================================
Hits ? 7123
Misses ? 5234
Partials ? 846 |
Member
|
Member
Author
|
@ganeshmaharaj PTAL @ #1882 (comment) |
This was referenced Jul 18, 2019
Member
Author
|
/test Added x-ignore patch from @bergwolf - should pass CI now. let's wait for all to turn green. |
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
Member
Author
|
@chavafg @GabyCT are either of these familiar? From fedora: From vsock: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following fixes landed on master since RC0 and should be included:
c192343 virtiofs: Allow memory hotplug with virtiofs
0a18fba runtime: Disable disable-modern for virtio QMP add
0d7b981 vendor: update govmm and match code
c980da4 test: Fix fd leak causing test error
5628825 shimv2: Add missing page size to Hugetlb Stat
qemu: use x-ignore-shared to implement vm template