arm64: support NVDIMM#1323
Conversation
|
I'm not triggering ARM CI here for now, since this pr needs to wait packaging/#377 landed firstly. |
virtcontainers/qemu_arm64.go
Outdated
| if err != nil { | ||
| return nil, err | ||
| } | ||
| defer func() { _ = imageFile.Close() }() |
There was a problem hiding this comment.
Nit: You could make this simply:
defer imageFile.Close()There was a problem hiding this comment.
rignt, right, right. ;) update asap.
grahamwhaley
left a comment
There was a problem hiding this comment.
Nice work @Pennyzct Nice to see the test case added ;-)
lgtm
sboeuf
left a comment
There was a problem hiding this comment.
This looks good!
Please address comment from @jodh-intel and I have one comment regarding the commit qemu-arm64: disable dax on arm64. You should remove it, since you could remove the dax part from the initial commit.
|
@jodh-intel @sboeuf already updated. ;) ptal |
|
/test |
Original guest image was reprensented as block device in qemu-aarch64, and it will bring up write lock error when running multiple containers. Thanks to the new expanded IPA_SIZE feature in kernel 4.20 and Eric Auger's related patch set in qemu(which are still under upstream review), we could fully support nvdimm on arm64. Depends-on: github.com/kata-containers/packaging#377 Fixes: kata-containers#843 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
|
/test |
Since we overrided the func appendImage for aarch64, we should also provide related unit test. Fixes: kata-containers#843 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
|
/test |
|
Hi~ all. @grahamwhaley @jodh-intel @sboeuf a few sad news and one great news. |
|
Hi @Pennyzct \o/ for the ARM CI :-) |
|
/test |
|
@grahamwhaley I agree this is ARM specific, but the code being modified is in virtcontainers. There could be some unexpected relation with the common code that could cause some failures. I would feel more confident to merge this if we had at least our main |
|
Fedora CI failed with: Fedora vsocks CI failed with: Let's re-spin the wheels and see if the errors are consistent... |
|
/test |
|
/test |
|
2 failing CI's are known issues, so merging... |
|
Hi~@jodh-intel this pr is tested on ARM CI with the dependency of packaging#377, for now, packaging#377 hasn't been merged yet, I'm afraid ARM ci could break down. |
|
@Pennyzct - done ;) |
As Arm64 is using the block device as the rootfs in guest. If we run two or more kata-container instances
on one host, we will get following error:
Thanks to the new expanded IPA_SIZE feature in kernel 4.20 and Eric Auger's patch set ARM virt: Initial RAM expansion and PCDIMM/NVDIMM support in qemu(which are still under upstream review), we could fully support nvdimm on arm64.