From 5e5db49953e31689c1c70060870f0a7a6de26fcb Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 1 Dec 2016 19:26:52 +0000 Subject: iothread: add poll-grow and poll-shrink parameters These parameters control the poll time self-tuning algorithm. They are optional and will default to sane values if omitted. Signed-off-by: Stefan Hajnoczi Reviewed-by: Paolo Bonzini Message-id: 20161201192652.9509-14-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi --- include/sysemu/iothread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sysemu/iothread.h') diff --git a/include/sysemu/iothread.h b/include/sysemu/iothread.h index 314e163..e6da1a4 100644 --- a/include/sysemu/iothread.h +++ b/include/sysemu/iothread.h @@ -31,6 +31,8 @@ typedef struct { /* AioContext poll parameters */ int64_t poll_max_ns; + int64_t poll_grow; + int64_t poll_shrink; } IOThread; #define IOTHREAD(obj) \ -- cgit v1.1