From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3Qdo-0007XK-Uo for qemu-devel@nongnu.org; Wed, 26 Apr 2017 13:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3Qdo-0004mQ-22 for qemu-devel@nongnu.org; Wed, 26 Apr 2017 13:22:12 -0400 MIME-Version: 1.0 From: Anand J Date: Wed, 26 Apr 2017 22:52:07 +0530 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] SVM processor state flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-discuss@nongnu.org Cc: qemu-devel@nongnu.org Hi All, Is there any register flag in SVM enabled processors to figure out the running mode of that processor in order to differentiate between hypervisor execution and guest OS execution? Also can context switch happen while a processor executes KVM code? If yes, how is the state of the hypervisor saved including the hidden states? Thanks, Anand