[libvirt] PATCH: Fix hang setting QEMU vcpu count

Daniel Veillard veillard at redhat.com
Tue Mar 10 15:30:40 UTC 2009


On Tue, Mar 10, 2009 at 12:11:07PM +0000, Daniel P. Berrange wrote:
> In the QEMu driver, the qemudDomainSetVcpus() entry point is calling into
> another entry point qemudDomainGetMaxVcpus(), this causes a deadlock due
> to recursive mutex locking. The qemudDomainSetVcpus() method should in fact
> be calling the internal method qemudGetMaxVCPUs(). This patch makes it do
> that, thus avoiding the recursive mutex locking.

  Oh, right ! ACK 

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list