From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: systemcalls and kvm ...correct me if I am wrong Date: Sun, 07 Jun 2009 13:33:38 +0300 Message-ID: <4A2B9782.1070503@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Matteo Signorini Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36388 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752917AbZFGKdk (ORCPT ); Sun, 7 Jun 2009 06:33:40 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Matteo Signorini wrote: > Hi to all, > > correct me if I am wrong but isn't it the following the logical > execution chain of a generic system call performed > in a Kvm guest? > > Guest userspace application -> Guest kernel -> Host kernel (kvm) -> > Host userspace (Quemu) -> Host kernel -> > -> Host userspace (Quemu) -> Guest kernel -> Guest userspace application > > No. The actual path is guest userspace -> guest kernel -> guest userspace The guest kernel might access emulated hardware, but usually it does not. > Is there any detailed documentation on how this happens inside qemu-kvm? > No. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.