On Thu, Dec 11, 2014 at 02:25:18PM +0100, Cornelia Huck wrote: > diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c > index ebbea60..7ee2bd6 100644 > --- a/hw/net/virtio-net.c > +++ b/hw/net/virtio-net.c > @@ -373,15 +373,21 @@ static int peer_has_ufo(VirtIONet *n) > return n->has_ufo; > } > > -static void virtio_net_set_mrg_rx_bufs(VirtIONet *n, int mergeable_rx_bufs) > +static void virtio_net_set_mrg_rx_bufs(VirtIONet *n, int mergeable_rx_bufs, > + int version_1)
Please use bool, it makes it 100% clear what the meaning of "version_1" is. s/int/bool/
pgp36dTzGpTkZ.pgp
Description: PGP signature