[libvirt-users] How can a user process be automatically started after the container is started?

2014-10-22 Thread WANG Cheng D
Dear All, I want to start my application automatically after I start the container with a virsh command " virsh -c lxc:/// start mycontainer" How can I achieve this? Thank you in advance. Cheng ___ libvirt-users mailing list libvirt-users@redhat.com ht

[libvirt-users] Changing 'source file' on running VM.

2014-10-22 Thread mathew . moon
So I notice that some operations by libvirt such as creating a snapshot actually change the source of the active disk image for a domain without requiring a restart of the vm. How can this be achieved manually? There are instances where I am manipulating files with qemu-img or virsh commands and af

Re: [libvirt-users] libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread lejeczek
should have mentioned, apologies, suspend is the graceful shutdown of the guest I was thinking of. Guest is win2k8, why would it not suspend? On 22/10/14 10:58, lejeczek wrote: hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered dow

Re: [libvirt-users] libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread Daniel P. Berrange
On Wed, Oct 22, 2014 at 10:58:39AM +0100, lejeczek wrote: > hi everybody > > by an assumption I expected VM guests to be shut down/off gracefully when > the host is being powered down or rebooted, but this does not seem to be the > case so I wonder.. > Am I missing some libvirt components/packages

[libvirt-users] libvirt guests graceful shutdown upon hosts powerdown/reboot

2014-10-22 Thread lejeczek
hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown m