History log of /external/qemu/kvm.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
08c7228c50f8b27acba312c4d2f0c07d0ab6a06b 03-Jan-2013 Tom Knych <thomaswk@google.com> x86-kvm: only sync SREGS when doing address translation

cpu_synchronize_state is 10x or more expensive on AMD then on intel.
This makes all nand read/writes extremely slow (eg: mounting /system takes
over a minute when KVM is enabled on AMD).

Looking at hw/goldfish* all callers of cpu_synchronize_state want to do
is translate virtual to physical addresses. You can do that with 1 ioctl
(KVM_GET_SREGS). Performance on AMD is significant improved (matching
intel) and intel is not affected.

Converted all callers of cpu_synchronize_state in hw/goldfish-* to sync
over only KVM_GET_SREGS when running in KVM mode.

Change-Id: Id15c4e99c0f541527684fba23d639c9dee3525c6
Signed-off-by: Tom Knych <thomaswk@google.com>
/external/qemu/kvm.h
a381ef07088ce479610129e37bfef42538f397da 18-Dec-2011 Jun Nakajima <jun.nakajima@intel.com> Changes to existing files to add HAX support

HAX (Hardware-based Accelerated eXecution) employes hardware virtualization
technology to boost performance of the Android emulator on Mac OS X or Windows
hosts.
This changeset includes the changes required to the existing files. To pass
the compilation, hax.h is added, but CONFIG_HAX is disabled so that no
real changes added.

Change-Id: Ifa5777e8788e6698747c1ec4cd91315161c2ca0b
Signed-off-by: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Nakajima, Jun <jun.nakajima@intel.com>
/external/qemu/kvm.h
bb0140b925cb2adce03ebc0885067ea3bfd19a20 28-May-2011 Jun Nakajima <jun.nakajima@intel.com> x86: Workaorund for the KVM GS_BASE MSR save/restore issue.

In some versions of the kvm module in Ubuntu, the host's GS_BASE MSR is not save/restored correctly
when running guests on 64-bit hosts if the qemu/emulator is 32-bit.
This patch implements a workaround in the emulator code.

Change-Id: If3ebe3cb49f377c5d0547c75f6ac3a3ceacdc375
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/kvm.h
1321c76d96910c2c807207f3fdfeb560c598ca60 05-Mar-2011 Jun Nakajima <jnakajim@gmail.com> x86: Enable KVM mode for Android x86 emulator (update/rebase)

This patch enables KVM mode on x86 Linux to boost performance of x86 emulaiton
if the hardware-based virtualization feature is present on the host machine.

Change-Id: I4b24474b3ec115a3b9a7bf017801f4f610253b09
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/kvm.h
a5d412078b8e7478d81df03710eacc7a21096ba2 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Replace sys-queue.h with qemu-queue.h

Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
/external/qemu/kvm.h
5d8f37ad78fc66901af50c762029a501561f3b23 14-Sep-2009 David 'Digit' Turner <digit@google.com> Merge upstream QEMU 10.0.50 into the Android source tree.

This change integrates many changes from the upstream QEMU sources.
Its main purpose is to enable correct ARMv6 and ARMv7 support to the
Android emulator. Due to the nature of the upstream code base, this
unfortunately also required changes to many other parts of the source.

Note that to ensure easier integrations in the future, some source files
and directories that have heavy Android-specific customization have been
renamed with an -android suffix. The original files are still there for
easier integration tracking, but *never* compiled. For example:

net.c net-android.c
qemu-char.c qemu-char-android.c
slirp/ slirp-android/
etc...

Tested on linux-x86, darwin-x86 and windows host machines.
/external/qemu/kvm.h