[libvirt] [PATCH 1/2] qemu: Fix crash on failed VM startup

Cole Robinson crobinso at redhat.com
Tue Jun 1 19:12:54 UTC 2010


On 06/01/2010 03:10 PM, Cole Robinson wrote:
> If VM startup fails early enough (can't find a referenced USB device),
> libvirtd will crash trying to clear the VNC port bit, since port = 0,
> which overflows us out of the bitmap bounds.
> 
> Fix this by being more defensive in the bitmap operations, and only
> clearing a previously set VNC port.

Whoops, git-send-email screw up. Please ignore the numbered patches.

Thanks,
Cole




More information about the libvir-list mailing list