public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Nikolas Coukouma <atrus-rWB03dz7+ebYtjvyW6yDsg@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: segfault after loading kvm-intel
Date: Mon, 07 May 2007 17:01:41 +0300	[thread overview]
Message-ID: <463F3145.7090903@qumranet.com> (raw)
In-Reply-To: <463F234B.7000800-rWB03dz7+ebYtjvyW6yDsg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

Nikolas Coukouma wrote:
> I've had this happen with releases 22 and 23. I just tested releases 17
> and 21 without trouble.
>
> I've included all the information that I can think of. If anything else
> would be helpful, please let me know.
>
> May  7 17:24:16 rffd kernel:  [<f898a12d>] vmx_init+0x6f/0xbf [kvm_intel]
> May  7 17:24:16 rffd kernel: EIP: [<c014a9f9>] kunmap_high+0x18/0x7e
>   

Please try the attached patch (cd into kernel/ directory, and apply with 
patch -p3)


-- 
error compiling committee.c: too many arguments to function


[-- Attachment #2: kvm-fix-vmx-iobitmap-kmap-on-highmem.patch --]
[-- Type: text/x-patch, Size: 489 bytes --]

diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 1b6352a..804a623 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -2273,11 +2273,11 @@ static int __init vmx_init(void)
 	iova = kmap(vmx_io_bitmap_a);
 	memset(iova, 0xff, PAGE_SIZE);
 	clear_bit(0x80, iova);
-	kunmap(iova);
+	kunmap(vmx_io_bitmap_a);
 
 	iova = kmap(vmx_io_bitmap_b);
 	memset(iova, 0xff, PAGE_SIZE);
-	kunmap(iova);
+	kunmap(vmx_io_bitmap_b);
 
 	r = kvm_init_arch(&vmx_arch_ops, THIS_MODULE);
 	if (r)

[-- Attachment #3: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-05-07 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07 13:02 segfault after loading kvm-intel Nikolas Coukouma
     [not found] ` <463F234B.7000800-rWB03dz7+ebYtjvyW6yDsg@public.gmane.org>
2007-05-07 14:01   ` Avi Kivity [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-07 16:32 Nikolas Coukouma

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=463F3145.7090903@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=atrus-rWB03dz7+ebYtjvyW6yDsg@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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