« Previous | Next » 

Revision 6eab3de1

ID6eab3de16d36c48a983366b09d0a0029a5260bc3

Added by Isaku Yamahata almost 14 years ago

pci: set PCI multi-function bit appropriately.

Set PCI multi-function bit according to multifunction property.
PCI address, devfn ,is exported to users as addr property,
so users can populate pci function(PCIDevice in qemu)
at arbitrary devfn.
It means each function(PCIDevice) don't know whether pci device
(PCIDevice8) is multi function or not.
So this patch allows user to set multifunction bit via property
and checks whether multifunction bit is set correctly.

Cc: Juan Quintela <>
Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences