From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TctUt-0008Ne-2Y for qemu-devel@nongnu.org; Mon, 26 Nov 2012 02:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TctUn-0002aw-7y for qemu-devel@nongnu.org; Mon, 26 Nov 2012 02:52:54 -0500 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:60793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TctUm-0002an-Vc for qemu-devel@nongnu.org; Mon, 26 Nov 2012 02:52:49 -0500 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 26 Nov 2012 07:52:47 -0000 Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qAQ7qaKb52690946 for ; Mon, 26 Nov 2012 07:52:36 GMT Received: from d06av10.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qAQ6xwgZ010378 for ; Mon, 26 Nov 2012 01:59:59 -0500 Date: Fri, 23 Nov 2012 15:17:18 +0100 From: Jens Freimann Message-ID: <20121123141718.GA28189@chuck.boeblingen.de.ibm.com> References: <1353665892-35445-1-git-send-email-jfrei@linux.vnet.ibm.com> <1353665892-35445-3-git-send-email-jfrei@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 2/3] s390: clear registers, psw and prefix at vcpu reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Heinz Graalfs , qemu-devel , Viktor Mihajlovski , Christian Borntraeger , Cornelia Huck , Einar Lueck On Fri, Nov 23, 2012 at 02:40:10PM +0100, Alexander Graf wrote: > > On 23.11.2012, at 11:18, Jens Freimann wrote: > > > When resetting vcpus on s390/kvm we have to clear registers, psw > > and prefix as described in the z/Architecture PoP, otherwise a > > reboot won't work. IPL PSW and prefix are set later on by the > > s390-ipl device reset code. > > > > Signed-off-by: Jens Freimann > > --- > > target-s390x/kvm.c | 26 +++++++++++++++++++++++++- > > 1 file changed, 25 insertions(+), 1 deletion(-) > > > > diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c > > index 94de764..b1b791e 100644 > > --- a/target-s390x/kvm.c > > +++ b/target-s390x/kvm.c > > This needs to go into generic vcpu reset code. Ok. Will send a new patch. Jens