diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-07 15:32:06 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-07-12 12:27:38 +0200 |
| commit | 66c152d7b45ae8bd2a021226bb7689424d872687 (patch) | |
| tree | 685421cb11e50a6dd9d4c52a60307e84f1ecf110 /python/qemu/machine/machine.py | |
| parent | c60b292106132f72c1a5afbbd9c55dbc341d1620 (diff) | |
| download | focaccia-qemu-66c152d7b45ae8bd2a021226bb7689424d872687.tar.gz focaccia-qemu-66c152d7b45ae8bd2a021226bb7689424d872687.zip | |
hw/sd/sdcard: Extract address_in_range() helper, log invalid accesses
Multiple commands have to check the address requested is valid. Extract this code pattern as a new address_in_range() helper, and log invalid accesses as guest errors. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Message-Id: <20210624142209.1193073-3-f4bug@amsat.org>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions