def METHOD_NAME(custom_args: dict) -> list:
    """
    Create list of qemu options from custom_args dict
    :param dict custom_args: arguments
    :return: qemu option list
    :rtype: list
    """
    options = []
    if custom_args:
        ordered_args = OrderedDict(sorted(custom_args.items()))
        for key, value in list(ordered_args.items()):
            if key == 'adapter_type=pvscsi':
                # Building for the pvscsi ddb.adapterType only
                # affects the guest configuration (vmx). For the
                # vmdk disk format this is the same as lsilogic
                key = 'adapter_type=lsilogic'
            options.append('-o')
            if value:
                options.append('{0}={1}'.format(key, value))
            else:
                options.append(key)
    return options