]> Git Repo - qemu.git/commit
block/raw-win32: create one QEMUWin32AIOState per BDRVRawState
authorStefan Hajnoczi <[email protected]>
Thu, 8 May 2014 14:34:49 +0000 (16:34 +0200)
committerStefan Hajnoczi <[email protected]>
Wed, 4 Jun 2014 07:56:12 +0000 (09:56 +0200)
commit99cc598924d9686e497fa9ddd7889d6be27f3084
tree1e27fdc915dcf7c0a5a769abaa22fbffe1f439a8
parentabd269b7cf1f084a067731acb8f3272c193cb5f0
block/raw-win32: create one QEMUWin32AIOState per BDRVRawState

Each QEMUWin32AIOState event notifier is associated with an AioContext.
Since BlockDriverState instances can use different AioContexts we cannot
continue to use a global QEMUWin32AIOState.

Let each BDRVRawState have its own QEMUWin32AIOState and free it when
BDRVRawState is closed.

Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/raw-aio.h
block/raw-win32.c
block/win32-aio.c
This page took 0.02545 seconds and 4 git commands to generate.