[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904051311.08114.rusty@rustcorp.com.au>
Date: Sun, 5 Apr 2009 14:11:07 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Christian Borntraeger <borntraeger@...ibm.com>
Cc: Alex Williamson <alex.williamson@...com>, netdev@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: virtio_net: MAC address releated breakage if there is no MAC area in config
On Thursday 02 April 2009 22:03:24 Christian Borntraeger wrote:
> I read this as the mac config field is optional (similar to all the optional
> fields we added in virtio_blk later).
>
> I see two options:
> 1. Change our sample userspace to always allocate the config (like lguest and
> qemu)
> 2. Change the kernel code to not write into the config unless a specific feature
> bit is set. (e.g. VIRTIO_NET_F_SETMAC)
I had assumed it would always exist. Agreed it's unclear; I'm currently
writing down the actual standard to avoid such mistakes in the future.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists