commit | b2cccb52bd9bef2948a150d204b20119b6c3ad58 | [log] [tgz] |
---|---|---|
author | David Hildenbrand <david@redhat.com> | Wed Sep 06 14:04:57 2023 +0200 |
committer | David Hildenbrand <david@redhat.com> | Tue Sep 19 10:23:21 2023 +0200 |
tree | 17a014e68686d5418c46a8ccf975fbc612409fb0 | |
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>