qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Cc: "Blue Swirl" <blauwirbel@gmail.com>,
	"Christian Borntraeger" <borntraeger@de.ibm.com>,
	qemu-stable@nongnu.org, "Aurélien Jarno" <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 3/5] Allow virtio-net features for legacy s390 virtio bus
Date: Fri,  8 Mar 2013 21:17:51 +0100	[thread overview]
Message-ID: <1362773873-4510-4-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1362773873-4510-1-git-send-email-agraf@suse.de>

From: Christian Borntraeger <borntraeger@de.ibm.com>

Enable all virtio-net features for the legacy s390 virtio bus. This also fixes
kernel BUG at /usr/src/packages/BUILD/kernel-default-3.0.58/linux-3.0/drivers/s390/kvm/kvm_virtio.c:121!

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/s390x/s390-virtio-bus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c
index 089ed92..d9b7f83 100644
--- a/hw/s390x/s390-virtio-bus.c
+++ b/hw/s390x/s390-virtio-bus.c
@@ -402,6 +402,7 @@ static const VirtIOBindings virtio_s390_bindings = {
 
 static Property s390_virtio_net_properties[] = {
     DEFINE_NIC_PROPERTIES(VirtIOS390Device, nic),
+    DEFINE_VIRTIO_NET_FEATURES(VirtIOS390Device, host_features),
     DEFINE_PROP_UINT32("x-txtimer", VirtIOS390Device,
                        net.txtimer, TX_TIMER_INTERVAL),
     DEFINE_PROP_INT32("x-txburst", VirtIOS390Device,
-- 
1.6.0.2

  parent reply	other threads:[~2013-03-08 20:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 20:17 [Qemu-devel] [PULL 0/5] s390 patch queue 2013-03-08 Alexander Graf
2013-03-08 20:17 ` [Qemu-devel] [PATCH 1/5] s390: simplify kvm cpu init Alexander Graf
2013-03-08 20:17 ` [Qemu-devel] [PATCH 2/5] s390: virtio-ccw maintainer Alexander Graf
2013-03-08 20:17 ` Alexander Graf [this message]
2013-03-08 20:17 ` [Qemu-devel] [PATCH 4/5] s390/css: Fix subchannel detection Alexander Graf
2013-03-08 20:17 ` [Qemu-devel] [PATCH 5/5] s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del Alexander Graf
2013-03-09 12:09 ` [Qemu-devel] [PULL 0/5] s390 patch queue 2013-03-08 Blue Swirl

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=1362773873-4510-4-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.com \
    --cc=borntraeger@de.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@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).