]> Git Repo - qemu.git/commit - target/ppc/translate_init.inc.c
target-ppc: Give a meaningful error if too many threads are specified
authorMike Qiu <[email protected]>
Wed, 23 Jan 2013 17:20:38 +0000 (17:20 +0000)
committerAlexander Graf <[email protected]>
Fri, 25 Jan 2013 21:02:55 +0000 (22:02 +0100)
commitfe828a4d4b7a5617cda7b24e95e327bfb71d790e
tree5f54c29483f27766219e3bc1112654214b955b1c
parent293c867d8c7399d17e6b593053411a6515171f38
target-ppc: Give a meaningful error if too many threads are specified

Currently the target-ppc tcg code only supports a single thread.  You can
specify more, but they're treated identically to multiple cores.  On KVM
we obviously can't support more threads than the hardware; if more are
specified it will cause strange and cryptic errors.

This patch clarifies the situation by giving a simple meaningful error if
more threads are specified than we can support.

Signed-off-by: Mike Qiu <[email protected]>
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
target-ppc/translate_init.c
This page took 0.024502 seconds and 4 git commands to generate.