Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libvirt: Regenerates xml instead of using on-disk
The libvirt.xml file is written on initial boot of the instance and may not reflect the current state of the vm if volumes have been attached. If the libvirt definition of the vm has been lost, it is safer to regenerate it rather than attempt to load it from the outdated file. This should properly bring back vms with attached volumes. Fixes bug 1073720 Change-Id: Iaa754700a149f09fc0c022fa664c06ad17f505f5 (cherry picked from commit b22c330)
- Loading branch information
1 parent
8d1095c
commit f7e5dde
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters