steven765 at yahoo.com
2010-Jun-15 20:10 UTC
[libvirt-users] SCM_RIGHTS file error when attaching device?
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 Any thoughts?
Daniel P. Berrange
2010-Jun-16 08:24 UTC
[libvirt-users] SCM_RIGHTS file error when attaching device?
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_RIGHTSThis 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 :|
Reasonably Related Threads
- help with VM migration problem: getfd, SCM_RIGHTS
- [Bug 311] Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
- SCM_RIGHTS problem with openssh-3.8p1 build on Cobalt Raq2
- [Bug 276] openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
- Problem attaching device