On Fri, Jun 07, 2019 at 12:59:54PM +0200, Sergio Lopez wrote: > I gave this version of the patchset a try, and found that IO hangs when > the device is assigned to an IOThread. Sometimes is able to serve a few > requests getting through the Guest OS boot process, to hang the moment > you try generate some IO on the device, while others it hangs when Linux > tries to read the partitions from the device. > > I'm starting QEMU this way: > > ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -name rhel80,debug-threads=on -m 2g -smp 4 -object iothread,id=iothread0 -blockdev node-name=rhel80,driver=qcow2,file.driver=file,file.filename=/home/VirtualMachines/rhel80.qcow2 -device virtio-blk,drive=rhel80 -serial tcp::6667,server,nowait -qmp tcp::6668,server,nowait -nographic -net user,hostfwd=tcp::6666-:22 -net nic,model=virtio -device virtio-rng -drive file=/dev/nullb0,format=raw,cache=none,aio=io_uring,if=none,id=test -device virtio-blk,drive=test,iothread=iothread0 > > Could you please take a look at this issue? Maybe the ioq_submit() issue I mentioned solves this. Stefan