Peter Maydell
|
b85ea5fa2f
include: Move qemu_madvise() and related #defines to new qemu/madvise.h
|
3 years ago |
David Hildenbrand
|
9181fb7043
hostmem: Wire up RAM_NORESERVE via "reserve" property
|
4 years ago |
Thomas Huth
|
4c386f8064
Do not include sysemu/sysemu.h if it's not really necessary
|
4 years ago |
Michal Privoznik
|
def835f0da
hostmem: Don't report pmem attribute if unsupported
|
4 years ago |
Stefan Hajnoczi
|
86635aa4e9
hostmem-file: add readonly=on|off option
|
4 years ago |
Stefan Hajnoczi
|
369d6dc4de
memory: add readonly support to memory_region_init_ram_from_file()
|
4 years ago |
Eduardo Habkost
|
8063396bf3
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
|
5 years ago |
Eduardo Habkost
|
8110fa1d94
Use DECLARE_*CHECKER* macros
|
5 years ago |
Eduardo Habkost
|
db1015e92e
Move QOM typedefs and add missing includes
|
5 years ago |
Markus Armbruster
|
668f62ec62
error: Eliminate error_propagate() with Coccinelle, part 1
|
5 years ago |
Markus Armbruster
|
dcfe480544
error: Avoid unnecessary error_propagate() after error_setg()
|
5 years ago |
Markus Armbruster
|
62a35aaa31
qapi: Use returned bool to check for failure, Coccinelle part
|
5 years ago |
Markus Armbruster
|
d2623129a7
qom: Drop parameter @errp of object_property_add() & friends
|
5 years ago |
Igor Mammedov
|
4ebc74dbbf
hostmem: fix strict bind policy
|
5 years ago |
Igor Mammedov
|
900c0ba373
machine: alias -mem-path and -mem-prealloc into memory-foo backend
|
5 years ago |
Stefan Hajnoczi
|
72d41eb4b8
memory: fetch pmem size in get_file_size()
|
6 years ago |
Stefan Hajnoczi
|
7faae95ebc
hostmem-file: fix pmem file size check
|
6 years ago |
Markus Armbruster
|
0b8fa32f55
Include qemu/module.h where needed, drop it from qemu-common.h
|
6 years ago |
Stefan Hajnoczi
|
314aec4a6e
hostmem-file: reject invalid pmem file sizes
|
6 years ago |
Igor Mammedov
|
5c7ba877ef
hostmem-file: simplify ifdef-s in file_backend_memory_alloc()
|
6 years ago |
Zhang Yi
|
21d1683690
hostmem: add more information in error messages
|
6 years ago |
Marc-André Lureau
|
fa0cb34d22
hostmem: use object id for memory region name with >= 4.0
|
7 years ago |
Zhang Yi
|
87dc3ce60a
hostmem-file: remove object id from pmem error message
|
6 years ago |
Marc-André Lureau
|
86100290cb
hostmem: no need to check for host_memory_backend_mr_inited() in alloc()
|
7 years ago |
Zhang Yi
|
a1f3bb1845
hostmem-file: fixed the memory leak while get pmem path.
|
7 years ago |
Hikaru Nishida
|
d5dbde4645
hostmem-file: make available memory-backend-file on POSIX-based hosts
|
7 years ago |
Junyan He
|
a4de8552b2
hostmem-file: add the 'pmem' option
|
7 years ago |
Junyan He
|
cbfc017103
memory, exec: switch file ram allocation functions to 'flags' parameters
|
7 years ago |
Marcel Apfelbaum
|
06329ccecf
mem: add share parameter to memory-backend-ram
|
7 years ago |
Haozhong Zhang
|
9837684316
hostmem-file: add "align" option
|
7 years ago |