summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1633508
blob: f5aea8801d149d1098175520a71731624962cbe7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
libvirt cannot hot insert interfaces to qemu

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