On 06/06/2016 10:01 AM, Cao jin wrote: > megasas overwrite user configuration when msi_init fail to reflect internal > msi > state, which is unsuitable. megasa_use_msi() is unnecessary, we can call > msi_uninit() when unrealize, even no bother to call msi_enabled() first. > > cc: Hannes Reinecke <h...@suse.de> > cc: Paolo Bonzini <pbonz...@redhat.com> > cc: Markus Armbruster <arm...@redhat.com> > cc: Marcel Apfelbaum <mar...@redhat.com> > cc: Michael S. Tsirkin <m...@redhat.com> > > Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> > --- > hw/scsi/megasas.c | 15 +++------------ > 1 file changed, 3 insertions(+), 12 deletions(-) >
Acked-by: Hannes Reinecke <h...@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)