From: Nadav Amit Subject: KVM x86 emulator design question Date: Sun, 19 Apr 2015 16:16:55 +0300 Message-ID: <22C21C26-0572-4868-8C48-DF602DF360AD@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm list Return-path: Received: from mail-wi0-f169.google.com ([209.85.212.169]:37218 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbbDSNQ7 (ORCPT ); Sun, 19 Apr 2015 09:16:59 -0400 Received: by widdi4 with SMTP id di4so64294794wid.0 for ; Sun, 19 Apr 2015 06:16:58 -0700 (PDT) Received: from nadav-mbp.cs.technion.ac.il ([132.68.46.160]) by mx.google.com with ESMTPSA id k9sm10899634wia.6.2015.04.19.06.16.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 Apr 2015 06:16:57 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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. Thanks, Nadav