diff options
author | Yang Weijiang <weijiang.yang@intel.com> | 2022-02-15 14:52:51 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-14 12:32:41 +0200 |
commit | 18c22d7112a76fabeee5022a3bdd9e8c3a37c8d2 (patch) | |
tree | bab79d5b463a6a8664d4d08629318306d9a34110 /scripts/cpu-x86-uarch-abi.py | |
parent | 6df39f5e583ca0f67bd934d1327f9ead2e3bd49c (diff) | |
download | qemu-18c22d7112a76fabeee5022a3bdd9e8c3a37c8d2.zip qemu-18c22d7112a76fabeee5022a3bdd9e8c3a37c8d2.tar.gz qemu-18c22d7112a76fabeee5022a3bdd9e8c3a37c8d2.tar.bz2 |
qdev-properties: Add a new macro with bitmask check for uint64_t property
The DEFINE_PROP_UINT64_CHECKMASK maro applies certain mask check agaist
user-supplied property value, reject the value if it violates the bitmask.
Co-developed-by: Like Xu <like.xu@linux.intel.com>
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Signed-off-by: Yang Weijiang <weijiang.yang@intel.com>
Message-Id: <20220215195258.29149-2-weijiang.yang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/cpu-x86-uarch-abi.py')
0 files changed, 0 insertions, 0 deletions