Revision df04d1f16ae58a4eee0f64476667f2fd6c1d6d30 authored by Paolo Bonzini on 05 March 2018, 08:23:56 UTC, committed by Michael Roth on 21 June 2018, 01:44:59 UTC
address_space_write is calling address_space_to_flatview but it can
be called outside the RCU lock.  To fix it, push the rcu_read_lock/unlock
pair up from flatview_write to address_space_write.

Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent ac25a32
Raw File
audio_win_int.h
#ifndef AUDIO_WIN_INT_H
#define AUDIO_WIN_INT_H

int waveformat_from_audio_settings (WAVEFORMATEX *wfx,
                                    struct audsettings *as);

int waveformat_to_audio_settings (WAVEFORMATEX *wfx,
                                  struct audsettings *as);

#endif /* AUDIO_WIN_INT_H */
back to top