From 17ec5a8686143da66208273d355f2eeb09807614 Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Thu, 11 Apr 2013 16:29:57 +0200 Subject: virtio-net: add the virtio-net device. Create virtio-net-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic Tested-by: Cornelia Huck Message-id: 1365690602-22729-3-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- hw/s390x/virtio-ccw.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'hw/s390x/virtio-ccw.c') diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 666df780d1..216c983f6c 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -769,11 +769,7 @@ static Property virtio_ccw_net_properties[] = { DEFINE_PROP_STRING("devno", VirtioCcwDevice, bus_id), DEFINE_VIRTIO_NET_FEATURES(VirtioCcwDevice, host_features[0]), DEFINE_NIC_PROPERTIES(VirtioCcwDevice, nic), - DEFINE_PROP_UINT32("x-txtimer", VirtioCcwDevice, - net.txtimer, TX_TIMER_INTERVAL), - DEFINE_PROP_INT32("x-txburst", VirtioCcwDevice, - net.txburst, TX_BURST), - DEFINE_PROP_STRING("tx", VirtioCcwDevice, net.tx), + DEFINE_VIRTIO_NET_PROPERTIES(VirtioCcwDevice, net), DEFINE_PROP_END_OF_LIST(), }; -- cgit v1.2.3