commit | 92a1f12d2598f429bd8639e21d89305e787115c5 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Mar 25 09:44:51 2011 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:06 2011 -0400 |
tree | 48a6b7d6c50b5583b5163185dd097db100a471c6 | |
parent | 857e40999e35906baa367a79137019912cfb5434 [diff] |
KVM: X86: Implement userspace interface to set virtual_tsc_khz This patch implements two new vm-ioctls to get and set the virtual_tsc_khz if the machine supports tsc-scaling. Setting the tsc-frequency is only possible before userspace creates any vcpu. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>