aboutsummaryrefslogtreecommitdiff
path: root/hw/net/trace-events
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-02-27 13:24:10 +0000
committerJason Wang <jasowang@redhat.com>2019-03-05 11:27:41 +0800
commitb2c929f02ba37b206144735313af10fb9cc5d1a4 (patch)
tree6337a0e90ce488d3a32fd27b06e2a9a856f75c85 /hw/net/trace-events
parent44b416ad62bf1068a9653fe066bd500fb9b0d88f (diff)
downloadqemu-b2c929f02ba37b206144735313af10fb9cc5d1a4.zip
qemu-b2c929f02ba37b206144735313af10fb9cc5d1a4.tar.gz
qemu-b2c929f02ba37b206144735313af10fb9cc5d1a4.tar.bz2
virtio-net: Allow qemu_announce_self to trigger virtio announcements
Expose the virtio-net self announcement capability and allow qemu_announce_self() to call it. These announces are caused by something external (i.e. the announce-self command); they won't trigger if the migration counter is triggering announces at the same time. Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/trace-events')
-rw-r--r--hw/net/trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/trace-events b/hw/net/trace-events
index b237d90..3a86004 100644
--- a/hw/net/trace-events
+++ b/hw/net/trace-events
@@ -361,6 +361,7 @@ sunhme_rx_desc(uint32_t addr, int offset, uint32_t status, int len, int cr, int
sunhme_rx_xsum_calc(uint16_t xsum) "calculated incoming xsum as 0x%x"
# hw/net/virtio-net.c
+virtio_net_announce_notify(void) ""
virtio_net_announce_timer(int round) "%d"
virtio_net_handle_announce(int round) "%d"
virtio_net_post_load_device(void)