diff options
author | David Hildenbrand <david@redhat.com> | 2023-09-06 14:04:57 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2023-09-19 10:23:21 +0200 |
commit | b2cccb52bd9bef2948a150d204b20119b6c3ad58 (patch) | |
tree | 17a014e68686d5418c46a8ccf975fbc612409fb0 /qemu-keymap.c | |
parent | 9e6b9f379130c77a08c8ea67a09fc90cb30f8d09 (diff) |
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 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions