From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
To: avi@redhat.com
Cc: ehrhardt@linux.vnet.ibm.com, c=kvm-ppc@vger.kernel.org,
kvm@vger.kernel.org, hollisb@us.ibm.com
Subject: [PATCH 3 of 6] [PATCH] kvm-userspace: ppc: align with upstream qemu - breakpoint reset
Date: Wed, 10 Dec 2008 16:45:49 +0100 [thread overview]
Message-ID: <c032d8555c9494f9812e.1228923949@HelionPrime> (raw)
In-Reply-To: <patchbomb.1228923946@HelionPrime>
# HG changeset patch
# User Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
# Date 1228922788 -3600
# Node ID c032d8555c9494f9812e4d4e0b5ccccb511ae597
# Parent f100b1bfa5f3d084d68bd2c66244271db1f5d084
[PATCH] kvm-userspace: ppc: align with upstream qemu - breakpoint reset
From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
The way resettign that changed upstream, adopt new style in kvmppc code.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---
[diffstat]
qemu-kvm-powerpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[diff]
diff --git a/qemu/qemu-kvm-powerpc.c b/qemu/qemu-kvm-powerpc.c
--- a/qemu/qemu-kvm-powerpc.c
+++ b/qemu/qemu-kvm-powerpc.c
@@ -31,7 +31,7 @@ extern kvm_context_t kvm_context;
void cpu_reset(CPUState *env)
{
- memset(env->breakpoints, 0, sizeof(env->breakpoints));
+ memset(env, 0, offsetof(CPUPPCState, breakpoints));
cpu_ppc_reset(env);
}
next prev parent reply other threads:[~2008-12-10 15:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 15:45 [PATCH 0 of 6] powerpc updates to kvm-userspace Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 1 of 6] [PATCH] kvm-userspace: ppc: fix compatfd build decision Christian Ehrhardt
2008-12-14 10:45 ` Avi Kivity
[not found] ` <4944E3E0.1050607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-15 12:43 ` Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 2 of 6] [PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc Christian Ehrhardt
2008-12-10 15:45 ` Christian Ehrhardt [this message]
2008-12-10 15:45 ` [PATCH 4 of 6] [PATCH] kvm-userpace: ppc: align with upstream qemu - 4xxdevs Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 5 of 6] [PATCH] kvm-userspace: ppc: use virtio-blk header Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 6 of 6] [PATCH] kvm-userspace: ppc: align with upstream qemu - pcibus Christian Ehrhardt
2008-12-14 8:36 ` [PATCH 0 of 6] powerpc updates to kvm-userspace Avi Kivity
2008-12-14 8:37 ` Avi Kivity
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=c032d8555c9494f9812e.1228923949@HelionPrime \
--to=ehrhardt@linux.vnet.ibm.com \
--cc=avi@redhat.com \
--cc=c=kvm-ppc@vger.kernel.org \
--cc=hollisb@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox