]> git.proxmox.com Git - mirror_qemu.git/commit - hw/spapr.c
PPC: SPAPR: Use KVM function for time info
authorAlexander Graf <agraf@suse.de>
Tue, 9 Aug 2011 16:07:13 +0000 (18:07 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:02 +0000 (09:48 +0200)
commit0a8b293893051f5c170ae7a2209c12fb92666027
treefa7096152276e916ee76bd0d99ac7c61b3d3afa0
parentf61b4bedaf3508b0dffa2e4b277af1f6646c3418
PPC: SPAPR: Use KVM function for time info

One of the things we can't fake on PPC is the timer speed. So
we need to extract the frequency information from the host and
put it back into the guest device tree.

Luckily, we already have functions for that from the non-pseries
targets, so all we need to do is to connect the dots and the guest
suddenly gets to know its real timer speeds.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c