buildbot/buildbot — pull request #275 by ckhardin (2011-10-29 22:00:17+00:00)
Title: Libvirt slaves created with XML don't get shutdown

The LibVirtSlave attribute self.domain does not get set when passing an XML to generate the slave. This results in the virtual slave staying up after the build completes and getting out of sync with the master. So, use a callback just like the lookup case to get the domain set.

when specifying XML for the latent virtual slave, a callback still needs to be used to get the Domain object so the slave can be shutdown when the test is completed