-
Notifications
You must be signed in to change notification settings - Fork 195
ci: Fixes to build experimental QEMU with virtiofs #2737
ci: Fixes to build experimental QEMU with virtiofs #2737
Conversation
Update to qemu 5.0.x with support for virtiofs + dax. Depends-on: github.com/kata-containers/packaging#1097 Depends-on: github.com/kata-containers/tests#2737 Fixes: kata-containers#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
/test-virtiofs |
84c97d1
to
26b3432
Compare
/test |
Update build scripts for qemu-virtiofs Depends-on: github.com/kata-containers/runtime#2840 Depends-on: github.com/kata-containers/tests#2737 Fixes: github.com/kata-containers/runtime#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
.ci/install_runtime.sh
Outdated
fi | ||
fi | ||
if [ "$CI" == true ] && [ "$(uname -m)" == "x86_64" ]; then | ||
qemu_version="$(get_version "assets.hypervisor.qemu.version")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcvenegas Is this just a placeholder change for testing CI for the change you are working on for virtiofs-qemu?
Because, here you are fetching version of qemu and not experimental/virtiofs qemu.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amshinde fixed
Experimental QEMU will be updated to qemu 5.0, not needed to check for qemu version and disable in all the time. Depends-on: github.com/kata-containers/packaging#1097 Depends-on: github.com/kata-containers/runtime#2840 Fixes: kata-containers#2736 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
f4309c0
to
c7545b3
Compare
On upgrade for qemu 5.0 + virtiofs, the virtiofsd daemon virtiofsd forks itself so, smem sees the process two times, the JSON creation failed to build a valid JSON file because two times the number of expected virtiofs values were added, this fix by calculating the PSS usage of virtiofsd, this is the sum of the two virtiofsd process seen by smem. Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
ed3558e
to
0f26e2f
Compare
Update to qemu 5.0.x with support for virtiofs + dax. Depends-on: github.com/kata-containers/packaging#1097 Depends-on: github.com/kata-containers/tests#2737 Fixes: kata-containers#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
Update build scripts for qemu-virtiofs Depends-on: github.com/kata-containers/runtime#2840 Depends-on: github.com/kata-containers/tests#2737 Fixes: github.com/kata-containers/runtime#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
Update build scripts for qemu-virtiofs Depends-on: github.com/kata-containers/runtime#2840 Depends-on: github.com/kata-containers/tests#2737 Fixes: github.com/kata-containers/runtime#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
Update build scripts for qemu-virtiofs. - virtiofs-0.3 patches are not needed - Sync build on how vanilla qemu is built - Apply patches for virtiofsd if any (none today) - Apply patches that are used for the qemu vanilla - Apply patches in order Depends-on: github.com/kata-containers/runtime#2840 Depends-on: github.com/kata-containers/tests#2737 Fixes: github.com/kata-containers/runtime#2848 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
/test |
1 similar comment
/test |
This PR is required as the dependent PR of kata-containers/runtime#2840. PTAL. @amshinde @GabyCT @jcvenegas I assume there is no blockers to merge this PR. Please correct me if I am wrong. |
@likebreath yes, this should be merged now that the other PR was merge, this needs some ack to get it merged |
# memory of virtiofsd. | ||
# It is a special case of get_pss_memory, | ||
# virtiofsd forks itself so, smem sees the process | ||
# two times, this function sum both pss values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/sum/sums
Depends-on: github.com/kata-containers/packaging#1097
Depends-on: github.com/kata-containers/runtime#2840
Fixes: #2736
Signed-off-by: Jose Carlos Venegas Munoz [email protected]