public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
	Anthony Liguori <aliguori@us.ibm.com>,
	kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>
Subject: Re: [PATCH] Work around dhclient brokenness
Date: Tue, 19 Aug 2008 12:12:48 +0300	[thread overview]
Message-ID: <48AA8E90.7070404@qumranet.com> (raw)
In-Reply-To: <200808191045.20980.rusty@rustcorp.com.au>

Rusty Russell wrote:
> On Monday 18 August 2008 21:44:25 Herbert Xu wrote:
>   
>> On Mon, Aug 18, 2008 at 02:40:55PM +0300, Avi Kivity wrote:
>>     
>>> Isn't that turned on automatically for real hardware?  And what's to
>>> prevent a broken dhclient together with the (presumably) hacked up
>>> initscripts that call ethtool?
>>>       
>> Well the idea is that only a fixed guest would even know about
>> enabling this.
>>     
>
> For those not following closely: We already have a method for the guest to 
> accept or reject features.  Our problem is that the guest is already 
> accepting the CSUM feature: but one critical userspace app (dhcp-client) can't 
> actually handle it due to a bug.
>
> The proposal is to add another mechanism, whereby the host doesn't advertise 
> CSUM, but advertises a new CSUM2 feature.  The driver doesn't accept this by 
> default: then guest userspace says "hey, I *really can* handle CSUM".  This 
> would have to be done dby resetting the device in the ethtool callback 
> (that's how we renegotiate features).  And guests need a special virtio hack 
> in their init scripts.
>
> This leaves the small number of current users without CSUM (and hence GSO 
> etc).  Yet they might not use dhcp with bridging anyway.  Worst of all, we 
> have to document this embarrassing workaround.
>
> Neither solution is good.  But I don't think Anthony's hack looks so bad after 
> this.
>   

Well, if changed to avoid random udp packets and focus on dhcp, okay.

I'd still like a way to disable it from the host.  Even when it does 
nothing it will force the header into the host cache, which may be 
different from the guest cache.

-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2008-08-19  9:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 19:47 [PATCH] Work around dhclient brokenness Anthony Liguori
2008-08-18 10:56 ` Avi Kivity
2008-08-18 11:01   ` Herbert Xu
2008-08-18 11:06     ` Avi Kivity
2008-08-18 11:34       ` Herbert Xu
2008-08-18 11:40         ` Avi Kivity
2008-08-18 11:44           ` Herbert Xu
2008-08-18 12:15             ` Avi Kivity
2008-08-19  0:45             ` Rusty Russell
2008-08-19  3:17               ` Chris Wedgwood
2008-08-19  4:41                 ` Rusty Russell
2008-08-19  5:13                   ` Chris Wedgwood
2008-08-19  5:17                     ` Herbert Xu
2008-08-19  5:28                       ` Chris Wedgwood
2008-08-19  9:10                         ` Rusty Russell
2008-08-19 15:05                           ` Chris Wedgwood
2008-08-25  4:01                             ` Rusty Russell
2008-08-19  9:08                       ` Rusty Russell
2008-08-19  9:56                         ` Herbert Xu
2008-08-19 11:36                           ` Rusty Russell
2008-08-19 23:35                         ` Anthony Liguori
2008-08-19  9:12               ` Avi Kivity [this message]
2008-08-19 13:42                 ` Anthony Liguori
2008-08-19 13:50                   ` Avi Kivity
2008-08-19 13:54                     ` Anthony Liguori
2008-08-19 14:00                       ` Avi Kivity
2008-08-24  8:39 ` Herbert Xu

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=48AA8E90.7070404@qumranet.com \
    --to=avi@qumranet.com \
    --cc=aliguori@us.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kvm@vger.kernel.org \
    --cc=markmc@redhat.com \
    --cc=rusty@rustcorp.com.au \
    /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