qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] why did qemu add the KVM ?
@ 2009-09-10 15:45 yuanzhu86
  2009-09-11  5:57 ` Amit Shah
  0 siblings, 1 reply; 2+ messages in thread
From: yuanzhu86 @ 2009-09-10 15:45 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

there is a KVM.c in the target-i386 ,
but why did QEMU have this program?
shall anyone tell me the fuction of KVM.c to the QEMU ?
thanks very much

[-- Attachment #2: Type: text/html, Size: 341 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] why did qemu add the KVM ?
  2009-09-10 15:45 [Qemu-devel] why did qemu add the KVM ? yuanzhu86
@ 2009-09-11  5:57 ` Amit Shah
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Shah @ 2009-09-11  5:57 UTC (permalink / raw)
  To: yuanzhu86; +Cc: qemu-devel

On (Thu) Sep 10 2009 [23:45:41], yuanzhu86 wrote:
>    there is a KVM.c in the target-i386 ,
>    but why did QEMU have this program?
>    shall anyone tell me the fuction of KVM.c to the QEMU ?

When a disk image is given to qemu, qemu converts instructions from the
target architecture to the native architecture. This enables it to run,
for example, ARM binaries on x86. However, when you want to execute x86
code on x86, the translations are not necessary. KVM is code that
short-circuits those translations so that x86 binaries are run directly
on the host x86 CPU.

KVM is a kernel module that handles processor-specific state so that
guests can run side by side normal processes. KVM.c in QEMU sources
interfaces with the KVM kernel modules.

		Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-11  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 15:45 [Qemu-devel] why did qemu add the KVM ? yuanzhu86
2009-09-11  5:57 ` Amit Shah

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).