pci_assign: Flip defaults of prefer_msi and share_intx
commit6919115a8715c34cd80baa08422d90496f11f5d7
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Mar 2012 10:10:27 +0000 (8 11:10 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 9 Mar 2012 22:48:51 +0000 (9 19:48 -0300)
tree01fff930923fc3e1a164e2d739ea8ae6cc8e6f24
parentff8bacfc1d8388fe9089f35e533014be9fe93bcb
pci_assign: Flip defaults of prefer_msi and share_intx

INTx sharing is a bit more expensive than exclusive host interrupts, but
this channel is not supposed to be used for high-performance scenarios
anyway. Modern devices support MSI/MSI-X and do not depend on using INTx
under critical workload, real old devices do not support INTx sharing
anyway.

For those in the middle, the user experience is much better if they just
work even when IRQ sharing is required. If there is nothing to share,
share_intx=off can still be applied as tuning parameter.

With INTx sharing as default, the primary reason for prefer_msi=on is
gone. Make it default off, specifically as it is known to cause troubles
with devices that have incomplete/broken MSI support or otherwise
stumble if host IRQ configuration does not match guest driver
expectation.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/device-assignment.c