From: Gleb Natapov <gleb@redhat.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org
Subject: [PATCH 2/4] Use kvm_cpu_synchronize_state() instead of kvm_arch_(save|load)_regs()
Date: Sun, 13 Sep 2009 11:30:11 +0300 [thread overview]
Message-ID: <1252830613-2185-2-git-send-email-gleb@redhat.com> (raw)
In-Reply-To: <1252830613-2185-1-git-send-email-gleb@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
---
qemu-kvm-x86.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index ee678df..6e5bcc5 100644
--- a/qemu-kvm-x86.c
+++ b/qemu-kvm-x86.c
@@ -1671,10 +1671,9 @@ uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function,
void kvm_arch_process_irqchip_events(CPUState *env)
{
- kvm_arch_save_regs(env);
+ kvm_cpu_synchronize_state(env);
if (env->interrupt_request & CPU_INTERRUPT_INIT)
do_cpu_init(env);
if (env->interrupt_request & CPU_INTERRUPT_SIPI)
do_cpu_sipi(env);
- kvm_arch_load_regs(env);
}
--
1.6.3.3
next prev parent reply other threads:[~2009-09-13 8:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-13 8:30 [PATCH 1/4] Remove unused function Gleb Natapov
2009-09-13 8:30 ` Gleb Natapov [this message]
2009-09-13 8:30 ` [PATCH 3/4] set correct CS seg limit and flags on sipi Gleb Natapov
2009-09-13 8:30 ` [PATCH 4/4] Make cpu runnable after sipi Gleb Natapov
2009-09-13 12:05 ` Avi Kivity
2009-09-13 12:55 ` Gleb Natapov
2009-09-18 16:18 ` Marcelo Tosatti
2009-09-18 16:22 ` Gleb Natapov
2009-09-18 16:23 ` Marcelo Tosatti
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=1252830613-2185-2-git-send-email-gleb@redhat.com \
--to=gleb@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.