Home
last modified time | relevance | path

Searched hist:f051a9c4dc70cd1b6eafa61aec8f3b9344e02e85 (Results 1 – 1 of 1) sorted by relevance

/qemu/system/
H A Dphysmem.cf051a9c4dc70cd1b6eafa61aec8f3b9344e02e85 Wed Jan 22 19:40:53 UTC 2025 William Roche <william.roche@oracle.com> system/physmem: take into account fd_offset for file fallocate

Punching a hole in a file with fallocate needs to take into account the
fd_offset value for a correct file location.
But guest_memfd internal use doesn't currently consider fd_offset.

Fixes: 4b870dc4d0c0 ("hostmem-file: add offset option")

Signed-off-by: William Roche <william.roche@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250122194053.3103617-2-william.roche@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>