guest os could not access the vf assigned ,and print this error message . PCI: device 0000:00:06.0 has unknown header type 7f, ignoring. PCI: device 0000:00:07.0 has unknown header type 7f, ignoring. PCI: device 0000:00:08.0 has unknown header type 7f, ignoring. the reason is the config file /sys/bus/pci/devices/xx/config of pci device could not access correctly after guestos start, the content qemu-kvm read from /sys/bus/pci/devices/xx/config is all FF. before start guestos , lspci can display current information of sr-iov devices. include pf and vf. and the content read from /sys/bus/pci/devices/xx/config is correctly. but after start guestos , lspci can not display information of sr-iov. the content read from /sys/bus/pci/devices/xx/config is all FF. 02:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit Network Connection (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: ixgbe Kernel modules: ixgbe 02:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit Network Connection (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: ixgbe Kernel modules: ixgbe 02:10.0 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev ff) (prog-if ff) !!! Unknown header type 7f 02:10.1 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev ff) (prog-if ff) !!! Unknown header type 7f 02:10.2 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev ff) (prog-if ff) !!! Unknown header type 7f 02:10.3 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev ff) (prog-if ff) !!! Unknown header type 7f 02:10.4 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev ff) (prog-if ff) !!! Unknown header type 7f the xml config of guest os below: <domain type='kvm'> <name>f19s02</name> <uuid>211cf0f8-3ed6-42bf-0745-a8d5ee021902</uuid> <memory>6815744</memory> <currentMemory>6815744</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686' machine='pc-0.12'>hvm</type> <boot dev='network'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-kvm</emulator> <controller type='ide' index='0'/> <interface type='bridge'> <mac address='00:e0:fc:00:19:02'/> <source bridge='eth0'/> <target dev='vnet0'/> <model type='e1000'/> </interface> <interface type='bridge'> <mac address='00:e0:fc:01:19:02'/> <source bridge='eth0'/> <target dev='vnet1'/> <model type='e1000'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' listen='*' keymap='en-us'/> <video> <model type='cirrus' vram='9216' heads='1'/> </video> <hostdev mode='subsystem' type='pci' managed='no'> <source> <address domain='0x0000' bus='0x02' slot='0x10' function='0x1'/> </source> </hostdev> <hostdev mode='subsystem' type='pci' managed='no'> <source> <address domain='0x0000' bus='0x02' slot='0x10' function='0x3'/> </source> </hostdev> <hostdev mode='subsystem' type='pci' managed='no'> <source> <address domain='0x0000' bus='0x02' slot='0x10' function='0x0'/> </source> </hostdev> </devices> </domain> why the content read from /sys/bus/pci/devices/xx/config is all FF after guest os start? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html