Re: [Qemu-devel] [PATCH 1/2] ppc: Generalize the kvmppc_get_clockfreq() function

2011-10-12 Thread Alexander Graf
On 10/11/2011 06:31 AM, David Gibson wrote: Currently the kvmppc_get_clockfreq() function reads the host's clock frequency from /proc/device-tree, which is useful to past to the guest in KVM setups. However, there are some other host properties advertised in the device tree which can also be rel

[Qemu-devel] [PATCH 1/2] ppc: Generalize the kvmppc_get_clockfreq() function

2011-10-10 Thread David Gibson
Currently the kvmppc_get_clockfreq() function reads the host's clock frequency from /proc/device-tree, which is useful to past to the guest in KVM setups. However, there are some other host properties advertised in the device tree which can also be relevant to the guests. This patch, therefore, r