From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCUzQ-0000yF-Aa for qemu-devel@nongnu.org; Tue, 27 Mar 2012 07:55:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCUzK-0000di-0M for qemu-devel@nongnu.org; Tue, 27 Mar 2012 07:55:03 -0400 Received: from thoth.sbs.de ([192.35.17.2]:20606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCUzJ-0000cz-Md for qemu-devel@nongnu.org; Tue, 27 Mar 2012 07:54:57 -0400 Message-ID: <4F71AA8C.1050007@siemens.com> Date: Tue, 27 Mar 2012 13:54:52 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1332606390-3605-1-git-send-email-lee.essen@nowonline.co.uk> <1332606390-3605-2-git-send-email-lee.essen@nowonline.co.uk> <4F71A75E.4050104@suse.de> <4F71A867.7030206@siemens.com> <4F71A8D0.8050301@siemens.com> In-Reply-To: <4F71A8D0.8050301@siemens.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/4] Enable sigbus_reraise for Solaris List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: Lee Essen , Blue Swirl , qemu-devel@nongnu.org, Stefan Hajnoczi On 2012-03-27 13:47, Jan Kiszka wrote: > On 2012-03-27 13:45, Jan Kiszka wrote: >> On 2012-03-27 13:41, Andreas F=E4rber wrote: >>> Am 24.03.2012 17:26, schrieb Lee Essen: >>>> sigbus_reraise is used by the kvm_wait_io_event function and is >>>> needed on both Linux and Solaris. This patch adds CONFIG_SOLARIS >>>> to the current CONFIG_LINUX only ifdef. >>>> >>>> Signed-off-by: Lee Essen >>>> --- >>>> cpus.c | 4 +++- >>>> 1 files changed, 3 insertions(+), 1 deletions(-) >>>> >>>> diff --git a/cpus.c b/cpus.c >>>> index 25ba621..6550f22 100644 >>>> --- a/cpus.c >>>> +++ b/cpus.c >>>> @@ -455,7 +455,7 @@ static void cpu_signal(int sig) >>>> exit_request =3D 1; >>>> } >>>> =20 >>>> -#ifdef CONFIG_LINUX >>>> +#if defined(CONFIG_LINUX) || defined(CONFIG_SOLARIS) >>> >>> As asked elsewhere: Linux was the only KVM platform so far. If >> >> Power, s390, soon also ARM? >=20 > Err, forget about this part. :) >=20 >> Also, this code is not KVM specific, MCE >> forwarding is supposed to work with TCG as well. Hmm, but it's not implemented yet... Forgot about this minor detail. Jan --=20 Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux