login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
29
Re: Use CPUID to communicate with the hypervisor.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Gleb Natapov
Subject:
Re: Use CPUID to communicate with the hypervisor.
Date: Sunday, September 28, 2008 - 11:55 pm
On Fri, Sep 26, 2008 at 04:46:55PM -0700, Alok Kataria wrote:
quoted text
> From: Alok N Kataria <akataria@vmware.com> > > This patch proposes to use a cpuid interface to detect if we are running on an > hypervisor. > The discovery of a hypervisor is determined by bit 31 of CPUID#1_ECX, which is > defined to be "hypervisor present bit". For a VM, the bit is 1, otherwise it is > set to 0. This bit is not officially documented by either Intel/AMD yet, but > they plan to do so some time soon, in the meanwhile they have promised to keep > it reserved for virtualization. > > Also, Intel & AMD have reserved the cpuid levels 0x40000000 - 0x400000FF for > software use. Hypervisors can use these levels to provide an interface to pass > information from the hypervisor to the guest. This is similar to how we extract > information about a physical cpu by using cpuid. > XEN/KVM are already using the info leaf to get the hypervisor signature. >
Can this interface be used to pass variable sized data from a hypervisor to a gust? ACPI or DMI tables for instance. -- Gleb. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Fri Sep 26, 4:46 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Fri Sep 26, 5:09 pm)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Fri Sep 26, 5:30 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Fri Sep 26, 5:32 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Fri Sep 26, 5:59 pm)
Re: Use CPUID to communicate with the hypervisor.
, Jeremy Fitzhardinge
, (Fri Sep 26, 6:02 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Fri Sep 26, 6:28 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Fri Sep 26, 6:55 pm)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Fri Sep 26, 8:11 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Fri Sep 26, 9:20 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Fri Sep 26, 9:52 pm)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Fri Sep 26, 10:37 pm)
Re: Use CPUID to communicate with the hypervisor.
, Jeremy Fitzhardinge
, (Sat Sep 27, 10:01 pm)
Re: Use CPUID to communicate with the hypervisor.
, Gleb Natapov
, (Sun Sep 28, 11:55 pm)
Re: Use CPUID to communicate with the hypervisor.
, Avi Kivity
, (Mon Sep 29, 12:37 am)
Re: Use CPUID to communicate with the hypervisor.
, Gerd Hoffmann
, (Mon Sep 29, 1:24 am)
Re: Use CPUID to communicate with the hypervisor.
, Bernd Eckenfels
, (Mon Sep 29, 2:08 am)
Re: Use CPUID to communicate with the hypervisor.
, Tim Deegan
, (Mon Sep 29, 2:28 am)
Re: Use CPUID to communicate with the hypervisor.
, Gleb Natapov
, (Mon Sep 29, 2:33 am)
Re: Use CPUID to communicate with the hypervisor.
, Avi Kivity
, (Mon Sep 29, 2:44 am)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Mon Sep 29, 8:32 am)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Mon Sep 29, 10:55 am)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 10:58 am)
Re: Use CPUID to communicate with the hypervisor.
, Gerd Hoffmann
, (Mon Sep 29, 11:46 am)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Mon Sep 29, 12:38 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 1:31 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Mon Sep 29, 1:55 pm)
Re: Use CPUID to communicate with the hypervisor.
, Karel Zak
, (Mon Sep 29, 1:56 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 2:07 pm)
Re: Use CPUID to communicate with the hypervisor.
, Jeremy Fitzhardinge
, (Mon Sep 29, 2:28 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 2:49 pm)
Re: Use CPUID to communicate with the hypervisor.
, Gerd Hoffmann
, (Mon Sep 29, 3:46 pm)
Re: Use CPUID to communicate with the hypervisor.
, Zachary Amsden
, (Mon Sep 29, 4:20 pm)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Mon Sep 29, 5:12 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 5:31 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 5:33 pm)
Re: Use CPUID to communicate with the hypervisor.
, Alok Kataria
, (Mon Sep 29, 5:33 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Mon Sep 29, 5:56 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 5:58 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Mon Sep 29, 6:14 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 7:21 pm)
RE: Use CPUID to communicate with the hypervisor.
, Nakajima, Jun
, (Mon Sep 29, 8:14 pm)
Re: Use CPUID to communicate with the hypervisor.
, H. Peter Anvin
, (Mon Sep 29, 8:48 pm)
Re: Use CPUID to communicate with the hypervisor.
, Gerd Hoffmann
, (Tue Sep 30, 1:11 am)
Re: Use CPUID to communicate with the hypervisor.
, Avi Kivity
, (Tue Sep 30, 2:16 am)
Re: Use CPUID to communicate with the hypervisor.
, Zachary Amsden
, (Tue Sep 30, 9:42 am)
[Hypervisors] TSC frequency change
, Alok Kataria
, (Tue Sep 30, 9:35 pm)
Re: [Hypervisors] TSC frequency change
, Gerd Hoffmann
, (Wed Oct 1, 2:47 am)
Re: Use CPUID to communicate with the hypervisor.
, Avi Kivity
, (Thu Oct 2, 4:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
Junio C Hamano
Re: Fwd: git status options feature suggestion
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate