diff options
author | aliguori | 2009-01-08 20:45:50 +0100 |
---|---|---|
committer | aliguori | 2009-01-08 20:45:50 +0100 |
commit | 99ed7e30cbd6862ef3bb1ebe51c8a4923d0e282b (patch) | |
tree | e41a87104eec3a8b2cf5e468432684f48e032d6a /hw/virtio-net.c | |
parent | Allow devices be notified of link status change (Mark McLoughlin) (diff) | |
download | qemu-99ed7e30cbd6862ef3bb1ebe51c8a4923d0e282b.tar.gz qemu-99ed7e30cbd6862ef3bb1ebe51c8a4923d0e282b.tar.xz qemu-99ed7e30cbd6862ef3bb1ebe51c8a4923d0e282b.zip |
Implement e1000 link status (Mark McLoughlin)
On link up or down we set the E1000_STATUS_LU ("link up") bit
in the status register and set the E1000_ICR_LSC ("link
status changed") bit in the interrupt cause register before
interrupting the guest.
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@6249 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions