diff options
author | 2023-09-06 14:04:57 +0200 | |
---|---|---|
committer | 2023-09-19 10:23:21 +0200 | |
commit | b2cccb52bd9bef2948a150d204b20119b6c3ad58 (patch) | |
tree | 17a014e68686d5418c46a8ccf975fbc612409fb0 /scripts/qapi/source.py | |
parent | softmmu/physmem: Remap with proper protection in qemu_ram_remap() (diff) | |
download | qemu-b2cccb52bd9bef2948a150d204b20119b6c3ad58.tar.xz qemu-b2cccb52bd9bef2948a150d204b20119b6c3ad58.zip |
softmmu/physmem: Bail out early in ram_block_discard_range() with readonly files
fallocate() will fail, let's print a nicer error message.
Message-ID: <20230906120503.359863-6-david@redhat.com>
Suggested-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions