iothread: fix breakage on windows
commit90c558beca0c0ef26db1ed77d1eb8f24a5ea02a1
authorPeter Xu <peterx@redhat.com>
Thu, 22 Mar 2018 08:56:30 +0000 (22 16:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Mar 2018 12:37:15 +0000 (26 14:37 +0200)
treeb64ac2900be2b1a83ed8ff202ae39d367c7e11ea
parent09c2c6ffda7f8f7c64869bc465c2d1715769ebae
iothread: fix breakage on windows

OOB can enable iothread for parsing even on Windows.  We need some tunes
to enable that on Windows otherwise it'll break Windows users.  This
patch fixes the breakage on Windows with qemu-system-ppc.exe.

Reported-by: Howard Spoelstra <hsp.cat7@gmail.com>
Tested-by: Howard Spoelstra <hsp.cat7@gmail.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180322085630.23654-1-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
iothread.c
util/aio-win32.c