[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supp
From: |
Marcelo Tosatti |
Subject: |
Re: [Qemu-devel] [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supported by kvm |
Date: |
Fri, 3 Aug 2012 16:56:19 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jul 31, 2012 at 07:18:17PM +0800, address@hidden wrote:
> From: Dunrong Huang <address@hidden>
>
> 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 <address@hidden>
> ---
> 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supported by kvm,
Marcelo Tosatti <=