From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Glauber de Oliveira Costa
<glommer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
=?UTF-8?B?IijgpIXgpK7gpYfgpK8pIEFtZXlhICjgpKrgpL7gpLPgpILgpKbgpYcpIFBh?=@sc8-sf-spam2.sourceforge.net,
"lande\"" <2ameya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Error while inserting kvm-intel.ko from kvm-34
Date: Wed, 15 Aug 2007 05:38:05 +0300 [thread overview]
Message-ID: <46C2670D.2090707@qumranet.com> (raw)
In-Reply-To: <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Glauber de Oliveira Costa wrote:
>> I got the same behaviour here, and it seems that the reason is 32-bit
>> machines does not use the CR8 register. But the code in vmx.c makes it
>> a minimum requirement as in:
>>
>> min = CPU_BASED_HLT_EXITING |
>> CPU_BASED_CR8_LOAD_EXITING |
>> CPU_BASED_CR8_STORE_EXITING |
>> CPU_BASED_USE_IO_BITMAPS |
>> CPU_BASED_MOV_DR_EXITING |
>> CPU_BASED_USE_TSC_OFFSETING;
>>
>> I think the solution is to enclose the CR8 constants in a ifdef
>> CONFIG_X86_64, since putting them as optional won't do the right thing
>> in 64-bit (and thus, core duo), machines.
>>
>> I was about to post a patch for it now.
>>
>> Avi, if you agree with the fix, I can do it right now.
>>
>>
>
> BTW, in case you agree, here is the patch
>
>
Applied, thanks. Good catch.
> commit 2863174b39dd8768cd7922832e45ea00d5c6442c
> Author: Glauber de Oliveira Costa <glauber-aMxvdZfKFXomYvmMESoHnA@public.gmane.org>
> Date: Tue Aug 14 15:51:22 2007 -0300
Author email is misconfigured...
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
next prev parent reply other threads:[~2007-08-15 2:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 15:59 Error while inserting kvm-intel.ko from kvm-34 (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 16:02 ` Avi Kivity
[not found] ` <46C0807D.3060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-13 16:03 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130903l100827d4h10d903b2efcf1fbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 16:07 ` Avi Kivity
[not found] ` <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-13 16:11 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130911l2cf0d577jcb8f3db5714ec5be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 16:08 ` Avi Kivity
2007-08-13 16:44 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130944y24fcd60dv6cfad494927937ab-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 16:10 ` Avi Kivity
[not found] ` <46C1D401.8030303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-14 18:14 ` Glauber de Oliveira Costa
[not found] ` <5d6222a80708141114p244901d4sa7ddda7abeb7ef27-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 18:55 ` Glauber de Oliveira Costa
[not found] ` <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-15 1:27 ` Yang, Sheng
2007-08-15 2:38 ` Avi Kivity [this message]
[not found] ` <46C2670D.2090707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-15 20:58 ` Glauber de Oliveira Costa
2007-08-13 16:02 ` Simon Gao
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=46C2670D.2090707@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=2ameya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc==?UTF-8?B?IijgpIXgpK7gpYfgpK8pIEFtZXlhICjgpKrgpL7gpLPgpILgpKbgpYcpIFBh?=@sc8-sf-spam2.sourceforge.net \
--cc=glommer-Re5JQEeQqe8AvxtiuMwx3w@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 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.