[libvirt-users] Way for a VM to reboot from a snapshot?
Ken Coar
kcoar at redhat.com
Fri May 10 20:24:18 UTC 2013
On 05/10/2013 11:47 AM, Ken Coar wrote:
> Using the koan command, a VM can essentially request
> that it be reprovisioned.
That's the
koan --server=${COBBLERHOST} --replace-self --system=$(hostname -f)
command run on the guest. Frobs the grub.conf to re-kickstart.
> Is there any way for a VM to request that it reboot from
> a snapshot taken with virsh?
Apparently the answer to this is 'no'. However, it seems as
though I might be able to ask the host's libvirtd to do it --
if the guest can find out who its host is.
I see (with some help from IRC) that the VM's libvirtd UUID
appears in the output of dmidecode, but I see no way to
relate that to a particular host IPA (IP Address) or FQDN for
the host.
How can a guest find out who its host is?
Thanks!
--
#ken B-)}
Ken Coar, RHCE, RHCSA, Sanagendamgagwedweinini
IT Engineering Tower, Red Hat/RDU
"Millennium hand and shrimp!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4524 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130510/0d306103/attachment.p7s>
More information about the libvirt-users
mailing list