From: Avi Kivity <avi@qumranet.com>
To: Michal Ludvig <mludvig@logix.net.nz>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Kernel Oops with kvm 66 running WinXP
Date: Mon, 05 May 2008 10:11:03 +0300 [thread overview]
Message-ID: <481EB307.4070604@qumranet.com> (raw)
In-Reply-To: <481E408D.4040501@logix.net.nz>
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
Michal Ludvig wrote:
>
> Hi again, just wanted to let you know that I still get this Oops with
> kvm-68. It comes a bit later, not during the boot but after the XP
> desktop comes up. As there were some changes in kernel/x86_emulate.c
> the patch you provided for kvm-66 can't be applied anymore.
>
> loaded kvm module (kvm-68)
> kvm: emulating exchange as write
> Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
> [<ffffffff88373b4a>] :kvm:x86_emulate_insn+0x3fa/0x4240
Please apply the attached patch, and post 'dmesg | grep writeback'.
--
error compiling committee.c: too many arguments to function
[-- Attachment #2: debug-writeback-oops.patch --]
[-- Type: text/x-patch, Size: 463 bytes --]
diff --git a/kernel/x86_emulate.c b/kernel/x86_emulate.c
index f2a696d..7f5a99f 100644
--- a/kernel/x86_emulate.c
+++ b/kernel/x86_emulate.c
@@ -1202,6 +1202,13 @@ static inline int writeback(struct x86_emulate_ctxt *ctxt,
switch (c->dst.type) {
case OP_REG:
+
+ if (!c->dst.ptr) {
+ printk("writeback: b %02x mordm %02x\n",
+ c->b, c->modrm);
+ return 0;
+ }
+
/* The 4-byte case *is* correct:
* in 64-bit mode we zero-extend.
*/
[-- Attachment #3: Type: text/plain, Size: 320 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
[-- Attachment #4: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2008-05-05 7:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-26 12:12 Kernel Oops with kvm 66 running WinXP Michal Ludvig
2008-04-27 12:53 ` Avi Kivity
2008-04-27 13:45 ` Avi Kivity
2008-04-28 1:43 ` Michal Ludvig
2008-05-04 23:02 ` Michal Ludvig
2008-05-05 6:46 ` Izik Eidus
2008-05-05 6:59 ` Avi Kivity
2008-05-05 7:01 ` Izik Eidus
2008-05-05 7:02 ` Avi Kivity
2008-05-05 7:04 ` Izik Eidus
2008-05-05 7:11 ` Avi Kivity [this message]
2008-05-05 11:11 ` Michal Ludvig
2008-05-05 12:00 ` Avi Kivity
2008-05-05 12:15 ` Michal Ludvig
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=481EB307.4070604@qumranet.com \
--to=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=mludvig@logix.net.nz \
/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