Home
last modified time | relevance | path

Searched full:rules (Results 1 – 25 of 118) sorted by relevance

12345

/qemu/authz/
H A Dlist.c33 QAuthZListRuleList *rules = lauthz->rules; in qauthz_list_is_allowed() local
35 while (rules) { in qauthz_list_is_allowed()
36 QAuthZListRule *rule = rules->value; in qauthz_list_is_allowed()
57 rules = rules->next; in qauthz_list_is_allowed()
92 visit_type_QAuthZListRuleList(v, name, &lauthz->rules, errp); in qauthz_list_prop_get_rules()
102 oldrules = lauthz->rules; in qauthz_list_prop_set_rules()
103 visit_type_QAuthZListRuleList(v, name, &lauthz->rules, errp); in qauthz_list_prop_set_rules()
114 qapi_free_QAuthZListRuleList(lauthz->rules); in qauthz_list_finalize()
129 object_class_property_add(oc, "rules", "QAuthZListRule", in qauthz_list_class_init()
157 QAuthZListRuleList *rules, *tmp; in qauthz_list_append_rule() local
[all …]
/qemu/docs/devel/testing/
H A Dblkdebug.rst26 Rules chapter
28 The ``blkdebug`` block driver takes a list of "rules" that tell the error injection
31 Each I/O request is evaluated against the rules. If a rule matches the request
34 Rules can be placed in a configuration file; the configuration file
55 Rules support the following attributes:
89 to make so rules can match specific types of requests. For example, the ``qcow2``
90 block driver tells ``blkdebug`` when it accesses the L1 table so rules can match
125 observed from outside but rules can interact with it for powerful matching
128 Rules can be conditional on the current state and they can transition to a new
151 State transition rules support the following attributes:
H A Dci-jobs.rst.inc66 or templates, to influence the shared rules defined in the
80 may choose to override this if they are modifying rules in
/qemu/tests/qemu-iotests/
H A Dnbd-fault-injector.py105 def __init__(self, sock, rules): argument
107 self.rules = rules
110 for rule in self.rules:
191 def run_server(sock, rules, use_export): argument
194 handle_connection(FaultInjectionSocket(conn, rules), use_export)
218 rules = []
222 rules.append(parse_inject_error(name, options))
225 return rules
253 sys.stderr.write('Run an fault injector NBD server with rules defined in a config file.\n')
265 rules = load_rules(args[2 if use_export else 3])
[all …]
/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-aarch64.yml12 rules:
33 rules:
55 rules:
77 rules:
96 rules:
117 rules:
138 rules:
H A Dubuntu-22.04-s390x.yml12 rules:
32 rules:
50 rules:
73 rules:
94 rules:
115 rules:
H A Dubuntu-22.04-aarch32.yml12 rules:
/qemu/docs/
H A Dmultiseat.txt101 /etc/udev/rules.d:
103 [root@fedora ~]# cat /etc/udev/rules.d/70-qemu-autoseat.rules
133 [root@fedora ~]# cat /etc/udev/rules.d/70-qemu-pci-bridge-seat.rules
/qemu/tests/unit/
H A Dcheck-block-qdict.c425 QList *rules, *empty_list, *empty_dict_a; in qdict_crumple_test_recursive() local
430 qdict_put_str(src, "vnc.acl.rules.0.match", "fred"); in qdict_crumple_test_recursive()
431 qdict_put_str(src, "vnc.acl.rules.0.policy", "allow"); in qdict_crumple_test_recursive()
432 qdict_put_str(src, "vnc.acl.rules.1.match", "bob"); in qdict_crumple_test_recursive()
433 qdict_put_str(src, "vnc.acl.rules.1.policy", "deny"); in qdict_crumple_test_recursive()
458 rules = qdict_get_qlist(acl, "rules"); in qdict_crumple_test_recursive()
459 g_assert(rules); in qdict_crumple_test_recursive()
460 g_assert_cmpint(qlist_size(rules), ==, 2); in qdict_crumple_test_recursive()
462 rule = qobject_to(QDict, qlist_pop(rules)); in qdict_crumple_test_recursive()
469 rule = qobject_to(QDict, qlist_pop(rules)); in qdict_crumple_test_recursive()
H A Dtest-authz-listfile.c86 "{ \"rules\": [ " in test_authz_explicit_deny()
109 "{ \"rules\": [ " in test_authz_explicit_allow()
133 "{ \"rules\": [ " in test_authz_complex()
/qemu/qapi/
H A Dauthz.json64 # @rules: Authorization rules based on matching user
70 '*rules': ['QAuthZListRule'] } }
/qemu/docs/system/
H A Dauthz.rst111 "rules": [
130 access control policy by storing the match rules in a standalone file
149 to the file and auto-reload the rules.
151 The ``myvm-vnc.acl`` file should contain the match rules in a format that
157 "rules": [
/qemu/.gitlab-ci.d/
H A Dbase.yml3 # On stable branches this is changed by later rules. Should also
8 # For purposes of CI rules, upstream is the gitlab.com/qemu-project
13 # The order of rules defined here is critically important.
34 rules:
H A Dopensbi.yml1 # All jobs needing docker-opensbi must use the same rules it uses.
3 rules:
/qemu/include/authz/
H A Dlist.h51 * "rules": [
67 QAuthZListRuleList *rules; member
H A Dlistfile.h58 * to the file and auto-reload the rules.
64 * "rules": [
/qemu/docs/devel/
H A Dbuild-system.rst223 ``meson.build`` files group the source files in rules that are
476 the rules needed to build QEMU. Their behaviour is influenced by a
487 executables. Build rules for various subdirectories are included in
496 Rules for external test harnesses like the TCG tests.
499 Rules for Docker tests. Like ``tests/Makefile.include``, this file is
504 Rules for VM-based tests. Like ``tests/Makefile.include``, this file is
579 The build rules.
590 meson.build. The rules are produced from Meson's JSON description of
H A Drust.rst227 Rust has very strict rules with respect to how you get an exclusive (``&mut``)
228 reference; failure to respect those rules is a source of undefined behavior.
250 These rules can be tested with `MIRI`__, for example.
276 rules for the "Big QEMU Lock". In the future, similar cell types might
442 Third, the Meson rules to build the crate must be added at
/qemu/scripts/coccinelle/
H A Derrp-guard.cocci167 // We want to refer these functions in several following rules, but I
169 // (to not match another functions with same name in following rules).
171 // header and match it in following rules. Rename it back after all
177 // examine manually. Rules check1 and check2 emit warnings to guide us
/qemu/docs/interop/
H A Ddbus.rst17 Having several processes allows stricter security rules, as well as
38 have additional mechanisms to enforce security rules, based for
/qemu/block/
H A Dblkdebug.c59 QLIST_HEAD(, BlkdebugRule) rules[BLKDBG__MAX];
258 QLIST_INSERT_HEAD(&s->rules[event], rule, next); in add_rule()
488 /* Read rules from config file or command line options */ in blkdebug_open()
781 QLIST_FOREACH_SAFE(rule, &s->rules[i], next, next) { in blkdebug_close()
815 /* Only process rules for the current state */ in process_rule()
852 QLIST_FOREACH_SAFE(rule, &s->rules[event], next, next) { in blkdebug_co_debug_event()
885 QLIST_INSERT_HEAD(&s->rules[blkdebug_event], rule, next); in blkdebug_debug_breakpoint()
943 QLIST_FOREACH_SAFE(rule, &s->rules[i], next, next) { in blkdebug_debug_remove_breakpoint()
/qemu/tests/qapi-schema/
H A Dalternate-clash.json2 # Naming rules make collision impossible (even with the pragma). If
/qemu/linux-headers/
H A DCOPYING16 Documentation/process/license-rules.rst
/qemu/tests/tcg/
H A DMakefile.target15 # bother with the common rules.mk. We expect the following:
143 # specific make rules. Additional runners for the same binary should
160 # add some special helpers the run-plugin- rules can use below.
/qemu/tests/uefi-test-tools/
H A DMakefile37 # In the pattern rules below, the stem (%, $*) stands for
81 # In the pattern rules below, the stem (%, $*) stands for "$(target)" only. The

12345