All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Michael Tokarev <mjt@tls.msk.ru>, Yan Vugenfirer <yvugenfi@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	Jason Wang <jasowang@redhat.com>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Vadim Rozenfeld <vrozenfe@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] Headsup: windows virtio networking does not work on current git
Date: Sun, 03 Feb 2013 15:09:39 -0600	[thread overview]
Message-ID: <87vca9gl4c.fsf@codemonkey.ws> (raw)
In-Reply-To: <510E8BD4.9000505@msgid.tls.msk.ru>

Michael Tokarev <mjt@tls.msk.ru> writes:

> 03.02.2013 17:23, Yan Vugenfirer wrote:
>
>>> If it helps, mq changes the config size from 8 to 16 bytes.  If the
>>> driver was making an assumption about an 8-byte config size, that's
>>> likely what the problem is.
>>>
>> That's exactly the problem.
>
> So what do we do?  It isn't nice to break existing setups.
> Maybe mq can be disabled by default (together with Antony's
> patch) until fixed drivers will be more widely available?

I've got a patch that does exactly like this.  It's pretty ugly though
because of the relationship between virtio-pci and virtio-net.  I'm
going to try to see if I can find a cleaner way to do it on Monday.

I'm also contemplating just disabling mq by default.  Since a special
command line is needed to enable it anyway (on the backend), having to
specify mq=on for the device doesn't seem so bad.

But yeah, we don't want Windows guests to break with -M pc by default so
we should do something to work around it.

N.B. this is a pretty nasty bug in the guest driver.  Any new virtio-net
feature is going to trigger it (not just multiqueue).  So while pc-1.3
will work forever with this guest image, it's pretty much guaranteed to
break at some point in the future.

> It's easy to turn off mq by default and turn it on when
> needed...
>
> The problem now is that it isn't obvious why your existing
> setup breaks when you upgrade.  While when you especially
> play with mq, you may look at options available around it...

If we ever to get virtio2, a really handy feature to have would be a
driver identification string.  Even if was only informative (and not
authoritative, we've had a lot of issues like this and being able to
make work arounds conditional on the driver identification string would
be nice.

Regards,

Anthony Liguori

>
> How difficult it is to fix it in win driver?
>
> Thanks,
>
> /mjt

  reply	other threads:[~2013-02-03 21:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 20:18 [Qemu-devel] Headsup: windows virtio networking does not work on current git Michael Tokarev
2013-02-01 20:30 ` Michael Tokarev
2013-02-01 20:36   ` Anthony Liguori
2013-02-01 20:42     ` Michael Tokarev
2013-02-01 21:13       ` Anthony Liguori
2013-02-02 12:42         ` Jason Wang
2013-02-02 20:08           ` Vadim Rozenfeld
2013-02-02 23:07             ` Anthony Liguori
2013-02-03 13:23               ` Yan Vugenfirer
2013-02-03 16:09                 ` Michael Tokarev
2013-02-03 21:09                   ` Anthony Liguori [this message]
     [not found] <1359981484.1968.29.camel@localhost>
     [not found] ` <87fw1ckupa.fsf@codemonkey.ws>
     [not found]   ` <1360063865.1968.85.camel@localhost>
     [not found]     ` <5110F0E2.1030705@msgid.tls.msk.ru>
     [not found]       ` <20130205115816.GD6420@redhat.com>
     [not found]         ` <1360144040.1968.119.camel@localhost>
     [not found]           ` <877gmlj5pz.fsf@rustcorp.com.au>
     [not found]             ` <1360229050.1968.149.camel@localhost>
     [not found]               ` <20130207101813.GA3837@redhat.com>
     [not found]                 ` <1360234419.1968.162.camel@localhost>
2013-02-07 11:33                   ` Michael S. Tsirkin
2013-02-07 11:46                     ` Vadim Rozenfeld
2013-02-07 13:02                       ` Yan Vugenfirer
2013-02-07 13:10                         ` Michael S. Tsirkin

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=87vca9gl4c.fsf@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=jasowang@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rusty@rustcorp.com.au \
    --cc=vrozenfe@redhat.com \
    --cc=yvugenfi@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 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.