On Thu, 2009-02-05 at 02:09 +0300, malc wrote: > On Wed, 4 Feb 2009, Alex Williamson wrote: > > [..snip..] > > > > > +static void virtio_net_handle_ctrl(VirtIODevice *vdev, VirtQueue *vq) > > +{ > > + struct virtio_net_ctrl_hdr ctrl; > > + virtio_net_ctrl_ack status = VIRTIO_NET_ERR; > > + VirtQueueElement elem; > > + > > + while (virtqueue_pop(vq, &elem)) { > > + if ((elem.in_num < 1) | (elem.out_num < 1)) { > ^ intended ? No, good catch. Thank you. -- Alex Williamson HP Open Source & Linux Org. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html