[libvirt] [PATCH V2] AArch64: Porting of armv7l conditons to run qemu for aarch64.
Cole Robinson
crobinso at redhat.com
Thu Dec 5 17:24:21 UTC 2013
On 12/05/2013 07:18 AM, Pranavkumar Sawargaonkar wrote:
> AArch64 qemu has similar behavior as armv7l, like use of mmio etc.
> This patch adds similar bypass checks what we have for armv7l to aarch64.
> E.g. we are enabling mmio transport for Nicdev.
> Making addDefaultUSB and addDefaultMemballoon to false etc.
>
> This patch also adds testcase to qemuxml2argvtest as suggested
> during review comments of V1 of same patch.
>
> Signed-off-by: Anup Patel <anup.patel at linaro.org>
> Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar at linaro.org>
> ---
> src/qemu/qemu_capabilities.c | 2 +-
> src/qemu/qemu_command.c | 8 ++--
> src/qemu/qemu_domain.c | 4 ++
> .../qemuxml2argv-aarch64-virt-virtio.args | 14 ++++++
> .../qemuxml2argv-aarch64-virt-virtio.xml | 45 ++++++++++++++++++++
> tests/qemuxml2argvtest.c | 4 ++
> 6 files changed, 73 insertions(+), 4 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.xml
>
This causes test suite failures. The domain rng schema likely needs to be
adjusted for the new arch value, and I think the fake capabilities data needs
to be expanded as well, but I didn't look closely.
Please make sure that 'make check' and make syntax-check run correctly against
latest git.
- Cole
More information about the libvir-list
mailing list