[vfio-users] issues about igd-passthrough using vfio-pci

José Ramón Muñoz Pekkarinen koalinux at gmail.com
Sat Sep 17 17:12:23 UTC 2016


On Tuesday 13 September 2016 21:38:01 Alex Williamson wrote:
> [adding the list back]
> 
> On Tue, Sep 13, 2016 at 9:17 PM, fulaiyang <fulaiyang at 163.com> wrote:
> > hello,
> > 
> >     my kernel does include simplefb:CONFIG_FB_SIMPLE=y.QEMU does not
> > 
> > print any messages when started but the top tree show that qemu'cpu usage
> > is always about 100%.I have confirmed that the windows 7 os does not
> > boot.I
> > don't know how I can get other qemu information,could you tell me? thanks.
> > 
> >    PID USER      PR  NI    VIRT    RES    SHR S  *%CPU* %MEM     TIME+
> > 
> > COMMAND
> > 
> >  9542 root      20   0 2768476 2.028g  11848 S * 99.7* 53.3   3:48.82
> > 
> > qemu-system-x86
> 
> Try removing the modprobe.blacklist and video options from your kernel
> command line (the unsafe interrupts thing isn't necessary on your system
> either).  After boot, IGD should be bound to i915.  Unbind it, bind to
> vfio-pci, and try QEMU again.  Since you have simplefb in your kernel, I
> don't trust that it's not claiming device resources as you're using it now.

	Hi Alex, Yang.

	I've been toying around with this case again, and it seems I got some 
output that can be of any help. I think it points that i915 is reluctant to 
free the resources, but it can highlight something else to your eyes.

