History | View | Annotate | Download (1.8 kB)
Rename target_phys_addr_t to hwaddr
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes arereserved) and its purpose doesn't match the name (most target_phys_addr_taddresses are not target specific). Replace it with a finger-friendly,...
Fix some more license versions (GPL2+ instead of GPL2)
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
dump: remove dumping stuff from cpu-all.h
This simplifies things, because they will only be included for softmmutargets and because the stubs are taken out-of-line in separate files,which in the future could even be compiled only once.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Add API to get memory mapping without do paging
crash does not need the virtual address and physical address mapping, and themapping does not include the memory that is not referenced by the page table.crash does not use the virtual address, so we can create the mapping for all...
introduce a new monitor command 'dump-guest-memory' to dump guest's memory
The command's usage: dump-guest-memory [-p] protocol [begin] [length]The supported protocol can be file or fd:1. file: the protocol starts with "file:", and the following string is...
Add API to create memory mapping list
The memory mapping list stores virtual address and physical address mapping.The virtual address and physical address are contiguous in the mapping.The folloing patch will use this information to create PT_LOAD in the vmcore....
implement cpu_get_memory_mapping()
Walk cpu's page table and collect all virtual address and physical address mapping.Then, add these mapping into memory mapping list. If the guest does not use paging,it will do nothing. Note: the I/O memory will be skipped....
Add API to get memory mapping
Add API to get all virtual address and physical address mapping.If the guest doesn't use paging, the virtual address is equal to the phyicaladdress. The virtual address and physical address mapping is for gdb's user, andit does not include the memory that is not referenced by the page table. So if...