<br><br><div class="gmail_quote">2009/4/7 Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Apr 07, 2009 at 05:30:02PM +0400, Anton Protopopov wrote:<br>
> Hi.<br>
><br>
> When I am trying to attach an interface<br>
>     <interface type='bridge'><br>
>       <mac address='52:54:00:db:1a:bb'/><br>
>       <source bridge='mkvebr0'/><br>
>     </interface><br>
> libvirt reports me, that<br>
>      libvirt.libvirtError: this function is not supported by the hypervisor:<br>
> this device type cannot be attached<br>
><br>
> Is there a legal way to attach a network interface to QEMU/KVM machine?<br>
<br>
</div></div>Not at this time. The QEMU monitor interface doesn't provide sufficient<br>
functionality to be able todo this, because there's no way to pass have<br>
libvirt create & setup the TAP device, and then pass it to QEMU. The<br>
QEMU monitor needs to gain the ability to do SCM_RIGHTS to accept an<br>
open file handle before we can hotplug NICs in any useful manner.<br>
</blockquote><div>And what about attaching a device to stopped machine?<br>Stop, attach, and start. Just as temporary decision.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Daniel<br>
<font color="#888888">--<br>
|: Red Hat, Engineering, London   -o-   <a href="http://people.redhat.com/berrange/" target="_blank">http://people.redhat.com/berrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>  -o-  <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a>  -o-  <a href="http://ovirt.org" target="_blank">http://ovirt.org</a> :|<br>

|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/%7Edanberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|<br>
</font></blockquote></div><br>