[libvirt] remote clients are non-interruptible

Daniel P. Berrange berrange at redhat.com
Sun Oct 25 23:20:43 UTC 2009


On Sun, Oct 25, 2009 at 01:00:58PM -0400, John Levon wrote:
> 
> remoteIOEventLoop() has this:
> 
> 6974     repoll:
> 6975         ret = poll(fds, ARRAY_CARDINALITY(fds), -1);
> 6976         if (ret < 0 && errno == EINTR)
> 6977             goto repoll;
> 
> with the result that all clients using the remote driver cannot be
> control-C'd. Dan, you added this code it seems, why?

Habit :-)  I agree its probably best to remove the EINTR test.

Daniel
-- 
|: 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