From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8SmB-0002h7-Q2 for qemu-devel@nongnu.org; Tue, 06 Jan 2015 06:58:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8Sm2-00067Q-Kx for qemu-devel@nongnu.org; Tue, 06 Jan 2015 06:58:19 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:55230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8Sm2-00065P-60 for qemu-devel@nongnu.org; Tue, 06 Jan 2015 06:58:10 -0500 Received: by mail-wg0-f52.google.com with SMTP id x12so29102717wgg.11 for ; Tue, 06 Jan 2015 03:58:09 -0800 (PST) Date: Tue, 6 Jan 2015 11:58:03 +0000 From: Stefan Hajnoczi Message-ID: <20150106115803.GF29775@stefanha-thinkpad.redhat.com> References: <1418645123-32256-1-git-send-email-royv@ezchip.com> <20141219131350.GA23953@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] net: Add persistent flag to -net tap option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roy Vardi Cc: "lcapitulino@redhat.com" , "stefanha@redhat.com" , "qemu-devel@nongnu.org" , "aliguori@amazon.com" , "armbru@redhat.com" --iBwuxWUsK/REspAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 21, 2014 at 07:17:42AM +0000, Roy Vardi wrote: > When using "-net tap" flag today, the tap interface is not released on shutdown. This is the default behavior and I'm not breaking it. ... > . /qemu-system -net tap,ifname=tap0,script=no,downscript=no That is not the behavior that I observe with Linux 3.17.4-302.fc21.x86_64 and qemu.git/master (ab0302ee764fd702465aef6d88612cdff4302809). When I run your command-line, the tap0 interface is visible. After QEMU shuts down the tap interface is no longer visible in the output of the "ip addr" command. What do you observe on your machine that makes you say "the tap interface is not released on shutdown"? Stefan --iBwuxWUsK/REspAd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUq83LAAoJEJykq7OBq3PIv0IH/A0KIASlBClneWSKHp/4kj/X ozgobCk+R7qMYbp6WGuX5TOK/FmIOLMv5QIPrjojRq8Vu6kEoNKanjIt05A+uCJp J/C2v2VpQtwLSD27QBVkiCfzJ0ycIhlH1kDuGCsG85yFnwXoc0O6OaCWauy5lUaP lSSisL+73j2mduCsqQdZXajvlRNYdATtbrQsDa3eEws5518E7sS1qZKrID1m010Z 2zQUH7IkGuH1/Z6O6qVNAZv0KxFsDnEyuxQHt1Partivy8n/Mj2Ql3GXCu87njTm cUONet2VpR0vz/DoyY2PnhiirhjgWYE5LCdBNilTrmF/DcvqlwmXryJ4epvXO2M= =rynY -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--