]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh attach-interface: Allow macvtap hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 9 Feb 2015 15:17:51 +0000 (16:17 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Feb 2015 08:33:12 +0000 (09:33 +0100)
commite008a03324c6ec3769ffd71d4098dc4762042c95
tree3a201a1390bc62497681a4517bf519d952b77d7e
parentdd6668f174158f771befe7a811b5b6b2c5165793
virsh attach-interface: Allow macvtap hotplug

Our hotplug code supports macvtap insertion to guests. However, we
somehow forgot about 'attach-interface' (which tries to build XML from
passed arguments and use virDomainAttachDeviceFlags()).
New type is accessible under 'direct' type, to keep the same type as
used in domain XML.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-domain.c
tools/virsh.pod