KVM: i8254: don't assume layout of kvm_kpit_state
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 2 Mar 2016 21:56:50 +0000 (22:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 08:30:18 +0000 (09:30 +0100)
commit34f3941c42e22217e39f442e15401ae53a23f8cb
treefc8d5b3332e9466cd85e4095090b79070ada9e48
parent4a2095df8ab1671078c46d988e1b83baf42db4f6
KVM: i8254: don't assume layout of kvm_kpit_state

channels has offset 0 and correct size now, but that can change.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c