From: Rik van Riel <riel@redhat.com>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: netdev@vger.kernel.org, Maxim Krasnyansky <maxk@qualcomm.com>,
Cong Wang <amwang@redhat.com>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH] tun: teach the tun/tap driver to support netpoll
Date: Wed, 15 Jun 2011 13:50:38 -0400 [thread overview]
Message-ID: <4DF8F0EE.4070009@redhat.com> (raw)
In-Reply-To: <1308151501-8434-1-git-send-email-nhorman@tuxdriver.com>
On 06/15/2011 11:25 AM, Neil Horman wrote:
> Commit 8d8fc29d02a33e4bd5f4fa47823c1fd386346093 changed the behavior of slave
> devices in regards to netpoll. Specifically it created a mutually exclusive
> relationship between being a slave and a netpoll-capable device. This creates
> problems for KVM because guests relied on needing netconsole active on a slave
> device to a bridge. Ideally libvirtd could just attach netconsole to the bridge
> device instead, but thats currently infeasible, because while the bridge device
> supports netpoll, it requires that all slave interface also support it, but the
> tun/tap driver currently does not. The most direct solution is to teach tun/tap
> to support netpoll, which is implemented by the patch below.
>
> I've not tested this yet, but its pretty straightforward.
I have tested it. I can run netconsole and my KVM guests
simultaneously again.
Thank you, Neil!
Now all I have to do is log whatever other bugs are haunting
3.0-rc and causing my system to hang :)
> Signed-off-by: Neil Horman<nhorman@tuxdriver.com>
> Reported-by: Rik van Riel<riel@redhat.com>
> CC: Rik van Riel<riel@redhat.com>
> CC: Maxim Krasnyansky<maxk@qualcomm.com>
> CC: Cong Wang<amwang@redhat.com>
> CC: "David S. Miller"<davem@davemloft.net>
Reviewed-by: Rik van Riel <riel@redhat.com>
Tested-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
next prev parent reply other threads:[~2011-06-15 17:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 15:25 [PATCH] tun: teach the tun/tap driver to support netpoll Neil Horman
2011-06-15 17:50 ` Rik van Riel [this message]
2011-06-16 1:44 ` Cong Wang
2011-06-17 3:53 ` David Miller
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=4DF8F0EE.4070009@redhat.com \
--to=riel@redhat.com \
--cc=amwang@redhat.com \
--cc=davem@davemloft.net \
--cc=maxk@qualcomm.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.