[libvirt] first argument in virDomainMigrate, is it free'ed?

Stefan de Konink stefan at konink.de
Mon Oct 6 16:15:08 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,


I saw that freeing the dom after a migration takes place results in:

libvir: Domain error : invalid domain pointer in virDomainFree


Now I wonder, if this is the case, could a normale migrate function
'just' be:

domain = virDomainMigrate(domain, ....)

Or is this unsafe; for example as a domain migration fails?



Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkjqOYwACgkQYH1+F2Rqwn0NZACffFESznbeElKNVgt65YXPGzXX
ausAmwZ7HScE0/RTtDWm2uug/dC1S21K
=xpn6
-----END PGP SIGNATURE-----




More information about the libvir-list mailing list