On Tue, Jul 31, 2012 at 07:18:17PM +0800, riegama...@gmail.com wrote:
> From: Dunrong Huang <riegama...@gmail.com>
> 
> Add a helper function for fetching max cpus supported by kvm.
> 
> Make QEMU exit with an error message if smp_cpus exceeds limit
> of VCPU count retrieved by invoking this helper function.
> 
> Signed-off-by: Dunrong Huang <riegama...@gmail.com>
> ---
> v1 -> v2:
>    * Fix indentation(thanks to Stefan Hajnoczi for his review)
>    
> v2 -> v3(Thanks to Peter Maydell for this hint)
>    * Add a comment for helper function
>    * Use "goto err" instead of "exit(1)"
>    
>  kvm-all.c |   29 +++++++++++++++++++++++++++++
>  1 files changed, 29 insertions(+), 0 deletions(-)

Applied to uq/master, thanks.


Reply via email to