All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Nadav Amit <nadav.amit@gmail.com>, kvm list <kvm@vger.kernel.org>
Subject: Re: KVM x86 emulator design question
Date: Sun, 19 Apr 2015 19:08:55 +0200	[thread overview]
Message-ID: <5533E127.2050103@redhat.com> (raw)
In-Reply-To: <22C21C26-0572-4868-8C48-DF602DF360AD@gmail.com>



On 19/04/2015 15:16, Nadav Amit wrote:
> Hi,
> 
> I would appreciate if someone briefly explains the design choice that leaded
> to separating the x86 emulator from the rest of x86 code, i.e., making it
> oblivious to VCPUs and using the x86_emulate_ops as an interface.

I think the reason was to make it as easy as possible to use it in
usermode code, for example to write unit tests for it.

Paolo

      reply	other threads:[~2015-04-19 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19 13:16 KVM x86 emulator design question Nadav Amit
2015-04-19 17:08 ` Paolo Bonzini [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=5533E127.2050103@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=nadav.amit@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.