commit | 8d17dd041a548b016ff401d36be6b2563c940ed5 | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Thu May 23 09:49:08 2013 -0700 |
committer | Gleb Natapov <gleb@redhat.com> | Mon Jun 03 10:58:53 2013 +0300 |
tree | 11c612dc66c96e619c141f8f82f41a0b3e637eac | |
parent | bf32ebf66d74e8a196256d7ac2a4f3c6938c614a [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>