Re: [libvirt] pausing / unpausing guests with libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 19, 2008 at 09:23:52AM -0400, Matthew Donovan wrote:
> I'm working on a management application that will control Xen guest vms
> (HVMs) with libvirt Java bindings.  I want to be able to pause and unpause
> the VMs but doing so through the libvirt functions does not seem to actually
> pause the VM.  The suspend function returns true and doesn't throw any
> exceptions, however, the guest VM is still running and responsive.
> 
> Any pointers are greatly appreciated.

Is it possible you could isolate whether the problem is with libvirt
or with the Java bindings?  One way would be to shell out to 'virsh'
just to see if virsh fails to change the state (ie. a libvirt/C) or if
the problem is in the Java bindings.

Pausing/resuming Xen domains is a very common and well-tested
operation so I would be surprised if it's a libvirt problem, but you
never know ...

Rich.


-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]