acrn-hypervisor/hypervisor/include
Fei Li f83d782255 hv: pci: fix a minor bug about is_pci_cfg_multifunction
Before checking whether a PCI device is a Multi-Function Device or not, we need
make sure this PCI device is a valid PCI device. For a valid PCI device, the
'Header Layout' field in Header Type Register must be 000 0000b (Type 0 PCI device)
or 000 0001b (Type 1 PCI device).

So for a valid PCI device, the Header Type can't be 0xff.

Tracked-On: #4134
Signed-off-by: Fei Li <fei1.li@intel.com>
2021-09-13 13:47:36 +08:00
..
arch/x86/asm hv: use per platform maximum physical address width 2021-08-18 16:26:25 +08:00
common hv: Add check to ensure vcpu_make_request and signal_event are 2021-08-27 16:16:52 +08:00
debug hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dm hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure 2021-09-06 10:24:42 +08:00
hw hv: pci: fix a minor bug about is_pci_cfg_multifunction 2021-09-13 13:47:36 +08:00
lib hv: Move uuid_is_equal to util.h 2021-08-23 14:52:36 +08:00
public hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-23 14:52:36 +08:00