def set_vif_host_backend_ethernet_config(conf, tapname):
 conf.net_type = 'ethernet'
 conf.target_dev = tapname
 conf.script = ''

def set_vif_host_backend_ethernet_config ( conf , tapname ) : conf . net_type = 'ethernet' conf . target_dev = tapname conf . script = ''
populate a libvirtconfigguestinterface instance with host backend details for an externally configured host device .