[Bug 202055] Failed to PCI passthrough SSD with SMI SM2262 controller.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=202055

--- Comment #26 from Dongli Zhang (dongli.zhang@xxxxxxxxxx) ---
Hi Alex,

The patch does not work for me :(

Here is how I reproduce the issue. The attached file is my kernel config.

qemu commit: 6f2f34177a25bffd6fd92a05e6e66c8d22d97094

linux commit: 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8

To build qemu:

# ./configure --target-list=x86_64-softmmu
# make -j8 > /dev/null

To build linux:

use the attached config

# make -j8 > /dev/null


To reproduce, boot into the linux kernel. I always use qemu at where it is
built. I do not run "make install" for qemu.

# modprobe vfio
# modprobe vfio-pci

# echo 0000:01:00.0 > /sys/bus/pci/devices/0000\:01\:00.0/driver/unbind
# echo "8086 f1a6" > /sys/bus/pci/drivers/vfio-pci/new_id

# ./x86_64-softmmu/qemu-system-x86_64 -hda /home/zhang/img/ubuntu/disk.img -smp
2 -m 2000M -enable-kvm -vnc :0 -device vfio-pci,host=0000:01:00.0


# ./x86_64-softmmu/qemu-system-x86_64  -hda /home/zhang/img/ubuntu/disk.img
-smp 2 -m 2000M -enable-kvm -vnc :0 -device vfio-pci,host=0000:01:00.0
WARNING: Image format was not specified for '/home/zhang/img/ubuntu/disk.img'
and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write
operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: vfio_err_notifier_handler(0000:01:00.0) Unrecoverable error
detected. Please collect any data possible and then kill the guest

Dongli Zhang

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux