From mboxrd@z Thu Jan 1 00:00:00 1970 From: "jemmy858585" Subject: How kvm handle extern interrupt when guest os is running Date: Sun, 29 Aug 2010 22:16:24 +0800 Message-ID: <201008292216173903911@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "kvm" Return-path: Received: from mail-pw0-f46.google.com ([209.85.160.46]:58439 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753146Ab0H2OP6 (ORCPT ); Sun, 29 Aug 2010 10:15:58 -0400 Received: by pwi7 with SMTP id 7so1862319pwi.19 for ; Sun, 29 Aug 2010 07:15:58 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: i didn't understand how kvm handle extern interrupt when guest os running. i think the extern interrupt will cause vm exit, then kvm should pass this interrupt to host os , then the host os handle it. but i didn't found the correlative code. I think vmx_complete_interrupts and vmx_handle_exit function will be execute, but i didn't found how pass the extern interrupt to host os. If anyone knows , please tell me,thanks. -------------- jemmy858585 2010-08-29