Re: [PATCH] arm64: KVM: export demux regids as KVM_REG_ARM64

2014-07-04 Thread Christoffer Dall
On Tue, Jul 01, 2014 at 04:56:50PM +0100, Marc Zyngier wrote: On 01/07/14 16:53, Alex Bennée wrote: I suspect this is a -ECUTPASTE fault from the initial implementation. If we don't declare the register ID to be KVM_REG_ARM64 the KVM_GET_ONE_REG implementation kvm_arm_get_reg() returns

Re: [PATCH] arm64: KVM: export demux regids as KVM_REG_ARM64

2014-07-01 Thread Marc Zyngier
On 01/07/14 16:53, Alex Bennée wrote: I suspect this is a -ECUTPASTE fault from the initial implementation. If we don't declare the register ID to be KVM_REG_ARM64 the KVM_GET_ONE_REG implementation kvm_arm_get_reg() returns -EINVAL and hilarity ensues. The kvm/api.txt document describes all

[PATCH] arm64: KVM: export demux regids as KVM_REG_ARM64

2014-07-01 Thread Alex Bennée
I suspect this is a -ECUTPASTE fault from the initial implementation. If we don't declare the register ID to be KVM_REG_ARM64 the KVM_GET_ONE_REG implementation kvm_arm_get_reg() returns -EINVAL and hilarity ensues. The kvm/api.txt document describes all arm64 registers as starting with 0x60xx...