Implement virtio_net link status (Mark McLoughlin)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 Jan 2009 19:46:33 +0000 (19:46 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 Jan 2009 19:46:33 +0000 (19:46 +0000)
commitd0e921aa8c357e0727653dfa3a6343c60c3f0f5c
tree78e4b93f943ff43051ad972e5f39221e35bccb67
parent3dd807c9de4b2cd364ffb6587f6393083fb196a6
Implement virtio_net link status (Mark McLoughlin)

Implement the VIRTIO_NET_F_STATUS feature by exposing the link status
through virtio_net_config::status.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6250 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio-net.h