]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
slirp: replace global polling with per-instance & notifier
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 17 Jan 2019 11:43:55 +0000 (15:43 +0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 7 Feb 2019 13:49:08 +0000 (15:49 +0200)
commit1ab67b98cdd78b94ce818a7d0a964e3e4d7a4538
tree6170bef3ba22ffbe442ccd9e0336bbbbc0e49297
parent625a526b3298ce593983923b4d10fa582555f26d
slirp: replace global polling with per-instance & notifier

Remove hard-coded dependency on slirp in main-loop, and use a "poll"
notifier instead. The notifier is registered per slirp instance.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
include/qemu/main-loop.h
net/slirp.c
slirp/libslirp.h
slirp/slirp.c
stubs/Makefile.objs
stubs/slirp.c [deleted file]
util/main-loop.c