kvm_stat: Abstract ioctl numbers
commita15d5642a03a0b6c6cf327e497e688d1ba4c676d
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Jun 2014 07:54:34 +0000 (17 17:54 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 Oct 2014 15:35:15 +0000 (31 16:35 +0100)
tree9fe389191548c82b5a28ff844405073474ac6a6a
parent4d4103ff32ee4c88857727515b5e596a1debc227
kvm_stat: Abstract ioctl numbers

Unfortunately ioctl numbers are platform specific, so abstract them out
of the code so they can be overridden. As it happens x86 and s390 share
the same values, so nothing needs to change yet.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/kvm/kvm_stat