All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Ahern" <daahern@cisco.com>
To: Dongsheng Song <dongsheng.song@gmail.com>
Cc: Brian Jackson <iggy@theiggy.com>,
	kvm@vger.kernel.org, misc <misc@openbsd.org>
Subject: Re: kvm with OpenBSD 4.5
Date: Thu, 16 Apr 2009 21:39:45 -0600	[thread overview]
Message-ID: <49E7FA01.9000301@cisco.com> (raw)
In-Reply-To: <4b3406f0904162025q273e98c4m6d45dab9475e465e@mail.gmail.com>

Have you seen this thread:

http://article.gmane.org/gmane.comp.emulators.kvm.devel/28649

It's the one that resulted in these patches by Marcelo:
http://article.gmane.org/gmane.comp.emulators.kvm.devel/30452
http://article.gmane.org/gmane.comp.emulators.kvm.devel/30453

david


Dongsheng Song wrote:
> No good news, same as kvm-84 vanilla.
> 
> 2009/4/17 David S. Ahern <daahern@cisco.com>:
>> I believe this is the patch that should fix the problem:
>>
>> Index: kvm/arch/x86/kvm/mmu.c
>> ===================================================================
>> --- kvm.orig/arch/x86/kvm/mmu.c
>> +++ kvm/arch/x86/kvm/mmu.c
>> @@ -1254,7 +1254,7 @@ static struct kvm_mmu_page *kvm_mmu_get_
>>        pgprintk("%s: adding gfn %lx role %x\n", __func__, gfn, role.word);
>>        sp->gfn = gfn;
>>        sp->role = role;
>> -       sp->global = role.cr4_pge;
>> +       sp->global = 0;
>>        hlist_add_head(&sp->hash_link, bucket);
>>        if (!direct) {
>>                if (rmap_write_protect(vcpu->kvm, gfn))
>>
>> david
>>
>>
>> Dongsheng Song wrote:
>>> 2009/4/16 Brian Jackson <iggy@theiggy.com>:
>>>> it's a module option to the kvm option.
>>>>
>>>> parm:           oos_shadow:bool
>>>>
>>> When I set 'oos_shadow=Y' for kvm-84 module, OpenBSD 4.5 stopped
>>> after display 'clock: unknown CMOS layout'.
>>>
>>> When I set 'oos_shadow=N' for kvm-84 module, OpenBSD 4.5 go farther,
>>> stopped after display 'setting ttty flags'.
>>>
>>> Both dmesg display like this:
>>>
>>> Apr 17 09:16:58 dl kernel: [47761.218611] __ratelimit: 1216720
>>> messages suppressed
>>> Apr 17 09:16:58 dl kernel: [47761.218611] emulation failed (pagetable)
>>> rip d0491096 c9 c3 8a 04
>>>
>>> --
>>> Dongsheng Song

  reply	other threads:[~2009-04-17  3:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16  3:51 kvm with OpenBSD 4.5 Dongsheng Song
2009-04-16  3:59 ` Theo de Raadt
2009-04-16 15:28   ` FRLinux
2009-04-16  5:14 ` Brian Jackson
2009-04-16  8:43   ` Dongsheng Song
2009-04-16 13:50     ` Brian Jackson
2009-04-17  1:22       ` Dongsheng Song
2009-04-17  2:19         ` David S. Ahern
2009-04-17  3:25           ` Dongsheng Song
2009-04-17  3:39             ` David S. Ahern [this message]
2009-04-17  5:06               ` Dongsheng Song

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=49E7FA01.9000301@cisco.com \
    --to=daahern@cisco.com \
    --cc=dongsheng.song@gmail.com \
    --cc=iggy@theiggy.com \
    --cc=kvm@vger.kernel.org \
    --cc=misc@openbsd.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.