commit | 1cae88b9f4121c9af0bf677435c6129e643280fd | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Oct 18 19:43:12 2011 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Oct 24 21:26:53 2011 -0200 |
tree | 19405c55e15389570311cf7a633d5ce03f152fb5 | |
parent | 626c427624ac1d6b5dd245cb37988f046cec5f03 [diff] |
kvm: avoid reentring kvm_flush_coalesced_mmio_buffer() mmio callbacks invoked by kvm_flush_coalesced_mmio_buffer() may themselves indirectly call kvm_flush_coalesced_mmio_buffer(). Prevent reentering the function by checking a flag that indicates we're processing coalesced mmio requests. Signed-off-by: Avi Kivity <avi@redhat.com>