Re: [libvirt-users] How to trigger a script in a guest after resume? (aka guest system clock incorrect after host reboot with suspended guest)

2013-07-24 Thread Eric Blake
On 07/24/2013 08:07 AM, Nils Toedtmann wrote: > Hi > > Is there a way i can trigger a script within a libvirt guest immediately > after resume? E.g. i don't see any log message that indicates to a guest > that it had been paused and was just woken up. Upstream qemu has added the guest-set-time co

[libvirt-users] How to trigger a script in a guest after resume? (aka guest system clock incorrect after host reboot with suspended guest)

2013-07-24 Thread Nils Toedtmann
Hi Is there a way i can trigger a script within a libvirt guest immediately after resume? E.g. i don't see any log message that indicates to a guest that it had been paused and was just woken up. The problem that i am trying to solve is that when i reboot the host (pausing all guests), the guest

[libvirt-users] Libvirt and Glusterfs pool

2013-07-24 Thread Pierre-Gilles Mialon
Hi, I use the QEMU-GlusterFS native integration (no Fuse mount) with the libvirt. Now I create a volume issuing : # qemu-img create gluster://localhost/gv1/test.img 5G Then using the libvirt I declare the following lines in my domain.xml :

Re: [libvirt-users] API to set cpuset.cpu_exclusive flag

2013-07-24 Thread Peeyush Gupta
I guess it could be helpful. I mean I wont have to do it through virsh/echo/explicitly everytime. If I have an API for cgroup settings, I can do it easily through my code.   Thanks. ~Peeyush Gupta From: Daniel P. Berrange To: Peeyush Gupta Cc: "libvirt-users

Re: [libvirt-users] API to set cpuset.cpu_exclusive flag

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 06:59:29PM +0800, Peeyush Gupta wrote: > Hi all, > > I have been trying to set cpu_exclusive flag. Now I can do it > using "echo". I want to know is there any other way (an API) > to set this flag? Is it possible to set this flag using API? There's no API in libvirt for se

[libvirt-users] API to set cpuset.cpu_exclusive flag

2013-07-24 Thread Peeyush Gupta
Hi all, I have been trying to set cpu_exclusive flag. Now I can do it using "echo". I want to know is there any other way (an API) to set this flag? Is it possible to set this flag using API? Thanks.   ~Peeyush Gupta___ libvirt-users mailing list libv