From: Alexander Graf <agraf@suse.de>
To: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Cc: Blue Swirl <blauwirbel@gmail.com>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 4/4] s390: stop target cpu on sigp initial reset
Date: Mon, 18 Jun 2012 15:36:59 +0200 [thread overview]
Message-ID: <1340026619-25254-5-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1340026619-25254-1-git-send-email-agraf@suse.de>
From: Christian Borntraeger <borntraeger@de.ibm.com>
We must not run the target cpu after an initial reset. This makes
system_reset more reliable for smp guests.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
target-s390x/kvm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 5800fd6..ec08dd0 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -314,6 +314,7 @@ static int s390_cpu_initial_reset(CPUS390XState *env)
{
int i;
+ s390_del_running_cpu(env);
if (kvm_vcpu_ioctl(env, KVM_S390_INITIAL_RESET, NULL) < 0) {
perror("cannot init reset vcpu");
}
--
1.6.0.2
next prev parent reply other threads:[~2012-06-18 13:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 13:36 [Qemu-devel] [PULL 0/4] s390 patch queue 2012-06-18 Alexander Graf
2012-06-18 13:36 ` [Qemu-devel] [PATCH 1/4] s390x: fix s390 virtio aliases Alexander Graf
2012-06-18 13:36 ` [Qemu-devel] [PATCH 2/4] kvm: Update kernel headers Alexander Graf
2012-06-18 13:36 ` [Qemu-devel] [PATCH 3/4] s390: make kvm_stat work on s390 Alexander Graf
2012-06-18 13:36 ` Alexander Graf [this message]
2012-06-24 12:26 ` [Qemu-devel] [PULL 0/4] s390 patch queue 2012-06-18 Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340026619-25254-5-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=borntraeger@de.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).