[CentOS] QEMU configuration not persistent

Mon Feb 13 23:46:13 UTC 2012
Ljubomir Ljubojevic <office at plnet.rs>

On 02/13/2012 11:18 PM, Emmett Culley wrote:
> Since switching from CentOS 5.7 to CentOS 6.x I find that one of the VMs will not restart upon system reboot.  I finally figured out that              the video is always set to vmvga after rebooting.   In addition the VM's storage always reverts back to IDE from virtio and is set to use the wrong image.
>
> It may be related to the fact that I moved the XML files that defined the VMs from the old (CentOS 5.7) /etc/libvirt/qemu directory to the new (CentOS 6.2) /etc/libvirt/qemu directory.  The images are stored is the same LVM partitions as they were on the CentOS 5.7
>
> Any ideas why a VM would revert back?  I've checked the XML file before rebooting and it always has the correct info in it, until after the
> reboot.
>

Do you shutdown that guest system prior to XML changes?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant