Using the koan command, a VM can essentially request that it be reprovisioned. Is there any way for a VM to request that it reboot from a snapshot taken with virsh? 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/4571cda9/attachment.p7s>
On 05/10/2013 09:47 AM, Ken Coar wrote:> Using the koan command, a VM can essentially request > that it be reprovisioned. > > Is there any way for a VM to request that it reboot from > a snapshot taken with virsh?If there is such a command, it's beyond the scope of libvirt: libvirt is only about actions initiated by the host, not the guest, but this sounds like something where you want the guest to initiate something by communicating with the host. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 621 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130510/ec74293e/attachment.sig>
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>