|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] hotplug: VM got stuck when attaching a pass-through device to the non-pass-through VM for the first time |
Date: | Tue, 18 Feb 2014 11:42:19 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 18/02/2014 11:38, Michael S. Tsirkin ha scritto:
What if you detach and re-attach? Is it fast then? If yes this means the issue is COW breaking that occurs with get_user_pages, not translation as such. Try hugepages with prealloc - does it help?
I agree it's either COW breaking or (similarly) locking pages that the guest hasn't touched yet.
You can use prealloc or "-rt mlock=on" to avoid this problem. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |