qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Roy Vardi <royv@ezchip.com>
Cc: "lcapitulino@redhat.com" <lcapitulino@redhat.com>,
	"stefanha@redhat.com" <stefanha@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"aliguori@amazon.com" <aliguori@amazon.com>,
	"armbru@redhat.com" <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] net: Add persistent flag to -net tap option
Date: Tue, 6 Jan 2015 11:58:03 +0000	[thread overview]
Message-ID: <20150106115803.GF29775@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <AM2PR02MB0532F599E857F3BC42BCACC8AA690@AM2PR02MB0532.eurprd02.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-01-06 11:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 12:05 [Qemu-devel] [PATCH] net: Add persistent flag to -net tap option Roy Vardi
2014-12-19 13:13 ` Stefan Hajnoczi
2014-12-19 13:18   ` Daniel P. Berrange
2014-12-21  7:17   ` Roy Vardi
2015-01-06 11:58     ` Stefan Hajnoczi [this message]
2014-12-19 15:29 ` Eric Blake
  -- strict thread matches above, loose matches on Subject: below --
2014-12-21  7:48 Roy Vardi
2014-12-22  6:33 ` Jason Wang
2014-12-23  8:44   ` Roy Vardi
     [not found]     ` <AM2PR02MB0532BC1703B005CE79A141FCAA570@AM2PR02MB0532.eurprd02.prod.outlook .com>
2014-12-23  9:13       ` Jason Wang
2014-12-29  7:38         ` Roy Vardi
2015-01-04  7:28           ` Jason Wang
2015-01-18  9:42             ` Roy Vardi
2015-01-22 15:25 ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150106115803.GF29775@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=aliguori@amazon.com \
    --cc=armbru@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=royv@ezchip.com \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).