From: Lei Xia Date: Thu, 27 Oct 2011 17:19:41 +0000 (-0500) Subject: minor fix to virtio VNET device to make it compilable X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=0cfc0855d8a1fc9c6982ec2672c2bc4683eb4e2a minor fix to virtio VNET device to make it compilable But this device is depreciated, is only used with VNET under Kitten --- diff --git a/palacios/src/devices/lnx_virtio_vnet.c b/palacios/src/devices/lnx_virtio_vnet.c index e604b9e..7b6d75c 100644 --- a/palacios/src/devices/lnx_virtio_vnet.c +++ b/palacios/src/devices/lnx_virtio_vnet.c @@ -303,7 +303,7 @@ static int do_tx_pkts(struct guest_info * core, memcpy(pkt.header, virtio_pkt->pkt, ETHERNET_HEADER_LEN); pkt.data = virtio_pkt->pkt; - v3_vnet_send_pkt(&pkt, NULL, 1); + v3_vnet_send_pkt(&pkt, NULL); q->used->ring[q->used->index % q->queue_size].id = q->avail->ring[q->cur_avail_idx % q->queue_size]; q->used->ring[q->used->index % q->queue_size].length = pkt_desc->length; // What do we set this to????