Cao jin <[email protected]> writes: > 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: Markus Armbruster <[email protected]>
