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! >> >
