On 01/13/2017 08:12 AM, Cao jin wrote: > Also move certain hunk above, to place msix init related code together. > > CC: Hannes Reinecke <[email protected]> > CC: Paolo Bonzini <[email protected]> > CC: Markus Armbruster <[email protected]> > CC: Marcel Apfelbaum <[email protected]> > CC: Michael S. Tsirkin <[email protected]> > > Signed-off-by: Cao jin <[email protected]> > --- > hw/scsi/megasas.c | 19 ++++++------------- > 1 file changed, 6 insertions(+), 13 deletions(-) > > msix_init() doesn't set the MSI-X enable bit, so use msix_enabled() > is not right here, restore the old check without the > megasas_use_msix() wrapper. > Reviewed-by: Hannes Reinecke <[email protected]>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking [email protected] +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)
