Re: [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supported by kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 31, 2012 at 07:18:17PM +0800, riegamaths@xxxxxxxxx wrote:
> From: Dunrong Huang <riegamaths@xxxxxxxxx>
> 
> 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 <riegamaths@xxxxxxxxx>
> ---
> 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.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux