[PATCH V3 0/2] Add virtio endianness determination in KVM ARM/ARM64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In KVM ARM/ARM64 one can run cross-endian guset with respect to host kernel.
For virtio to work with this we need to make virtio code aware of
guest's endianness.
This patchset adds the guest endianness determination for KVM ARM/ARM64
and related small fix in KVM ARM64.

V2->V3:
- Renamed arm_cpu_virtio_endianness() to arm_cpu_is_big_endian()
- Added check for current exception level so that endianness
  for el0 is determined by looking at sctlr EOE and for others
  from sctlr EE bit.

V1->V2:
- Change the patch to be used generically for both ARM and ARM64.
- Define TARGET_IS_BIENDIAN for target-arm
- Address the review comments received in v1.
- Rebased code on top of latest qemu code.

V1:
- First patch in this series.
- http://lists.gnu.org/archive/html/qemu-devel/2014-10/msg03321.html


Pranavkumar Sawargaonkar (2):
  target-arm: KVM64: Get and Sync up guest register state like kvm32.
  target-arm: Guest cpu endianness determination for virtio KVM
    ARM/ARM64

 target-arm/cpu.c   | 24 ++++++++++++++++++++++++
 target-arm/cpu.h   |  2 ++
 target-arm/kvm64.c | 13 ++++++++++++-
 3 files changed, 38 insertions(+), 1 deletion(-)

-- 
1.9.1

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux