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(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org