virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: the arch/x86 maintainers <x86@kernel.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	Daniel Hecht <dhecht@vmware.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>,
	"avi@redhat.com" <avi@redhat.com>,
	"akataria@vmware.com" <akataria@vmware.com>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: [RFC] CPUID usage for interaction between Hypervisors	and	Linux.
Date: Tue, 07 Oct 2008 16:45:34 -0700	[thread overview]
Message-ID: <48EBF49E.9030803@zytor.com> (raw)
In-Reply-To: <48EBF396.8000502@goop.org>

Jeremy Fitzhardinge wrote:
>>
>> The big difference here is that you could create a VM at runtime (by 
>> combining the existing interfaces) that did not exist before (or was 
>> not tested before). For example, a hypervisor could show hyper-v, 
>> osx-v (if any), linux-v, etc., and a guest could create a VM with 
>> hyper-v MMU, osx-v interrupt handling, Linux-v timer, etc. And such 
>> combinations/variations can grow exponentially.
> 
> That would be crazy.
> 

Not necessarily, although the example above is extreme.  Redundant 
interfaces is the norm in an evolving platform.

>> Or are you suggesting that multiple interfaces be _available_ to 
>> guests at runtime but the guest chooses one of them?
> 
> Right, that's what I've been suggesting.    I think hypervisors should 
> be able to offer multiple ABIs to guests, but a guest has to commit to 
> using one exclusively (ie, once they start to use one then the others 
> turn themselves off, kill the domain, etc).

Not inherently.  Of course, there may be interfaces which are interently 
or by policy mutually exclusive, but a hypervisor should only export the 
interfaces it wants a guest to be able to use.

