def set_vif_guest_frontend_config(conf, mac, model, driver, queues=None):
 conf.mac_addr = mac
 if (model is not None):
  conf.model = model
 if (driver is not None):
  conf.driver_name = driver
 if (queues is not None):
  conf.vhost_queues = queues

def set_vif_guest_frontend_config ( conf , mac , model , driver , queues = None ) : conf . mac_addr = mac if ( model is not None ) : conf . model = model if ( driver is not None ) : conf . driver_name = driver if ( queues is not None ) : conf . vhost_queues = queues
populate a libvirtconfigguestinterface instance with guest frontend details .