canonical / canonical/pycloudlib

Feature Idea: emulate VMs with different architectures using QEMU

Open
#300 3 comments 2 reactions 1 assignee Claimed by @TheRealFalcon View on GitHub
Dominant language
Python
Stars
22
Forks
42
PR merge metrics
No merged PRs in 30d

Description

It might be convenient to have a "cloud" similar to lxd that uses `qemu` directly to emulate a different architecture. This would allow us to write and run integration tests for arm64 machines locally on x86_64 machines.

Some downsides are:
* performance penalty from emulation - is it so slow that it's not even worth it?
* I don't know of a convenient wrapper for this similar to lxd, so we'd have to use qemu for a particular arch directly and figure out how to bootstrap an SSH connection. I'm also not sure what the best way to query images would be.

Thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.