diff options
author | Zhao Yan | 2018-12-05 08:58:30 +0100 |
---|---|---|
committer | Anthony PERARD | 2019-01-14 14:45:40 +0100 |
commit | 92dbfcc6d435a6f2331298b101ff396c7e643a55 (patch) | |
tree | 4bb50af1aed869ef2b60362d4b6e92c32e308b3b /hw/xenpv/xen_machine_pv.c | |
parent | hw/xen/xen_pt_graphics: Don't trust the BIOS ROM contents so much (diff) | |
download | qemu-92dbfcc6d435a6f2331298b101ff396c7e643a55.tar.gz qemu-92dbfcc6d435a6f2331298b101ff396c7e643a55.tar.xz qemu-92dbfcc6d435a6f2331298b101ff396c7e643a55.zip |
xen/pt: allow passthrough of devices with bogus interrupt pin
For some pci device, even its PCI_INTERRUPT_PIN is not 0, it actually
doesn't support INTx mode, so its machine irq read from host sysfs is 0.
In that case, report PCI_INTERRUPT_PIN as 0 to guest and let passthrough
continue.
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/xenpv/xen_machine_pv.c')
0 files changed, 0 insertions, 0 deletions