pci-assign: Update legacy interrupts only if used
commit096392efe1e5ee670f880c96c31f7ea8d6d76cf4
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 23 Aug 2011 17:32:58 +0000 (23 19:32 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 24 Aug 2011 17:12:10 +0000 (24 14:12 -0300)
treef111f9ffa37e5a61a309856ce4ea4d07071b8954
parent6ab4cde7dbb3232ffa2fa3eead0b9fdf506a04ea
pci-assign: Update legacy interrupts only if used

Don't mess with assign_intx on devices that are in MSI or MSI-X mode, it
would corrupt their interrupt routing.

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