On 10/08/2013 09:49 AM, Pranavkumar Sawargaonkar wrote:
This patchset extends libvirt for AArch64 (armv8a).
All patches have been tested on APM X-Gene SoC and we are able
to run libvirtd on APM X-Gene SOC and spawn VMs remotely using
virsh and virt-manager.
Pranavkumar Sawargaonkar (6):
AArch64: Add AArch64 architecture to list of valid arches.
AArch64: CPU Support for AArch64 (ARMv8 64bit).
AArch64: Parse cputopology from /proc/cpuinfo.
Implement minimal sysinfo for AArch64 platforms.
Add parsing of AArch64 qemu capabilities.
AArch64: Add qemu capabilities schemeta for test.
src/Makefile.am | 1 +
src/cpu/cpu.c | 2 +
src/cpu/cpu_aarch64.c | 79 ++++++++++++++++++++++++++
src/cpu/cpu_aarch64.h | 31 ++++++++++
src/nodeinfo.c | 5 +-
src/qemu/qemu_capabilities.c | 4 ++
src/util/virarch.c | 1 +
src/util/virarch.h | 1 +
src/util/virsysinfo.c | 3 +-
tests/capabilityschemadata/caps-qemu-kvm.xml | 11 ++++
tests/sysinfodata/aarch64cpuinfo.data | 10 ++++
tests/sysinfodata/aarch64sysinfo.expect | 10 ++++
tests/sysinfotest.c | 14 ++++-
13 files changed, 168 insertions(+), 4 deletions(-)
create mode 100644 src/cpu/cpu_aarch64.c
create mode 100644 src/cpu/cpu_aarch64.h
create mode 100644 tests/sysinfodata/aarch64cpuinfo.data
create mode 100644 tests/sysinfodata/aarch64sysinfo.expect
I pushed 1-4 and 6, skipping 5 since as Dan pointed out it shouldn't be required.
2 needed a small fix due to a recent libvirt refactoring.
6 needed a small schema addition, please make sure you have xmllint installed,
since certain tests need it.
- Cole