a42e9c4188
If slirp needs to emulate tcp timeout, then the timeout value for mainloop should be more precise, which is determined by slirp's fasttimo or slowtimo. Achieve this by swap the logic sequence of slirp_pollfds_fill and slirp_update_timeout. Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
12 lines
180 B
C
12 lines
180 B
C
#include "qemu-common.h"
|
|
#include "slirp/slirp.h"
|
|
|
|
void slirp_pollfds_fill(GArray *pollfds, uint32_t *timeout)
|
|
{
|
|
}
|
|
|
|
void slirp_pollfds_poll(GArray *pollfds, int select_error)
|
|
{
|
|
}
|
|
|