On Wed, Apr 20, 2011 at 07:06:33AM -0600, Eric Blake wrote: > On 04/20/2011 05:13 AM, Jason Krieg wrote: > > that was my first guess but it does not work the remote monitor socket > > does not show up > > > > libvirt is running as root so it should not be a permission problem > > > > qemuMonitorOpenUnix:289 : monitor socket did not show up.: Connection > > refused > > qemuProcessWaitForMonitor:1059 : internal error process exited while > > connecting to monitor: Migration failed. Exit code fd:14(-22), exiting. > > Exit code fd:14(-22) is EBADF on fd 14; I've seen it in the past when we > were incorrectly leaving FD_CLOEXEC set on fd 14, but I don't see how > that would be possible in the code path for qemuMigrationPrepareTunnel. The problem is that '-incoming fd:NNN' wants a file descriptor *read* from, but we're passing it the *write* end of the pipe. Thus fopen(fd, "rb") fails with EINVAL Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list