From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bug 1286253 <1286253@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [Bug 1286253] [NEW] virtio-net acceleration features not set when plugged into backend dynamically
Date: Mon, 3 Mar 2014 13:37:46 +0100 [thread overview]
Message-ID: <20140303123746.GD21055@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20140228174019.12875.25127.malonedeb@wampee.canonical.com>
On Fri, Feb 28, 2014 at 05:40:19PM -0000, Mario Smarduch wrote:
> When using indpendent transport and backend in this case virtio-net-
> device transport, none of the acceleration features are set after guest
> probes the transport the backend is plugged into. For virtio-net this
> leads to low throughput/performance. This holds true for virtio-mmio,
> PCI transports and most likely for others as well (CCW, S390) and other
> backends
>
> Command to run:
> ./qemu-system-arm -enable-kvm -smp 2 -kernel zImage -dtb ./guest-a15.dtb -m 512 -M vexpress-a15 -cpu cortex-a15 -nographic \
> -append "root=/dev/vda rw console=ttyAMA0 rootwait" -drive if=none,file=/mnt/gauss.root,id=vm1 \
> -device virtio-blk-device,drive=vm1 -netdev type=tap,id=net0,ifname=tap0 \
> -device virtio-net-device,netdev=net0,mac="52:54:00:12:34:58"
>
> For x86 same virtio command for network.
Can you explain in more detail?
The command-line looks sane. The virtio-net-device instance should
figure out the tap supports offloads.
Did you try adding a printf to virtio_net_get_features() to see why the
offload features are not being detected?
Stefan
next prev parent reply other threads:[~2014-03-03 12:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 17:40 [Qemu-devel] [Bug 1286253] [NEW] virtio-net acceleration features not set when plugged into backend dynamically Mario Smarduch
2014-03-03 12:37 ` Stefan Hajnoczi [this message]
2014-03-03 12:48 ` Michael S. Tsirkin
2014-03-03 20:12 ` Mario Smarduch
2017-05-16 10:12 ` [Qemu-devel] [Bug 1286253] " Thomas Huth
2017-07-16 4:17 ` Launchpad Bug Tracker
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=20140303123746.GD21055@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=1286253@bugs.launchpad.net \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).