diff options
| author | Jason Wang | 2013-01-30 12:12:22 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-02-01 18:02:55 +0100 |
| commit | b356f76de31e343121cdab3a01b39182edce9519 (patch) | |
| tree | 917613c9d0047ba2b4b67a5a4e6146c62b2a62d7 /savevm.c | |
| parent | net: tap: use abort() instead of assert(0) (diff) | |
| download | qemu-b356f76de31e343121cdab3a01b39182edce9519.tar.gz qemu-b356f76de31e343121cdab3a01b39182edce9519.tar.xz qemu-b356f76de31e343121cdab3a01b39182edce9519.zip | |
net: introduce qemu_get_queue()
To support multiqueue, the patch introduce a helper qemu_get_queue()
which is used to get the NetClientState of a device. The following patches would
refactor this helper to support multiqueue.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'savevm.c')
| -rw-r--r-- | savevm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ static void qemu_announce_self_iter(NICState *nic, void *opaque) len = announce_self_create(buf, nic->conf->macaddr.a); - qemu_send_packet_raw(&nic->nc, buf, len); + qemu_send_packet_raw(qemu_get_queue(nic), buf, len); } |