[  225.155202] ------------[ cut here ]------------
[  225.155217] WARNING: CPU: 2 PID: 7101 at drivers/gpu/drm/drm_crtc.c:5939 
drm_mode_config_cleanup+0x20f/0x230 [drm]
[  225.155218] Modules linked in: vfio_pci vfio_iommu_type1 vfio_virqfd vfio drbg 
ansi_cprng ctr ccm bridge stp llc af_packet ipt_MASQUERADE 
nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 
nf_defrag_ipv4 iptable_filter ip_tables nf_conntrack_ipv6 nf_defrag_ipv6 
xt_conntrack nf_conntrack ip6table_filter ip6_tables snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc i915 arc4 iwlmvm 
mac80211 loop i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt 
fb_sys_fops drm x86_pkg_temp_thermal intel_powerclamp iwlwifi coretemp 
kvm_intel kvm joydev snd_hda_intel uvcvideo mousedev snd_hda_codec btusb 
cfg80211 btrtl videobuf2_vmalloc videobuf2_memops btbcm btintel snd_hwdep 
videobuf2_v4l2 rtsx_pci_sdmmc videobuf2_core bluetooth mmc_core videodev 
snd_hda_core
[  225.155245]  snd_pcsp rtsx_pci_ms snd_pcm memstick media irqbypass 
crc32c_intel snd_timer psmouse ghash_clmulni_intel snd i2c_hid efi_pstore evdev 
wmi video input_leds efivars i2c_i801 serio_raw rtsx_pci i2c_core backlight 
intel_lpss_acpi intel_lpss thermal tpm_crb soundcore mfd_core button battery 
ac acpi_pad efivarfs unix dm_zero dm_thin_pool dm_persistent_data dm_bio_prison 
dm_service_time dm_round_robin dm_queue_length dm_multipath dm_log_userspace 
cn dm_flakey dm_delay xts aesni_intel glue_helper lrw gf128mul ablk_helper 
cryptd aes_x86_64 cbc sha256_generic scsi_transport_iscsi r8169 mii fuse nfs 
lockd grace sunrpc fscache ext4 jbd2 mbcache multipath linear raid10 raid1 
raid0 dm_raid raid456 libcrc32c md_mod async_raid6_recov async_memcpy async_pq 
async_xor xor async_tx raid6_pq dm_snapshot
[  225.155275]  dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod 
hid_generic usbhid xhci_pci xhci_hcd ohci_hcd uhci_hcd usb_storage ehci_pci 
ehci_hcd usbcore usb_common scsi_transport_fc sr_mod cdrom sg sd_mod ata_piix 
ahci libahci sata_sx4 pata_oldpiix
[  225.155286] CPU: 2 PID: 7101 Comm: vfio-bind Not tainted 4.7.2 #5
[  225.155287] Hardware name: PC Specialist Limited N24_25JU/N24_25JU, BIOS 
5.11 12/14/2015
[  225.155288]  0000000000000000 ffff88035a43fc08 ffffffff812d18c2 
0000000000000000
[  225.155290]  0000000000000000 ffff88035a43fc48 ffffffff8105b211 
00001733a0928530
[  225.155292]  ffff88035bfbe498 ffff88035bfbe000 ffff88035bfbe340 
ffff88035e65bb80
[  225.155293] Call Trace:
[  225.155297]  [<ffffffff812d18c2>] dump_stack+0x67/0x95
[  225.155299]  [<ffffffff8105b211>] __warn+0xd1/0xf0
[  225.155301]  [<ffffffff8105b2fd>] warn_slowpath_null+0x1d/0x20
[  225.155310]  [<ffffffffa09284bf>] drm_mode_config_cleanup+0x20f/0x230 [drm]
[  225.155331]  [<ffffffffa0bdb630>] intel_modeset_cleanup+0x80/0xa0 [i915]
[  225.155347]  [<ffffffffa0c15dd4>] i915_driver_unload+0x74/0x1d0 [i915]
[  225.155354]  [<ffffffffa091f329>] drm_dev_unregister+0x29/0xb0 [drm]
[  225.155361]  [<ffffffffa091f923>] drm_put_dev+0x23/0x60 [drm]
[  225.155370]  [<ffffffffa0b51cc5>] i915_pci_remove+0x15/0x20 [i915]
[  225.155372]  [<ffffffff8131a679>] pci_device_remove+0x39/0xc0
[  225.155375]  [<ffffffff813fe4ea>] __device_release_driver+0x9a/0x140
[  225.155376]  [<ffffffff813fe5b3>] device_release_driver+0x23/0x30
[  225.155377]  [<ffffffff813fc397>] unbind_store+0xe7/0x140
[  225.155379]  [<ffffffff813fb9e5>] drv_attr_store+0x25/0x30
[  225.155381]  [<ffffffff8124bf67>] sysfs_kf_write+0x37/0x40
[  225.155382]  [<ffffffff8124b498>] kernfs_fop_write+0x118/0x190
[  225.155384]  [<ffffffff811d2988>] __vfs_write+0x28/0x120
[  225.155386]  [<ffffffff812700cd>] ? security_file_permission+0x3d/0xc0
[  225.155388]  [<ffffffff810a3642>] ? percpu_down_read+0x12/0x60
[  225.155390]  [<ffffffff811d3668>] vfs_write+0xb8/0x1a0
[  225.155391]  [<ffffffff811d49f6>] SyS_write+0x46/0xb0
[  225.155393]  [<ffffffff81002cf1>] do_syscall_64+0x61/0x110
[  225.155395]  [<ffffffff815b5a95>] entry_SYSCALL64_slow_path+0x25/0x25
[  225.155396] ---[ end trace 4631a3679da5de09 ]---
[  225.157080] ------------[ cut here ]------------
[  225.157094] WARNING: CPU: 2 PID: 7101 at drivers/gpu/drm/drm_mm.c:773 
drm_mm_takedown+0x31/0x40 [drm]
[  225.157095] Memory manager not clean during takedown.
[  225.157096] Modules linked in: vfio_pci vfio_iommu_type1 vfio_virqfd vfio drbg 
ansi_cprng ctr ccm bridge stp llc af_packet ipt_MASQUERADE 
nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 
nf_defrag_ipv4 iptable_filter ip_tables nf_conntrack_ipv6 nf_defrag_ipv6 
xt_conntrack nf_conntrack ip6table_filter ip6_tables snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc i915 arc4 iwlmvm 
mac80211 loop i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt 
fb_sys_fops drm x86_pkg_temp_thermal intel_powerclamp iwlwifi coretemp 
kvm_intel kvm joydev snd_hda_intel uvcvideo mousedev snd_hda_codec btusb 
cfg80211 btrtl videobuf2_vmalloc videobuf2_memops btbcm btintel snd_hwdep 
videobuf2_v4l2 rtsx_pci_sdmmc videobuf2_core bluetooth mmc_core videodev 
snd_hda_core
[  225.157123]  snd_pcsp rtsx_pci_ms snd_pcm memstick media irqbypass 
crc32c_intel snd_timer psmouse ghash_clmulni_intel snd i2c_hid efi_pstore evdev 
wmi video input_leds efivars i2c_i801 serio_raw rtsx_pci i2c_core backlight 
intel_lpss_acpi intel_lpss thermal tpm_crb soundcore mfd_core button battery 
ac acpi_pad efivarfs unix dm_zero dm_thin_pool dm_persistent_data dm_bio_prison 
dm_service_time dm_round_robin dm_queue_length dm_multipath dm_log_userspace 
cn dm_flakey dm_delay xts aesni_intel glue_helper lrw gf128mul ablk_helper 
cryptd aes_x86_64 cbc sha256_generic scsi_transport_iscsi r8169 mii fuse nfs 
lockd grace sunrpc fscache ext4 jbd2 mbcache multipath linear raid10 raid1 
raid0 dm_raid raid456 libcrc32c md_mod async_raid6_recov async_memcpy async_pq 
async_xor xor async_tx raid6_pq dm_snapshot
[  225.157168]  dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod 
hid_generic usbhid xhci_pci xhci_hcd ohci_hcd uhci_hcd usb_storage ehci_pci 
ehci_hcd usbcore usb_common scsi_transport_fc sr_mod cdrom sg sd_mod ata_piix 
ahci libahci sata_sx4 pata_oldpiix
[  225.157179] CPU: 2 PID: 7101 Comm: vfio-bind Tainted: G        W       4.7.2 
#5
[  225.157179] Hardware name: PC Specialist Limited N24_25JU/N24_25JU, BIOS 
5.11 12/14/2015
[  225.157181]  0000000000000000 ffff88035a43fba8 ffffffff812d18c2 
ffff88035a43fbf8
[  225.157183]  0000000000000000 ffff88035a43fbe8 ffffffff8105b211 
0000030500000000
[  225.157185]  ffff88035f1a0000 ffff88035bfbe000 ffff88035bfbe060 
ffff88035e65bb80
[  225.157187] Call Trace:
[  225.157190]  [<ffffffff812d18c2>] dump_stack+0x67/0x95
[  225.157192]  [<ffffffff8105b211>] __warn+0xd1/0xf0
[  225.157194]  [<ffffffff8105b27f>] warn_slowpath_fmt+0x4f/0x60
[  225.157196]  [<ffffffff8104c197>] ? iounmap+0x87/0xb0
[  225.157198]  [<ffffffff8104c197>] ? iounmap+0x87/0xb0
[  225.157206]  [<ffffffffa0922bb1>] drm_mm_takedown+0x31/0x40 [drm]
[  225.157223]  [<ffffffffa0b93ac3>] i915_gem_cleanup_stolen+0x23/0x30 [i915]
[  225.157235]  [<ffffffffa0b88c60>] i915_ggtt_cleanup_hw+0x30/0x90 [i915]
[  225.157251]  [<ffffffffa0c14003>] i915_driver_cleanup_hw+0x53/0x60 [i915]
[  225.157267]  [<ffffffffa0c15e9c>] i915_driver_unload+0x13c/0x1d0 [i915]
[  225.157275]  [<ffffffffa091f329>] drm_dev_unregister+0x29/0xb0 [drm]
[  225.157281]  [<ffffffffa091f923>] drm_put_dev+0x23/0x60 [drm]
[  225.157289]  [<ffffffffa0b51cc5>] i915_pci_remove+0x15/0x20 [i915]
[  225.157291]  [<ffffffff8131a679>] pci_device_remove+0x39/0xc0
[  225.157293]  [<ffffffff813fe4ea>] __device_release_driver+0x9a/0x140
[  225.157294]  [<ffffffff813fe5b3>] device_release_driver+0x23/0x30
[  225.157296]  [<ffffffff813fc397>] unbind_store+0xe7/0x140
[  225.157297]  [<ffffffff813fb9e5>] drv_attr_store+0x25/0x30
[  225.157299]  [<ffffffff8124bf67>] sysfs_kf_write+0x37/0x40
[  225.157300]  [<ffffffff8124b498>] kernfs_fop_write+0x118/0x190
[  225.157301]  [<ffffffff811d2988>] __vfs_write+0x28/0x120
[  225.157303]  [<ffffffff812700cd>] ? security_file_permission+0x3d/0xc0
[  225.157305]  [<ffffffff810a3642>] ? percpu_down_read+0x12/0x60
[  225.157306]  [<ffffffff811d3668>] vfs_write+0xb8/0x1a0
[  225.157307]  [<ffffffff811d49f6>] SyS_write+0x46/0xb0
[  225.157309]  [<ffffffff81002cf1>] do_syscall_64+0x61/0x110
[  225.157311]  [<ffffffff815b5a95>] entry_SYSCALL64_slow_path+0x25/0x25
[  225.157313] ---[ end trace 4631a3679da5de0a ]---
[  225.157313] ------------[ cut here ]------------
[  225.157321] WARNING: CPU: 2 PID: 7101 at drivers/gpu/drm/drm_mm.c:773 
drm_mm_takedown+0x31/0x40 [drm]
[  225.157321] Memory manager not clean during takedown.
[  225.157322] Modules linked in: vfio_pci vfio_iommu_type1 vfio_virqfd vfio drbg 
ansi_cprng ctr ccm bridge stp llc af_packet ipt_MASQUERADE 
nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 
nf_defrag_ipv4 iptable_filter ip_tables nf_conntrack_ipv6 nf_defrag_ipv6 
xt_conntrack nf_conntrack ip6table_filter ip6_tables snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc i915 arc4 iwlmvm 
mac80211 loop i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt 
fb_sys_fops drm x86_pkg_temp_thermal intel_powerclamp iwlwifi coretemp 
kvm_intel kvm joydev snd_hda_intel uvcvideo mousedev snd_hda_codec btusb 
cfg80211 btrtl videobuf2_vmalloc videobuf2_memops btbcm btintel snd_hwdep 
videobuf2_v4l2 rtsx_pci_sdmmc videobuf2_core bluetooth mmc_core videodev 
snd_hda_core
[  225.157342]  snd_pcsp rtsx_pci_ms snd_pcm memstick media irqbypass 
crc32c_intel snd_timer psmouse ghash_clmulni_intel snd i2c_hid efi_pstore evdev 
wmi video input_leds efivars i2c_i801 serio_raw rtsx_pci i2c_core backlight 
intel_lpss_acpi intel_lpss thermal tpm_crb soundcore mfd_core button battery 
ac acpi_pad efivarfs unix dm_zero dm_thin_pool dm_persistent_data dm_bio_prison 
dm_service_time dm_round_robin dm_queue_length dm_multipath dm_log_userspace 
cn dm_flakey dm_delay xts aesni_intel glue_helper lrw gf128mul ablk_helper 
cryptd aes_x86_64 cbc sha256_generic scsi_transport_iscsi r8169 mii fuse nfs 
lockd grace sunrpc fscache ext4 jbd2 mbcache multipath linear raid10 raid1 
raid0 dm_raid raid456 libcrc32c md_mod async_raid6_recov async_memcpy async_pq 
async_xor xor async_tx raid6_pq dm_snapshot
[  225.157364]  dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod 
hid_generic usbhid xhci_pci xhci_hcd ohci_hcd uhci_hcd usb_storage ehci_pci 
ehci_hcd usbcore usb_common scsi_transport_fc sr_mod cdrom sg sd_mod ata_piix 
ahci libahci sata_sx4 pata_oldpiix
[  225.157371] CPU: 2 PID: 7101 Comm: vfio-bind Tainted: G        W       4.7.2 
#5
[  225.157372] Hardware name: PC Specialist Limited N24_25JU/N24_25JU, BIOS 
5.11 12/14/2015
[  225.157373]  0000000000000000 ffff88035a43fbb8 ffffffff812d18c2 
ffff88035a43fc08
[  225.157374]  0000000000000000 ffff88035a43fbf8 ffffffff8105b211 
000003055bfbe000
[  225.157375]  ffff88035f1a0000 ffff88035f1a8c30 ffff88035bfbe060 
ffff88035e65bb80
[  225.157377] Call Trace:
[  225.157378]  [<ffffffff812d18c2>] dump_stack+0x67/0x95
[  225.157380]  [<ffffffff8105b211>] __warn+0xd1/0xf0
[  225.157382]  [<ffffffff8105b27f>] warn_slowpath_fmt+0x4f/0x60
[  225.157384]  [<ffffffff8104c197>] ? iounmap+0x87/0xb0
[  225.157385]  [<ffffffff8104c197>] ? iounmap+0x87/0xb0
[  225.157391]  [<ffffffffa0922bb1>] drm_mm_takedown+0x31/0x40 [drm]
[  225.157405]  [<ffffffffa0b88c87>] i915_ggtt_cleanup_hw+0x57/0x90 [i915]
[  225.157420]  [<ffffffffa0c14003>] i915_driver_cleanup_hw+0x53/0x60 [i915]
[  225.157434]  [<ffffffffa0c15e9c>] i915_driver_unload+0x13c/0x1d0 [i915]
[  225.157441]  [<ffffffffa091f329>] drm_dev_unregister+0x29/0xb0 [drm]
[  225.157447]  [<ffffffffa091f923>] drm_put_dev+0x23/0x60 [drm]
[  225.157455]  [<ffffffffa0b51cc5>] i915_pci_remove+0x15/0x20 [i915]
[  225.157457]  [<ffffffff8131a679>] pci_device_remove+0x39/0xc0
[  225.157458]  [<ffffffff813fe4ea>] __device_release_driver+0x9a/0x140
[  225.157460]  [<ffffffff813fe5b3>] device_release_driver+0x23/0x30
[  225.157461]  [<ffffffff813fc397>] unbind_store+0xe7/0x140
[  225.157462]  [<ffffffff813fb9e5>] drv_attr_store+0x25/0x30
[  225.157463]  [<ffffffff8124bf67>] sysfs_kf_write+0x37/0x40
[  225.157464]  [<ffffffff8124b498>] kernfs_fop_write+0x118/0x190
[  225.157466]  [<ffffffff811d2988>] __vfs_write+0x28/0x120
[  225.157467]  [<ffffffff812700cd>] ? security_file_permission+0x3d/0xc0
[  225.157469]  [<ffffffff810a3642>] ? percpu_down_read+0x12/0x60
[  225.157470]  [<ffffffff811d3668>] vfs_write+0xb8/0x1a0
[  225.157471]  [<ffffffff811d49f6>] SyS_write+0x46/0xb0
[  225.157473]  [<ffffffff81002cf1>] do_syscall_64+0x61/0x110
[  225.157475]  [<ffffffff815b5a95>] entry_SYSCALL64_slow_path+0x25/0x25
[  225.157476] ---[ end trace 4631a3679da5de0b ]---
[  225.157583] kmem_cache_destroy i915_gem_vma: Slab cache still has objects
[  225.157584] CPU: 2 PID: 7101 Comm: vfio-bind Tainted: G        W       4.7.2 
#5
[  225.157585] Hardware name: PC Specialist Limited N24_25JU/N24_25JU, BIOS 
5.11 12/14/2015
[  225.157586]  0000000000000000 ffff88035a43fc28 ffffffff812d18c2 
ffff88035ed25980
[  225.157587]  ffff88035ed25980 ffff88035a43fc90 ffffffff81181944 
ffff88035be7b540
[  225.157589]  00ff88035f1a0000 ffff88035a43fc48 ffff88035a43fc48 
ffff88035a43fc58
[  225.157590] Call Trace:
[  225.157592]  [<ffffffff812d18c2>] dump_stack+0x67/0x95
[  225.157594]  [<ffffffff81181944>] kmem_cache_destroy+0x1c4/0x1d0
[  225.157607]  [<ffffffffa0b91050>] i915_gem_load_cleanup+0x20/0x30 [i915]
[  225.157622]  [<ffffffffa0c15ec0>] i915_driver_unload+0x160/0x1d0 [i915]
[  225.157629]  [<ffffffffa091f329>] drm_dev_unregister+0x29/0xb0 [drm]
[  225.157635]  [<ffffffffa091f923>] drm_put_dev+0x23/0x60 [drm]
[  225.157646]  [<ffffffffa0b51cc5>] i915_pci_remove+0x15/0x20 [i915]
[  225.157647]  [<ffffffff8131a679>] pci_device_remove+0x39/0xc0
[  225.157649]  [<ffffffff813fe4ea>] __device_release_driver+0x9a/0x140
[  225.157667]  [<ffffffff813fe5b3>] device_release_driver+0x23/0x30
[  225.157668]  [<ffffffff813fc397>] unbind_store+0xe7/0x140
[  225.157669]  [<ffffffff813fb9e5>] drv_attr_store+0x25/0x30
[  225.157670]  [<ffffffff8124bf67>] sysfs_kf_write+0x37/0x40
[  225.157672]  [<ffffffff8124b498>] kernfs_fop_write+0x118/0x190
[  225.157673]  [<ffffffff811d2988>] __vfs_write+0x28/0x120
[  225.157674]  [<ffffffff812700cd>] ? security_file_permission+0x3d/0xc0
[  225.157676]  [<ffffffff810a3642>] ? percpu_down_read+0x12/0x60
[  225.157677]  [<ffffffff811d3668>] vfs_write+0xb8/0x1a0
[  225.157679]  [<ffffffff811d49f6>] SyS_write+0x46/0xb0
[  225.157680]  [<ffffffff81002cf1>] do_syscall_64+0x61/0x110
[  225.157682]  [<ffffffff815b5a95>] entry_SYSCALL64_slow_path+0x25/0x25
[  225.157686] kmem_cache_destroy i915_gem_object: Slab cache still has 
objects
[  225.157687] CPU: 2 PID: 7101 Comm: vfio-bind Tainted: G        W       4.7.2 
#5
[  225.157688] Hardware name: PC Specialist Limited N24_25JU/N24_25JU, BIOS 
5.11 12/14/2015
[  225.157689]  0000000000000000 ffff88035a43fc28 ffffffff812d18c2 
ffff88035ed25ac0
[  225.157690]  ffff88035ed25ac0 ffff88035a43fc90 ffffffff81181944 
ffff88035e5b2d00
[  225.157691]  00ff88035f1a0000 ffff88035a43fc48 ffff88035a43fc48 
ffff88035a43fc58
[  225.157693] Call Trace:
[  225.157694]  [<ffffffff812d18c2>] dump_stack+0x67/0x95
[  225.157696]  [<ffffffff81181944>] kmem_cache_destroy+0x1c4/0x1d0
[  225.157708]  [<ffffffffa0b91059>] i915_gem_load_cleanup+0x29/0x30 [i915]
[  225.157740]  [<ffffffffa0c15ec0>] i915_driver_unload+0x160/0x1d0 [i915]
[  225.157747]  [<ffffffffa091f329>] drm_dev_unregister+0x29/0xb0 [drm]
[  225.157753]  [<ffffffffa091f923>] drm_put_dev+0x23/0x60 [drm]
[  225.157761]  [<ffffffffa0b51cc5>] i915_pci_remove+0x15/0x20 [i915]
[  225.157762]  [<ffffffff8131a679>] pci_device_remove+0x39/0xc0
[  225.157764]  [<ffffffff813fe4ea>] __device_release_driver+0x9a/0x140
[  225.157765]  [<ffffffff813fe5b3>] device_release_driver+0x23/0x30
[  225.157766]  [<ffffffff813fc397>] unbind_store+0xe7/0x140
[  225.157767]  [<ffffffff813fb9e5>] drv_attr_store+0x25/0x30
[  225.157769]  [<ffffffff8124bf67>] sysfs_kf_write+0x37/0x40
[  225.157770]  [<ffffffff8124b498>] kernfs_fop_write+0x118/0x190
[  225.157771]  [<ffffffff811d2988>] __vfs_write+0x28/0x120
[  225.157773]  [<ffffffff812700cd>] ? security_file_permission+0x3d/0xc0
[  225.157774]  [<ffffffff810a3642>] ? percpu_down_read+0x12/0x60
[  225.157775]  [<ffffffff811d3668>] vfs_write+0xb8/0x1a0
[  225.157777]  [<ffffffff811d49f6>] SyS_write+0x46/0xb0
[  225.157778]  [<ffffffff81002cf1>] do_syscall_64+0x61/0x110
[  225.157780]  [<ffffffff815b5a95>] entry_SYSCALL64_slow_path+0x25/0x25
[  225.158845] vgaarb: device changed decodes: 
PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[  225.824313] DMAR: DRHD: handling fault status reg 2
[  225.824318] DMAR: [DMA Write] Request device [00:02.0] fault addr 0 [fault 
reason 02] Present bit in context entry is clear
[  226.392227] vfio_ecap_init: 0000:00:02.0 hiding ecap 0x1b at 0x100
[  226.393717] vfio-pci 0000:00:02.0: BAR 2: can't reserve [mem 
0xc0000000-0xcfffffff 64bit pref]
[  226.393873] vfio-pci 0000:00:02.0: Invalid PCI ROM header signature: 
expecting 0xaa55, got 0xffff
[  227.020245] vfio-pci 0000:00:02.0: Invalid PCI ROM header signature: 
expecting 0xaa55, got 0xffff
[  227.286232] kvm: zapping shadow pages for mmio generation wraparound
[  227.408361] kvm: zapping shadow pages for mmio generation wraparound

	As a little update for Alex, I deactivated simplefb in the kernel, so that 
it doesn't take the igd. Now I just see a black screen until i915 gets to the 
vga.

	Thanks!

	José.





More information about the vfio-users mailing list