Search code examples
network-programmingcloudvirtualizationxen

How to solve "Device 0 (vif) could not be connected. Hotplug scripts not working."?


When starting a virtual machine, xm shows:

Device 0 (vif) could not be connected. Hotplug scripts not working.

Why does xm show this? How to solve it?


Solution

  • From the Xen wiki:

    Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
    

    This problem is often caused by not having "xen-netback" driver loaded in dom0 kernel.

    The hotplug scripts are located in /etc/xen/scripts by default, and are labeled with the prefix vif-*. Those scripts log to /var/log/xen/xen-hotplug.log, and more detailed information can be found there.

    http://wiki.xen.org/wiki/Xen_Common_Problems