[libvirt] Synchronous commands block virsh?

Daniel P. Berrange berrange at redhat.com
Mon Dec 7 09:24:02 UTC 2009

On Fri, Dec 04, 2009 at 02:59:41PM +0000, Matthew Richardson wrote:
> I'm currently playing with libvirt on Ubuntu 9.10:
> Compiled against library: libvir 0.7.0
> Using library: libvir 0.7.0
> Using API: QEMU 0.7.0
> Running hypervisor: QEMU 0.11.0
> I've noticed that if I open virsh on a host and set a live migration
> going, then virsh doesn't return until the migration is complete.
> However, if I open a second virsh command, it too blocks on commands
> (e.g list), meaning that I can't perform any other operations against
> other domains until the initial migration is complete.
> Is this deliberate or accidental?  Is there any way round this?

Starting with libvirtd 0.7.4 it will no longer block  other API calls,
except those made on the same guest that is being migrated which attempt
to change guest state.

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list