providers/libvirt: add support for aarch64 host #2193
Merged
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.
Create domainXML for aarch64/arm64 arch in cloud-provider/libvirt, and check iommu=on for virtio device only in test.
This patch is similar to 63a002c, and ARM CCA CVM will be added later like 4422f14, when it's ready. This will initially support non-CCA workloads and eventually allow the creation of a Realm on a local/remote host.
go test on aarch64/arm64 host:
go test on x86_64/amd64 host:
libvirt E2E test needs additional changes in build scripts (operator and cloud-api-adaptor to build the new code) plus podvm to run on aarch64/arm64 machine. Those will be separated as they're more related to build.
E2E tests were done on aarch64/arm64 baremetal server to run demo peer-pods:
(based on v0.9.0 and v0.10.0 podvm, latest v0.11.0 podvm introduced cached artifacts in #2074).