qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 2/5] virtio-net: Add a virtqueue for control com


From: Alex Williamson
Subject: [Qemu-devel] Re: [PATCH 2/5] virtio-net: Add a virtqueue for control commands from the guest
Date: Wed, 14 Jan 2009 09:57:28 -0700

On Wed, 2009-01-14 at 10:15 +0000, Mark McLoughlin wrote:
> On Tue, 2009-01-13 at 14:23 -0700, Alex Williamson wrote:
> > +
> > +        ctrl = (void *)elem.out_sg[0].iov_base;
> > +        status = (void *)elem.in_sg[elem.in_num - 1].iov_base;
> 
> These casts aren't needed - iov_base is a void pointer.

Thanks

Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]