This is particularly so with CPUID, which is a *data export* interface, 
it doesn't perform any action.

	-hpa

  parent reply	other threads:[~2008-10-07 23:45 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1222881242.9381.17.camel@alok-dev1>
2008-10-01 17:21 ` [RFC] CPUID usage for interaction between Hypervisors and Linux H. Peter Anvin
     [not found] ` <48E3B19D.6060905@zytor.com>
2008-10-01 17:33   ` Alok Kataria
     [not found]   ` <1222882431.9381.23.camel@alok-dev1>
2008-10-01 17:45     ` H. Peter Anvin
2008-10-01 18:06     ` Jeremy Fitzhardinge
     [not found]     ` <48E3BC21.4080803@goop.org>
2008-10-01 21:05       ` Alok Kataria
     [not found]       ` <1222895153.9381.69.camel@alok-dev1>
2008-10-01 22:46         ` H. Peter Anvin
     [not found]         ` <48E3FDD5.7040106@zytor.com>
2008-10-02  1:11           ` Nakajima, Jun
     [not found]           ` <0B53E02A2965CE4F9ADB38B34501A3A15D927EA4@orsmsx505.amr.corp.intel.com>
2008-10-02  1:24             ` H. Peter Anvin
2008-10-03 22:33               ` Nakajima, Jun
     [not found]               ` <0B53E02A2965CE4F9ADB38B34501A3A15DCBA221@orsmsx505.amr.corp.intel.com>
2008-10-03 23:30                 ` H. Peter Anvin
     [not found]                 ` <48E6AB15.8060405@zytor.com>
2008-10-04  0:27                   ` Nakajima, Jun
     [not found]                   ` <0B53E02A2965CE4F9ADB38B34501A3A15DCBA325@orsmsx505.amr.corp.intel.com>
2008-10-04  0:35                     ` H. Peter Anvin
2008-10-04  8:53                     ` Avi Kivity
     [not found]                     ` <48E6BA5B.2090804@zytor.com>
2008-10-07 22:30                       ` Nakajima, Jun
     [not found]                       ` <0B53E02A2965CE4F9ADB38B34501A3A15DE4F934@orsmsx505.amr.corp.intel.com>
2008-10-07 22:37                         ` H. Peter Anvin
2008-10-07 23:41                         ` Jeremy Fitzhardinge
     [not found]                         ` <48EBF396.8000502@goop.org>
2008-10-07 23:45                           ` H. Peter Anvin [this message]
2008-10-08  0:40                             ` Jeremy Fitzhardinge
     [not found]                         ` <48EBE499.5000304@zytor.com>
2008-10-07 23:45                           ` Jeremy Fitzhardinge
     [not found]                           ` <48EBF4A7.3080704@goop.org>
2008-10-08  1:09                             ` H. Peter Anvin
2008-10-01 17:47 ` H. Peter Anvin
2008-10-01 18:04 ` Jeremy Fitzhardinge
2008-10-01 20:03   ` Anthony Liguori
     [not found]   ` <48E3D7A0.3000403@codemonkey.ws>
2008-10-01 20:08     ` Jeremy Fitzhardinge
2008-10-01 21:03       ` Anthony Liguori
2008-10-01 21:03       ` Anthony Liguori
     [not found] ` <48E3BBC1.2050607@goop.org>
2008-10-01 18:07   ` H. Peter Anvin
     [not found]   ` <48E3BC47.60900@zytor.com>
2008-10-01 18:12     ` Jeremy Fitzhardinge
     [not found]     ` <48E3BD83.2090801@goop.org>
2008-10-01 18:16       ` H. Peter Anvin
     [not found]       ` <48E3BE65.2050909@zytor.com>
2008-10-01 18:36         ` Jeremy Fitzhardinge
     [not found]         ` <48E3C32B.3090701@goop.org>
2008-10-01 18:43           ` H. Peter Anvin
     [not found]           ` <48E3C4C3.1050903@zytor.com>
2008-10-01 19:56             ` Jeremy Fitzhardinge
2008-10-01 20:38           ` Chris Wright
     [not found]           ` <20081001203803.GB634@sequoia.sous-sol.org>
2008-10-01 22:38             ` H. Peter Anvin
2008-10-01 21:01   ` Alok Kataria
     [not found]   ` <1222894878.9381.63.camel@alok-dev1>
2008-10-01 21:08     ` Anthony Liguori
     [not found]     ` <48E3E6DF.8060400@codemonkey.ws>
2008-10-01 21:15       ` Chris Wright
2008-10-01 21:23       ` Alok Kataria
     [not found]       ` <1222896215.9381.79.camel@alok-dev1>
2008-10-01 21:29         ` Anthony Liguori
     [not found]       ` <20081001211532.GC634@sequoia.sous-sol.org>
2008-10-01 21:31         ` Anthony Liguori
2008-10-01 21:17     ` Jeremy Fitzhardinge
     [not found]     ` <48E3E8DE.1080602@goop.org>
2008-10-01 21:34       ` Anthony Liguori
     [not found]       ` <48E3ECD1.30809@codemonkey.ws>
2008-10-01 21:43         ` Chris Wright
2008-10-01 23:47         ` Zachary Amsden
     [not found]         ` <1222904824.7330.83.camel@bodhitayantram.eng.vmware.com>
2008-10-02  0:39           ` H. Peter Anvin
2008-10-02  0:41           ` Anthony Liguori
     [not found]           ` <48E4183A.7090208@zytor.com>
2008-10-02  0:57             ` H. Peter Anvin
2008-10-02  1:11             ` Zachary Amsden
     [not found]             ` <1222909900.7330.106.camel@bodhitayantram.eng.vmware.com>
2008-10-02  1:21               ` H. Peter Anvin
     [not found]         ` <20081001214338.GD634@sequoia.sous-sol.org>
2008-10-02 11:29           ` Avi Kivity
2008-10-01 17:14 Alok Kataria

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=48EBF49E.9030803@zytor.com \
    --to=hpa@zytor.com \
    --cc=akataria@vmware.com \
    --cc=avi@redhat.com \
    --cc=dhecht@vmware.com \
    --cc=jeremy@goop.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).