qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 0/9] Add support for io_uring


From: Sergio Lopez
Subject: Re: [Qemu-devel] [PATCH v4 0/9] Add support for io_uring
Date: Fri, 07 Jun 2019 16:17:12 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Stefan Hajnoczi <address@hidden> writes:

> 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?
>
> BTW I was referring to the inverted logic where 
> qemu_luring_process_completions_and_submit() fails to call ioq_submit().

Yes, that was the problem.

Sergio.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]