commit | 7c907f7790a06f00d0f5f6265e7c9c07f81c7dd2 | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Thu May 23 09:49:08 2013 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 28 13:40:45 2013 +0200 |
tree | 9ea9cbd73a8c39c70d3a8afc01bf7e1192b30924 | |
parent | 0f706b28a214e4d6d33b91a351067561f303c2d1 [diff] |
mips/kvm: Use ARRAY_SIZE() instead of hardcoded constants in kvm_arch_vcpu_ioctl_{s,g}et_regs Also we cannot set special zero register, so force it to zero. Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: Sanjay Lal <sanjayl@kymasys.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>