On Tue, 2009-01-13 at 14:23 -0700, Alex Williamson wrote:

Commit log explaining why we need this.

> Signed-off-by: Alex Williamson <alex.william...@hp.com>

Acked-by: Mark McLoughlin <mar...@redhat.com>

> +     } else {
>               random_ether_addr(dev->dev_addr);
> +             vdev->config->set(vdev, offsetof(struct virtio_net_config, mac),
> +                               dev->dev_addr, dev->addr_len);
> +     }

Please make sure you test this with a host which doesn't set a default
mac address, otherwise it's "untested buggy code" :-)

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to