[libvirt-users] SCM_RIGHTS file error when attaching device?
Daniel P. Berrange
berrange at redhat.com
Wed Jun 16 08:24:46 UTC 2010
On Tue, Jun 15, 2010 at 01:10:28PM -0700, steven765 at yahoo.com wrote:
> So I just upgraded to 0.8.1-1 and virt-manager 8.4 when i try to attach my network card that's been perfectly fine in the past i now get...
>
> virsh # attach-device gnome /etc/libvirt/qemu/nic.xml
> error: Failed to attach device from /etc/libvirt/qemu/nic.xml
> error: internal error unable to send TAP file handle: No file descriptor supplied via SCM_RIGHTS
This is a flaw in QEMU fixed upstream
commit e53f27b9d9df73461308618151fa6e6392aebd85
Author: Paolo Bonzini <pbonzini at redhat.com>
Date: Fri Apr 16 17:25:23 2010 +0200
stash away SCM_RIGHTS fd until a getfd command arrives
If there is already a fd in s->msgfd before recvmsg it is
closed by parts that this patch does not touch. So, only
one descriptor can be "leaked" by attaching it to a command
other than getfd.
Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.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 libvirt-users
mailing list