From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Duffy Subject: Re: Question regarding KVM networking Date: Mon, 21 Jun 2010 10:09:45 -0500 Message-ID: <4C1F80B9.5040709@dyfis.net> References: <565A1D7B-2721-4FB1-A4B8-315C4512D76C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:33105 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932343Ab0FUPNW (ORCPT ); Mon, 21 Jun 2010 11:13:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OQiga-00064K-WB for kvm@vger.kernel.org; Mon, 21 Jun 2010 17:13:20 +0200 Received: from 143.166.197.6 ([143.166.197.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jun 2010 17:13:20 +0200 Received: from charles by 143.166.197.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jun 2010 17:13:20 +0200 In-Reply-To: <565A1D7B-2721-4FB1-A4B8-315C4512D76C@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/21/2010 09:51 AM, Kangkook Jee wrote: > Does KVM hook into NetFilter to intercept packets destined for the guest, or PF_PACKET? None of the above. With -net user, KVM uses techniques derived from SLiRP to simulate a network stack with only traditional userspace UNIX socket calls. With -net tap, it uses the standard ethertap interface. -net socket and -net dump likewise do nothing unconventional.