target-arm: Add minimal KVM AArch64 support
commit26861c7ce06c055786323ff4c65af74d735d1c19
authorMian M. Hamayun <m.hamayun@virtualopensystems.com>
Tue, 17 Dec 2013 19:42:30 +0000 (17 19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 19:42:30 +0000 (17 19:42 +0000)
treea8b61427d2fc8d1cc1b1c9258a4275595fb056d9
parentd356312fdc8640af929e0dbab61c6e514d47feb8
target-arm: Add minimal KVM AArch64 support

Add the bare minimum set of functions needed for control of an
AArch64 KVM vcpu:
 * CPU initialization
 * minimal get/put register functions which only handle the
   basic state of the CPU

Signed-off-by: Mian M. Hamayun <m.hamayun@virtualopensystems.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1385645602-18662-4-git-send-email-peter.maydell@linaro.org
[PMM: significantly overhauled; most notably:
 * code lives in kvm64.c rather than using #ifdefs
 * support '-cpu host' rather than implicitly using whatever the
   host's CPU is regardless of what the user requests
 * fix bug attempting to get/set nonexistent X[31]
 * fix bug writing 64 bit kernel pstate into uint32_t env field
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
target-arm/Makefile.objs
target-arm/kvm.c
target-arm/kvm64.c [new file with mode: 0644]