All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Gabe Black <gblack@eecs.umich.edu>
Cc: kvm@vger.kernel.org, nathan binkert <nate@binkert.org>,
	Steve Reinhardt <stever@gmail.com>
Subject: Re: NULL pointer dereference in kernel code, ignored parameters in libkvm
Date: Mon, 25 May 2009 14:55:59 +0300	[thread overview]
Message-ID: <4A1A874F.1040201@redhat.com> (raw)
In-Reply-To: <4A19AD6C.8050805@eecs.umich.edu>

Gabe Black wrote:
>> It would also be interesting to hear how you use kvm.
>>
>>     
>
> Ultimately, we'd like to use KVM for at least two things. The first is
> as a way to fast forward simulations to the portion of interest before
> switching into something slower that can collect interesting statistics
> and accurately simulate performance. Our immediate goal on our way to
> that is to get a CPU based around KVM to boot Linux while hooked into
> our device models. We're very early in the process, but one challenge
> I'm anticipating is being able to pull the local APIC out of the virtual
> CPU and into M5 so that we can coordinate IPIs, etc., ourselves.
>   

Since we support live migration, it should be doable.  Tricky though.

> The other thing we'd like to do is to use KVM as a golden model to
> verify our correctness against. To do that, we'll probably need to make
> significant progress on the above, and then also find a mechanism to
> make each CPU advance in very incremental and deterministic ways. Our
> thought on that so far as been to set the TF bit in the guest and use
> the #DB to exit back to the host. We expect there will be some gotchas
> with this like hold off on mov to %ss, but if there would be any show
> stopper problems please let us know.
>   

It should work as long as the guest doesn't debug itself, I think.  May 
have problems with interrupts or NMIs.

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


      reply	other threads:[~2009-05-25 11:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 22:20 NULL pointer dereference in kernel code, ignored parameters in libkvm Gabe Black
2009-05-24 11:59 ` Avi Kivity
2009-05-24 20:26   ` Gabe Black
2009-05-25 11:55     ` Avi Kivity [this message]

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=4A1A874F.1040201@redhat.com \
    --to=avi@redhat.com \
    --cc=gblack@eecs.umich.edu \
    --cc=kvm@vger.kernel.org \
    --cc=nate@binkert.org \
    --cc=stever@gmail.com \
    /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.