[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] the whole virtual machine hangs when IO does not come b
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] the whole virtual machine hangs when IO does not come back! |
Date: |
Sun, 17 Aug 2014 10:12:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 11/08/2014 13:39, Gonglei (Arei) ha scritto:
>> I think the VM hangs there because the VCPU thread holds the global
>> qemu metux lock and waits for IO to come back. However, in my test, the
>> IO doesn't come back (because of the multipath software). Therefore, the
>> VCPU thread never releases the global lock, and other threads can never
>> get the lock. Is there any idea to solve the whole vm hanging problem?
The problem is that qemu_aio_cancel is a synchronous function.
You can work around it with an eh_times_out function in the virtio-scsi
driver, but the real fix would be in QEMU.
Paolo
>> I also did the same test on the VMware platform, the IO hangs but the VM
>> is still working. Thanks!
>>
>