dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

Can libvirt X86 platform run arm architecture system #968

Open anyone0034 opened 1 year ago

anyone0034 commented 1 year ago

System Information

Can libvirt X86 platform run arm system?

ellcs commented 1 year ago

I assume that you meant x86-64. If my assumption is incorrect, the following should apply too:

libvirt itself is no emulator. Depending your chosen backend, you can run ARM systems. The common backend is qemu in two instances: qemu:///system and qemu:///session. qemu can emulate various cpu architectures. You might have to install additional architectures. Most linux systems provide qemu and the architectures (including arm) in their package managers. Here is a list of architectures supported by qemu:

In archlinux you can install qemu-full, which includes most architectures. In debian, you can use qemu-system-arm as addition to the plain qemu installation.

anyone0034 commented 1 year ago

I assume that you meant x86-64. If my assumption is incorrect, the following should apply too:

libvirt itself is no emulator. Depending your chosen backend, you can run ARM systems. The common backend is qemu in two instances: qemu:///system and qemu:///session. qemu can emulate various cpu architectures. You might have to install additional architectures. Most linux systems provide qemu and the architectures (including arm) in their package managers. Here is a list of architectures supported by qemu:

In archlinux you can install qemu-full, which includes most architectures. In debian, you can use qemu-system-arm as addition to the plain qemu installation.

thinks

ellcs commented 1 year ago

@anyone0034: please close this issue if you see it as resolved.