aboutsummaryrefslogtreecommitdiffstats
path: root/exec.c
AgeCommit message (Expand)AuthorFilesLines
2018-02-19mem: add share parameter to memory-backend-ramMarcel Apfelbaum1-11/+15
2018-02-06tcg: Replace fprintf(stderr, "*\n" with error_report()Alistair Francis1-3/+3
2018-01-19hostmem-file: add "align" optionHaozhong Zhang1-1/+7
2018-01-16cpu: flush TB cache when loading VMStatePavel Dovgalyuk1-0/+7
2018-01-16find_ram_offset: Align ram_addr_t allocation on long boundariesDr. David Alan Gilbert1-0/+4
2018-01-16find_ram_offset: Add comments and tracingDr. David Alan Gilbert1-7/+22
2017-12-21exec: Don't reuse unassigned_mem_ops for io_mem_romPeter Maydell1-1/+33
2017-12-21cpu: suffix cpu address spaces with cpu indexPeter Xu1-1/+4
2017-12-21cpu: refactor cpu_address_space_init()Peter Xu1-1/+6
2017-12-18misc: remove duplicated includesPhilippe Mathieu-Daudé1-3/+0
2017-11-21exec.c: Factor out before/after actions for notdirty memory writesPeter Maydell1-21/+44
2017-11-16Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell1-9/+3
2017-11-15exec: Do not resolve subpage in mru_sectionPaolo Bonzini1-9/+3
2017-11-13qom: move CPUClass.tcg_initialize to a globalEmilio G. Cota1-2/+3
2017-10-24tcg: Add CPUState cflags_next_tbRichard Henderson1-5/+2
2017-10-24tcg: define CF_PARALLEL and use it for TB hashing along with CF_COUNT_MASKEmilio G. Cota1-1/+1
2017-10-24qom: Introduce CPUClass.tcg_initializeRichard Henderson1-1/+6
2017-10-18watch_mem_write: implement 8-byte accessesPaolo Bonzini1-0/+16
2017-10-18notdirty_mem_write: implement 8-byte accessesAndrew Baumann1-0/+13
2017-10-12exec: simplify address_space_get_iotlb_entryPeter Xu1-21/+10
2017-10-12exec: add page_mask for flatview_do_translatePeter Xu1-6/+45
2017-10-10util: move qemu_real_host_page_size/mask to osdep.hEmilio G. Cota1-4/+0
2017-09-21memory: Rework "info mtree" to print flat views and dispatch treesAlexey Kardashevskiy1-0/+84
2017-09-21memory: Rename mem_begin/mem_commit/mem_add helpersAlexey Kardashevskiy1-9/+3
2017-09-21memory: Cleanup after switching to FlatViewAlexey Kardashevskiy1-8/+8
2017-09-21memory: Switch memory from using AddressSpace to FlatViewAlexey Kardashevskiy1-75/+105
2017-09-21memory: Remove AddressSpace pointer from AddressSpaceDispatchAlexey Kardashevskiy1-8/+7
2017-09-21memory: Move AddressSpaceDispatch from AddressSpace to FlatViewAlexey Kardashevskiy1-30/+11
2017-09-21memory: Open code FlatView renderingAlexey Kardashevskiy1-24/+3
2017-09-21exec: Explicitly export target AS from address_space_translate_internalAlexey Kardashevskiy1-4/+7
2017-09-19exec,dump,i386,ppc,s390x: don't include exec/cpu-all.h explicitlyDavid Hildenbrand1-1/+0
2017-08-01exec: Add lock parameter to qemu_ram_ptr_lengthAnthony PERARD1-6/+6
2017-07-14cpu: Convert to DEFINE_PROP_LINKFam Zheng1-12/+15
2017-07-14memory/iommu: introduce IOMMUMemoryRegionClassAlexey Kardashevskiy1-2/+4
2017-07-14memory/iommu: QOM'fy IOMMU MemoryRegionAlexey Kardashevskiy1-6/+6
2017-07-14Revert "exec.c: Fix breakpoint invalidation race"Pranith Kumar1-6/+19
2017-07-14exec: use qemu_ram_ptr_length to access guest ramPrasad J Pandit1-2/+2
2017-07-04exec: elide calls to tb_lock and tb_unlockPaolo Bonzini1-0/+3
2017-07-04tcg: move page_size_init() functionYang Zhong1-0/+20
2017-06-15exec: split qemu_ram_alloc_from_file()Marc-André Lureau1-15/+30
2017-06-15exec: split file_ram_alloc()Marc-André Lureau1-37/+46
2017-06-15exec: check kvm mmu notifiers earlierMarc-André Lureau1-6/+6
2017-06-06exec: simplify phys_page_find() paramsPeter Xu1-7/+6
2017-05-25memory: tune last param of iommu_ops.translate()Peter Xu1-1/+2
2017-05-18migration: Make savevm.c target independentJuan Quintela1-0/+9
2017-05-18exec: Create include for target_page_size()Juan Quintela1-0/+1
2017-05-18Merge remote-tracking branch 'dgilbert/tags/pull-hmp-20170517' into stagingStefan Hajnoczi1-11/+33
2017-05-18Merge remote-tracking branch 'mst/tags/for_upstream' into stagingStefan Hajnoczi1-34/+69
2017-05-18exec: abstract address_space_do_translate()Peter Xu1-34/+69
2017-05-17ramblock: add new hmp command "info ramblock"Peter Xu1-0/+22
2017-05-17ramblock: add RAMBLOCK_FOREACH()Peter Xu1-11/+11
2017-05-16xen/mapcache: store dma information in revmapcache entries for debuggingStefano Stabellini1-4/+4
2017-04-24memory: add support getting and using a dirty bitmap copy.Gerd Hoffmann1-0/+75
2017-04-21ram: Remove migration_bitmap_extend()Juan Quintela1-1/+0
2017-04-21ram: rename last_ram_offset() last_ram_pages()Juan Quintela1-3/+3
2017-04-21ram: Rename qemu_target_page_bits() to qemu_target_page_size()Juan Quintela1-2/+2
2017-04-03exec: revert MemoryRegionCachePaolo Bonzini1-53/+11
2017-03-16RAMBlocks: qemu_ram_is_sharedDr. David Alan Gilbert1-0/+5
2017-03-14exec: add cpu_synchronize_state to cpu_memory_rw_debugChristian Borntraeger1-0/+2
2017-03-14mem-prealloc: reduce large guest start-up and migration time.Jitendra Kolhe1-1/+1
2017-03-03exec, kvm, target-ppc: Move getrampagesize() to common codeAlexey Kardashevskiy1-0/+82
2017-02-28postcopy: Record largest page sizeDr. David Alan Gilbert1-0/+13
2017-02-28postcopy: enhance ram_block_discard_range for hugepagesDr. David Alan Gilbert1-4/+20
2017-02-28exec: ram_block_discard_rangeDr. David Alan Gilbert1-0/+54
2017-02-24tcg: drop global lock during TCG code executionJan Kiszka1-3/+9
2017-02-17exec: make address_space_cache_destroy idempotentPaolo Bonzini1-0/+1
2017-02-07arm: Correctly handle watchpoints for BE32 CPUsJulian Brown1-0/+1
2017-01-31trace: switch to modular code generation for sub-directoriesDaniel P. Berrange1-1/+1
2017-01-27memory: don't sign-extend 32-bit writesLadi Prosek1-1/+1
2017-01-20Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell1-0/+6
2017-01-16ramblock-notifier: newPaolo Bonzini1-0/+5
2017-01-16exec: Add missing rcu_read_unlockRoman Kapl1-0/+1
2017-01-13cputlb: drop flush_global flag from tlb_flushAlex Bennée1-2/+2
2017-01-10exec: introduce address_space_get_iotlb_entry()Jason Wang1-0/+33
2016-12-22exec: introduce MemoryRegionCachePaolo Bonzini1-0/+76
2016-12-22exec: introduce address_space_extend_translationPaolo Bonzini1-21/+29
2016-12-22exec: introduce memory_ldst.inc.cPaolo Bonzini1-671/+10
2016-12-22exec: optimize remaining address_space_* casesPaolo Bonzini1-23/+103
2016-12-06exec.c: Fix breakpoint invalidation racePeter Maydell1-19/+6
2016-11-03Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingStefan Hajnoczi1-3/+30
2016-11-02exec.c: check memory backend file size with 'size' optionHaozhong Zhang1-0/+7
2016-11-01log: Add locking to large logging blocksRichard Henderson1-0/+2
2016-11-01exec.c: do not truncate non-empty memory backend fileHaozhong Zhang1-1/+21
2016-11-01exec.c: ensure all AddressSpaceDispatch updates under RCUAlex Bennée1-2/+2
2016-10-31tcg: move locking for tb_invalidate_phys_page_range upAlex Bennée1-0/+16
2016-10-31tcg: protect translation related stuff with tb_lock.KONRAD Frederic1-0/+6
2016-10-26exec: Avoid direct references to Int128 partsRichard Henderson1-2/+2
2016-10-25Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st...Peter Maydell1-5/+7
2016-10-24exec: call cpu_exec_exit() from a CPU unrealize common functionLaurent Vivier1-1/+1
2016-10-24exec: move cpu_exec_init() calls to realize functionsLaurent Vivier1-1/+1
2016-10-24exec: split cpu_exec_init()Laurent Vivier1-4/+6
2016-10-24cpu: Support a target CPU having a variable page sizePeter Maydell1-0/+42
2016-10-24exec.c: Remove static allocation of sub_section of sub_pageVijaya Kumar K1-3/+2
2016-10-24exec.c: workaround regression caused by alignment change in d2f39adHaozhong Zhang1-1/+6
2016-10-13RAMBlocks: Store page sizeDr. David Alan Gilbert1-7/+12
2016-10-08exec: remove unused compacted argumentMarc-André Lureau1-5/+3
2016-09-27cpus-common: move CPU list management to common codePaolo Bonzini1-35/+2
2016-09-13kvm-all: drop kvm_setup_guest_memoryCao jin1-3/+1
2016-09-13qtail: clean up direct access to tqe_prev fieldIgor Mammedov1-2/+1
2016-09-05exec: Ensure the only one cpu_index allocation method is usedIgor Mammedov1-0/+7
2016-08-02fix qemu exit on memory hotplug when allocation fails at prealloc timeIgor Mammedov1-2/+8
2016-07-26exec: Set cpu_index only if it's not been explictly setIgor Mammedov1-38/+6
2016-07-26exec: Don't use cpu_index to detect if cpu_exec_init()'s been calledIgor Mammedov1-2/+3
2016-07-26exec: Reduce CONFIG_USER_ONLY ifdeffeneryIgor Mammedov1-14/+3
2016-07-17exec: avoid realloc in phys_map_node_reservePeter Lieven1-1/+3
2016-07-12Use #include "..." for our own headers, <...> for othersMarkus Armbruster1-1/+1
2016-06-16os-posix: include sys/mman.hPaolo Bonzini1-1/+0
2016-06-13exec: Fix qemu_ram_block_from_host for XenAnthony PERARD1-1/+1
2016-06-09cpu-exec: Rename cpu_resume_from_signal() to cpu_loop_exit_noexc()Peter Maydell1-1/+1
2016-05-31Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160531' into...Peter Maydell1-8/+35
2016-05-30exec: Do vmstate unregistration from cpu_exec_exit()Bharata B Rao1-0/+11
2016-05-30exec: Remove cpu from cpus list during cpu_exec_exit()Bharata B Rao1-8/+24
2016-05-29exec: hide mr->ram_addr from qemu_get_ram_ptr usersPaolo Bonzini1-33/+24
2016-05-29memory: split memory_region_from_host from qemu_ram_addr_from_hostPaolo Bonzini1-5/+5
2016-05-29exec: remove ram_addr argument from qemu_ram_block_from_hostPaolo Bonzini1-7/+6
2016-05-29memory: remove qemu_get_ram_fd, qemu_set_ram_fd, qemu_ram_block_host_ptrPaolo Bonzini1-34/+0
2016-05-23memory: remove unnecessary masking of MemoryRegion ram_addrPaolo Bonzini1-14/+7
2016-05-23exec: adjust rcu_read_lock requirementGonglei1-5/+1
2016-05-23memory: drop find_ram_block()Gonglei1-27/+7
2016-05-23exec.c: Ensure right alignment also for file backed ramDominik Dingel1-2/+3
2016-05-19hw: clean up hw/hw.h includesPaolo Bonzini1-0/+1
2016-05-19cpu: move exec-all.h inclusion out of cpu.hPaolo Bonzini1-0/+1
2016-05-19qemu-common: push cpu.h inclusion out of qemu-common.hPaolo Bonzini1-1/+1
2016-05-19hw: cannot include hw/hw.h from user emulationPaolo Bonzini1-10/+11
2016-05-12tb: consistently use uint32_t for tb->flagsEmilio G. Cota1-1/+1
2016-04-05memory: fix segv on qemu_ram_free(block=0x0)Marc-André Lureau1-0/+4
2016-03-22exec: fix error handling in file_ram_allocPaolo Bonzini1-3/+4
2016-03-22util: move declarations out of qemu-common.hVeronia Bahaa1-1/+1
2016-03-22include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster1-0/+1
2016-03-15exec: fix early return from ram_block_addPaolo Bonzini1-0/+2
2016-03-15exec: Fix memory allocation when memory path isn't on hugetlbfsMarkus Armbruster1-33/+7
2016-03-15exec: Fix memory allocation when memory path names new fileMarkus Armbruster1-43/+64
2016-03-07exec: Introduce AddressSpaceDispatch.mru_sectionFam Zheng1-2/+14
2016-03-07exec: Factor out section_covers_addrFam Zheng1-3/+12
2016-03-07exec: Pass RAMBlock pointer to qemu_ram_freeFam Zheng1-14/+7
2016-03-07memory: Drop MemoryRegion.ram_addrFam Zheng1-1/+2
2016-03-07memory: Move assignment to ram_block to memory_region_init_*Fam Zheng1-1/+0
2016-03-07exec: Return RAMBlock pointer from allocating functionsFam Zheng1-29/+22
2016-02-25memory: optimize qemu_get_ram_ptr and qemu_ram_ptr_lengthGonglei1-18/+28
2016-02-25exec: store RAMBlock pointer into memory regionGonglei1-0/+2
2016-02-11Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2016-02-1...Peter Maydell1-6/+0
2016-02-11cpu: cpu_save/cpu_load is no morePaolo Bonzini1-6/+0
2016-02-11cpu: Add callback to check architectural watchpoint matchSergey Fedorov1-0/+6
2016-02-09memory: RCU ram_list.dirty_memory[] for safe RAM hotplugStefan Hajnoczi1-15/+60
2016-02-03log: do not unnecessarily include qom/cpu.hPaolo Bonzini1-0/+1
2016-01-29exec: Clean up includesPeter Maydell1-3/+1
2016-01-21Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20160121' into sta...Peter Maydell1-1/+7
2016-01-21qom/cpu: Add MemoryRegion propertyPeter Crosthwaite1-0/+14
2016-01-21exec.c: Use correct AddressSpace in watch_mem_read and watch_mem_writePeter Maydell1-6/+10
2016-01-21exec.c: Use cpu_get_phys_page_attrs_debugPeter Maydell1-5/+13
2016-01-21exec.c: Add cpu_get_address_space()Peter Maydell1-0/+6
2016-01-21exec.c: Pass MemTxAttrs to iotlb_to_region so it uses the right ASPeter Maydell1-2/+3
2016-01-21cputlb.c: Use correct address space when looking up MemoryRegionSectionPeter Maydell1-3/+4
2016-01-21exec.c: Allow target CPUs to define multiple AddressSpacesPeter Maydell1-10/+15
2016-01-21exec.c: Don't set cpu->as until cpu_address_space_initPeter Maydell1-4/+12
2016-01-14xen-hvm: Clean up xen_ram_alloc() error handlingMarkus Armbruster1-1/+7
2016-01-09ivshmem: Store file descriptor for vhost-user negotiationTetsuya Mukawa1-0/+10
2015-12-17memory: try to inline constant-length readsPaolo Bonzini1-13/+2
2015-12-17memory: extract first iteration of address_space_read and address_space_writePaolo Bonzini1-20/+65
2015-12-17memory: split address_space_read and address_space_writePaolo Bonzini1-92/+116
2015-12-17exec: make qemu_ram_ptr_length more similar to qemu_get_ram_ptrPaolo Bonzini1-23/+23
2015-12-17exec: always call qemu_get_ram_ptr within rcu_read_lockPaolo Bonzini1-17/+5
2015-12-17qemu-log: introduce qemu_log_separatePaolo Bonzini1-1/+1
2015-12-17exec: Remove unnecessary RAM_FILE flagEduardo Habkost1-9/+1
2015-12-17exec: Eliminate qemu_ram_free_from_ptr()Eduardo Habkost1-19/+0
2015-12-02exec: Stop using memory after freeDon Slutz1-1/+3
2015-11-26exec: remove warning about mempath and hugetlbfsDaniel P. Berrange1-3/+0
2015-11-26Revert "exec: silence hugetlbfs warning under qtest"Daniel P. Berrange1-4/+1
2015-11-19exec: silence hugetlbfs warning under qtestMarc-André Lureau1-1/+4
2015-11-10Round up RAMBlock sizes to host page sizesDr. David Alan Gilbert1-4/+4
2015-11-10qemu_ram_block_by_nameDr. David Alan Gilbert1-0/+20
2015-11-10qemu_ram_block_from_hostDr. David Alan Gilbert1-9/+45
2015-11-10Provide runtime Target page informationDr. David Alan Gilbert1-0/+10
2015-11-06exec: avoid unnecessary cacheline bounce on ram_list.mru_blockPaolo Bonzini1-1/+1
2015-11-06Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream-replay' into ...Peter Maydell1-0/+2
2015-11-06replay: initialization and deinitializationPavel Dovgalyuk1-0/+2
2015-11-04backends/hostmem-file: Allow to specify full pathname for backing filePavel Fedin1-13/+21
2015-11-04memory: call begin, log_start and commit when registering a new listenerPaolo Bonzini1-1/+1
2015-11-02file_ram_alloc: propagate error to caller instead of terminating QEMUIgor Mammedov1-4/+0
2015-10-22Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into stagingPeter Maydell1-37/+10
2015-10-21exec: factor out duplicate mmap codeMichael S. Tsirkin1-37/+10
2015-10-12exec.c: Collect AddressSpace related fields into a CPUAddressSpace structPeter Maydell1-18/+38
2015-10-12exec.c: Don't call cpu_reload_memory_map() from cpu_exec_init()Peter Maydell1-1/+0
2015-10-01exec: allocate PROT_NONE pages on top of RAMMichael S. Tsirkin1-3/+39
2015-09-16include/exec: Move cputlb exec.c defs outPeter Crosthwaite1-1/+0
2015-09-16cputlb: Change tlb_set_dirty() arg to cpuPeter Crosthwaite1-2/+1
2015-09-16cputlb: move CPU_LOOP() for tlb_reset() to exec.cPeter Crosthwaite1-1/+4
2015-09-16cpu: Add crash_occurred flag into CPUStateAndrey Smetanin1-0/+19
2015-09-14Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell1-1/+1
2015-09-09remove qemu/tls.hPaolo Bonzini1-1/+1
2015-09-07exec.c: Use pow2floor() rather than hand-calculationPeter Maydell1-3/+1
2015-08-14exec: use macro ROUND_UP for alignmentChen Hanxiao1-1/+1
2015-07-23exec.c: Use atomic_rcu_read() to access dispatch in memory_region_section_get...Peter Maydell1-1/+4
2015-07-09cpu: Change cpu_exec_init() arg to cpu, not envPeter Crosthwaite1-3/+2
2015-07-09translate-all: Change tb_flush() env argument to cpuPeter Crosthwaite1-2/+1
2015-07-09cpu: Convert cpu_index into a bitmapBharata B Rao1-5/+53
2015-07-09cpu: Add Error argument to cpu_exec_init()Bharata B Rao1-1/+1
2015-07-09cpu: Reorder cpu->as, cpu->thread_id, cpu->memory_dispatch initEduardo Habkost1-5/+6
2015-07-09cpu: Initialize breakpoint/watchpoint lists in cpu_common_initfn()Eduardo Habkost1-2/+0
2015-07-09cpu: No need to zero-initialize CPUState::numa_nodeEduardo Habkost1-1/+0