[libvirt] [PATCH 0/8] Various KVM PCI device assignment improvements

Mark McLoughlin markmc at redhat.com
Mon Aug 17 10:29:26 UTC 2009


On Sun, 2009-08-16 at 22:13 +0200, Mirko Raasch wrote:
> ==8823== Invalid read of size 8
> ==8823==    at 0x420C04: qemuCheckPciHostDevice (qemu_driver.c:1337)
> ==8823==    by 0x4E48CA7: pciResetDevice (pci.c:606)
> ==8823==    by 0x4229D5: qemudShutdownVMDaemon (qemu_driver.c:1479)
> ==8823==    by 0x43150B: qemudStartup (qemu_driver.c:357)

Ah, qemudShutdownVMDaemon() is passed a NULL connection and then
qemuCheckPciHostDevice de-references the NULL pointer.

I have a bunch of patches to re-work all this code which I will post
later. Hopefully they will work better for you.

Thanks,
Mark.




More information about the libvir-list mailing list