commit | 09edea72b7f9fd8a8d26c1f7504d989b9773ee5e | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Wed Mar 02 22:56:43 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 04 09:29:55 2016 +0100 |
tree | 41d3482e71883d6ebabce616bc91c8d6d982da9c | |
parent | b69d920f68b119bdc0483f0c33d34fd0c57724f5 [diff] |
KVM: i8254: pass struct kvm_pit instead of kvm in PIT This patch passes struct kvm_pit into internal PIT functions. Those functions used to get PIT through kvm->arch.vpit, even though most of them never used *kvm for other purposes. Another benefit is that we don't need to set kvm->arch.vpit during initialization. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>