This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] context switch and hypervisor

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] context switch and hypervisor
From: "Chris Zhang" <abnamro.chris@xxxxxxxxx>
Date: Fri, 15 Sep 2006 16:11:15 +1000
Delivery-date: Thu, 14 Sep 2006 23:11:46 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BNcVQYsKO15VkUyhFpxYX8DZFEHAjtf0pN7A7gF/HQ/ouSLsUaQGEsOLlXDeLiTIKrOMChRck6S3EPrX4vaTZPEr8BHeqwiRfqjTE9KxbFnG8LZOV5rAgsD2BI2ST9cZ02nis40+E2xPoMdMjUgmRzS7cZfcCuiXArZ86coNrHQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I have been reading some papers from Xen and other sources, there are just a couple of questions that I found hard to understand.
Why is Xen hypervisor better than a traditional hypervisor? With a traditional hypervisor, during a context switch, the hypervisor stores the states of a guest OS then goes to the next OS, upon coming back to the first OS it restores the hardware states then passes it on to the first OS. Does Xen pretty much do the same thing except it provides an API to the OS, and the reason/benefit of having such an API is to reduce the time for a TLB flush?
Can someone please explain this to me in detail?
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>