aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-03-07 17:21:41 +0100
committerAlexander Graf <agraf@suse.de>2013-03-08 21:17:46 +0100
commit35569cea79fd3f5ccb5b23ca024c7d3aa4d24e75 (patch)
treed5a7b526d8d66fbed664f60364f8c53df0ae79a6
parentdd4ad64ada4316d2f61af0e0489e89fe620244db (diff)
downloadqemu-35569cea79fd3f5ccb5b23ca024c7d3aa4d24e75.zip
qemu-35569cea79fd3f5ccb5b23ca024c7d3aa4d24e75.tar.gz
qemu-35569cea79fd3f5ccb5b23ca024c7d3aa4d24e75.tar.bz2
Allow virtio-net features for legacy s390 virtio bus
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>
-rw-r--r--hw/s390x/s390-virtio-bus.c1
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,