mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
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>
This commit is contained in:
@@ -410,5 +410,7 @@ void aio_context_setup(AioContext *ctx)
|
||||
void aio_context_set_poll_params(AioContext *ctx, int64_t max_ns,
|
||||
int64_t grow, int64_t shrink, Error **errp)
|
||||
{
|
||||
error_setg(errp, "AioContext polling is not implemented on Windows");
|
||||
if (max_ns) {
|
||||
error_setg(errp, "AioContext polling is not implemented on Windows");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user