def METHOD_NAME(vm, test_scenario, iface_type, iface_args,
              iface_type2, iface_args2, params=params):
    """
    Execute test
    :param vm: VM object
    :param test_scenario: Test scenario
    :param iface_type: Interface type for the first device
    :param iface_args: Interface attrs for the first device
    :param iface_type2: Interface type for the second device
    :param iface_args2: Interface attrs for the second device
    :param params: Test parameters
    """
    status_error = "yes" == params.get("status_error", "no")
    error_msg = params.get("error_msg")
    opts = '--config'
    test.log.info("TEST_STEP1: Attach a %s device", iface_type)
    iface = interface_base.create_iface(iface_type, iface_args)
    virsh.attach_device(vm.name, iface.xml, flagstr=opts, **VIRSH_ARGS)
    iface2 = interface_base.create_iface(iface_type2, iface_args2)
    if test_scenario.startswith("hotplug"):
        opts = ''
        libvirt_pcicontr.reset_pci_num(vm.name)
        test.log.info("TEST_STEP2: Start VM")
        vm.start()
        vm.wait_for_serial_login(timeout=240).close()
        test.log.info("TEST_STEP3: Attach a %s device.", iface_type2)
        result = virsh.attach_device(vm.name, iface2.xml, debug=True)
    else:
        test.log.info("TEST_STEP2: Attach a %s device.", iface_type2)
        virsh.attach_device(vm.name, iface2.xml, flagstr=opts, **VIRSH_ARGS)
        test.log.info("TEST_STEP3: Start VM")
        result = virsh.start(vm.name, debug=True)
    libvirt.check_exit_status(result, status_error)
    if error_msg:
        libvirt.check_result(result, error_msg)