qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tim Epkes <1633508@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu
Date: Fri, 14 Oct 2016 14:36:33 -0000	[thread overview]
Message-ID: <20161014143633.7783.6982.malonedeb@gac.canonical.com> (raw)

Public bug reported:

When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
>         --source test0 --model virtio \
>         --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS

test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff

Just in case I did it wrong with direct, I did network
$ virsh net-list
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
 mgmtnet0             active     yes           yes

$ virsh attach-interface --domain gluster1 --type network \
>         --source default --model virtio \
>         --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS


This seems to be an old bug, but is still present.  Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: libvirt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1633508

Title:
  libvirt cannot hot insert interfaces to qemu

Status in QEMU:
  New

Bug description:
  When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
  $ virsh attach-interface --domain gluster1 --type direct \
  >         --source test0 --model virtio \
  >         --mac 2a:b6:b0:dc:c7:c4 --config --live
  error: Failed to attach interface
  error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS

  test0 exists:
  $ ip link show test0
  35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
      link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff

  Just in case I did it wrong with direct, I did network
  $ virsh net-list
   Name                 State      Autostart     Persistent
  ----------------------------------------------------------
   default              active     yes           yes
   mgmtnet0             active     yes           yes

  $ virsh attach-interface --domain gluster1 --type network \
  >         --source default --model virtio \
  >         --mac 2a:b6:b0:dc:c7:c4 --config --live
  error: Failed to attach interface
  error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS

  
  This seems to be an old bug, but is still present.  Other relevant information:
  $ qemu-system-x86_64 --version
  QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
  $ virsh -v
  1.3.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1633508/+subscriptions

             reply	other threads:[~2016-10-14 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-14 14:36 Tim Epkes [this message]
2019-09-30 10:58 ` [Bug 1633508] Re: libvirt cannot hot insert interfaces to qemu Thomas Huth
2019-10-08 14:47 ` Christian Ehrhardt 
2019-10-09  9:09 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161014143633.7783.6982.malonedeb@gac.canonical.com \
    --to=1633508@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).