[libvirt-users] simulate "network cable unplugged"

Eric Blake eblake at redhat.com
Mon Mar 26 17:43:57 UTC 2012


On 03/26/2012 11:30 AM, David Mansfield wrote:
> Hi All,
> 
> Using the virt-manager/libvirtd/qemu-kvm stack (centos 6), is it
> possible to leave a NIC "installed" but cause it to simulate that the
> network cable is unplugged?  Preferably this could be "hot"
> plugged/unplugged but otherwise doing it cold.

Libvirt 0.9.5 added the ability to do <link state='down'/> for various
networks; I'm not sure if this has been backported to your version of
CentOS, or if you'll have to upgrade to something newer.

For more details on the addition:
https://www.redhat.com/archives/libvir-list/2011-September/msg00294.html

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120326/77c8b291/attachment.sig>


More information about the libvirt-users mailing list