qemu:virtio-net: Allow setting the MAC address via set_config (Alex Williamson)
commit0f03eca6065fa6510cc480494d800f938484c7f6
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:08 +0000 (5 22:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:08 +0000 (5 22:36 +0000)
tree6141e46142b4fcaac828f5dd2b552a9ce1afb891
parent9d6271b8a049372efd6b06bbb794f278777f7b86
qemu:virtio-net: Allow setting the MAC address via set_config (Alex Williamson)

Allow the guest to write to the MAC address config space and update
the network info string when it does.  Rename get_config for symmetry.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6534 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c