diff options
| author | James Hogan <[email protected]> | 2017-03-14 10:15:21 +0000 |
|---|---|---|
| committer | James Hogan <[email protected]> | 2017-03-28 14:53:48 +0100 |
| commit | a517c1ad65921765d5ac8594567c7bb6f352655c (patch) | |
| tree | 1601c684dbbfde8c0e2a6a37c5a9151853a96242 /scripts/gdb/linux/lists.py | |
| parent | 578fd61d2d210a3b58dc107f5382b965922ac253 (diff) | |
KVM: MIPS: Init timer frequency from callback
Currently the software emulated timer is initialised to a frequency of
100MHz by kvm_mips_init_count(), but this isn't suitable for VZ where
the frequency of the guest timer matches that of the host.
Add a count_hz argument so the caller can specify the default frequency,
and move the call from kvm_arch_vcpu_create() to the implementation
specific vcpu_setup() callback, so that VZ can specify a different
frequency.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions