aboutsummaryrefslogtreecommitdiffstats
path: root/cpus.c
AgeCommit message (Expand)AuthorFilesLines
2014-09-16Introduce cpu_clean_all_dirtyMarcelo Tosatti1-0/+9
2014-09-11cpu: init vmstate for ticks and clock offsetPavel Dovgalyuk1-2/+6
2014-09-01target-tricore: Add target stubs and qom-cpuBastian Koppelmann1-0/+6
2014-08-25s390x: Migrate to new NMI interfaceAlexey Kardashevskiy1-14/+0
2014-08-25cpus: Define callback for QEMU "nmi" commandAlexey Kardashevskiy1-1/+2
2014-08-07monitor: Add drift info to 'info jit'Sebastian Tanase1-0/+19
2014-08-06cpu-exec: Add sleeping algorithmSebastian Tanase1-0/+17
2014-08-06icount: Add align option to icountSebastian Tanase1-7/+12
2014-08-06icount: Add QemuOpts for icountSebastian Tanase1-1/+9
2014-08-06icount: Fix virtual clock start value on ARMSebastian Tanase1-1/+1
2014-08-06timer: add cpu_icount_to_ns function.KONRAD Frederic1-1/+6
2014-08-06migration: migrate icount fields.KONRAD Frederic1-0/+27
2014-08-06icount: put icount variables into TimerState.KONRAD Frederic1-13/+16
2014-06-23qapi event: convert STOPWenchao Xia1-1/+3
2014-06-23vl: allow other threads to do qemu_system_vmstop_requestPaolo Bonzini1-0/+1
2014-06-19NUMA: move numa related code to new file numa.cWanlong Gao1-14/+0
2014-06-17qtest: fix qtest_clock_warp() for no deadline caseSergey Fedorov1-1/+1
2014-05-14savevm: Remove all the unneeded version_minimum_id_old (rest)Juan Quintela1-2/+1
2014-04-27misc: Use cpu_physical_memory_read and cpu_physical_memory_writeStefan Weil1-1/+1
2014-03-13cpu: Move icount_decr field from CPU_COMMON to CPUStateAndreas Färber1-7/+6
2014-03-13cpu: Move icount_extra field from CPU_COMMON to CPUStateAndreas Färber1-7/+7
2014-03-13cpu: Move can_do_io field from CPU_COMMON to CPUStateAndreas Färber1-1/+1
2014-03-13cpu: Turn cpu_has_work() into a CPUClass hookAndreas Färber1-1/+1
2014-03-09Add a 'name' parameter to qemu_thread_createDr. David Alan Gilbert1-5/+20
2014-02-11cpu: Add per-cpu address spaceEdgar E. Iglesias1-0/+2
2013-12-23target-i386: Move apic_state field from CPUX86State to X86CPUChen Fan1-3/+2
2013-11-06timers: fix stop/cont with -icountPaolo Bonzini1-20/+22
2013-10-25target-ppc: Check for error on address translation in memsave commandAneesh Kumar K.V1-1/+4
2013-10-17icount: make it thread-safePaolo Bonzini1-6/+31
2013-10-17icount: document (future) locking rules for icountPaolo Bonzini1-4/+11
2013-10-17icount: prepare the code for future races in calling qemu_clock_warpPaolo Bonzini1-12/+10
2013-10-17icount: reorganize icount_warp_rtPaolo Bonzini1-8/+10
2013-10-17icount: use cpu_get_icount() directlyPaolo Bonzini1-2/+5
2013-10-17timer: protect timers_state's clock with seqlockLiu Ping Fan1-7/+42
2013-09-03cpu: Replace qemu_for_each_cpu()Andreas Färber1-7/+4
2013-09-03cpu: Use QTAILQ for CPU listAndreas Färber1-28/+21
2013-08-30s390: wire up nmi command to raise a RESTART interrupt on S390Eugene (jno) Dvurechenski1-0/+14
2013-08-22aio / timers: Rearrange timer.h & make legacy functions call non-legacyAlex Bligh1-53/+59
2013-08-22aio / timers: Use all timerlists in icount warp calculationsAlex Bligh1-9/+37
2013-08-16cpus: Use cpu_is_stopped() efficientlyTiejun Chen1-7/+7
2013-07-27timer: make timers_state staticLiu Ping Fan1-1/+1
2013-07-23exec: Change cpu_memory_rw_debug() argument to CPUStateAndreas Färber1-3/+1
2013-07-23cpu: Move singlestep_enabled field from CPU_COMMON to CPUStateAndreas Färber1-1/+1
2013-07-19cpus: Let vm_stop[_force_state]() always flush block devicesKevin Wolf1-3/+6
2013-07-15Merge remote-tracking branch 'quintela/migration.next' into stagingAnthony Liguori1-0/+29
2013-07-15cpus: Add return value for vm_stop()Kevin Wolf1-7/+13
2013-07-12Introduce async_run_on_cpu()Chegu Vinod1-0/+29
2013-07-09cpu: Make first_cpu and next_cpu CPUStateAndreas Färber1-60/+66
2013-07-09cpu: Replace cpu_single_env with CPUState current_cpuAndreas Färber1-21/+20
2013-07-01KVM: Don't assume that mpstate exists with in-kernel PIC alwaysAlexander Graf1-1/+1
2013-06-28cpu: Change qemu_init_vcpu() argument to CPUStateAndreas Färber1-4/+1
2013-06-28cpus: Change qemu_dummy_start_vcpu() argument to CPUStateAndreas Färber1-9/+6
2013-06-28cpus: Change qemu_kvm_start_vcpu() argument to CPUStateAndreas Färber1-8/+5
2013-06-28cpus: Change cpu_handle_guest_debug() argument to CPUStateAndreas Färber1-5/+3
2013-06-28gdbstub: Set gdb_set_stop_cpu() argument to CPUStateAndreas Färber1-1/+1
2013-06-28kvm: Change kvm_cpu_exec() argument to CPUStateAndreas Färber1-1/+1
2013-06-28cpu: Turn cpu_dump_{state,statistics}() into CPUState hooksAndreas Färber1-1/+1
2013-06-28cpus: Change qemu_kvm_init_cpu_signals() argument to CPUStateAndreas Färber1-4/+3
2013-06-28kvm: Change kvm_set_signal_mask() argument to CPUStateAndreas Färber1-1/+2
2013-06-28cpus: Change qemu_kvm_wait_io_event() argument to CPUStateAndreas Färber1-4/+2
2013-06-28cpus: Change cpu_thread_is_idle() argument to CPUStateAndreas Färber1-5/+3
2013-06-28cpu: Change cpu_exit() argument to CPUStateAndreas Färber1-2/+2
2013-06-28kvm: Change cpu_synchronize_state() argument to CPUStateAndreas Färber1-4/+4
2013-06-17cpus: use error_setg_file_open()Luiz Capitulino1-2/+2
2013-05-02cpus: Fix pausing TCG CPUs while in vCPU threadAndreas Färber1-1/+2
2013-05-01cpus: Use qemu_for_each_cpu() in TCG threadIgor Mammedov1-6/+7
2013-05-01cpu: Introduce cpu_resume(), for single CPUIgor Mammedov1-3/+8
2013-04-19w64: Fix compiler warnings (wrong format specifier)Stefan Weil1-2/+2
2013-04-16cpu: Pass CPUState to *cpu_synchronize_post*()Igor Mammedov1-2/+2
2013-04-12Check effective suspension of TCG threadOlivier Hainque1-2/+22
2013-03-12cpu: Pass CPUState to cpu_interrupt()Andreas Färber1-1/+1
2013-03-12cpu: Move halted and interrupt_request fields to CPUStateAndreas Färber1-2/+2
2013-03-12cpus: Replace open-coded CPU loop in qmp_memsave() with qemu_get_cpu()Andreas Färber1-8/+3
2013-02-16cpus.c: Drop unnecessary set_cpu_log()Peter Maydell1-12/+0
2013-02-16qemu-log: Rename the public-facing cpu_set_log function to qemu_set_logPeter Maydell1-1/+1
2013-02-16qemu-log: Rename cpu_str_to_log_mask to qemu_str_to_log_maskPeter Maydell1-1/+1
2013-02-16qemu-log: Abstract out "print usage message about valid log categories"Peter Maydell1-5/+1
2013-02-16qemu-log: Unify {cpu_set,set_cpu}_log_filename as qemu_set_log_filenamePeter Maydell1-5/+0
2013-01-28kvm: Pass CPUState to kvm_on_sigbus_vcpu()Andreas Färber1-4/+4
2013-01-15kvm: Pass CPUState to kvm_init_vcpu()Andreas Färber1-1/+1
2013-01-15cpu: Move cpu_index field to CPUStateAndreas Färber1-5/+9
2013-01-15cpu: Move numa_node field to CPUStateAndreas Färber1-1/+3
2013-01-15cpu: Move nr_{cores,threads} fields to CPUStateAndreas Färber1-2/+2
2012-12-19softmmu: move include files to include/sysemu/Paolo Bonzini1-5/+5
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-4/+4
2012-12-19monitor: move include files to include/monitor/Paolo Bonzini1-1/+1
2012-12-19exec: move include files to include/exec/Paolo Bonzini1-1/+1
2012-10-31cpu: Move thread_id to CPUStateAndreas Färber1-5/+6
2012-10-31cpus: Pass CPUState to run_on_cpu()Andreas Färber1-2/+1
2012-10-31cpus: Pass CPUState to [qemu_]cpu_has_work()Andreas Färber1-1/+1
2012-10-31cpus: Pass CPUState to qemu_wait_io_event_common()Andreas Färber1-7/+5
2012-10-31cpus: Pass CPUState to flush_queued_work()Andreas Färber1-3/+2
2012-10-31cpu: Move queued_work_{first,last} to CPUStateAndreas Färber1-9/+10
2012-10-31cpus: Pass CPUState to qemu_cpu_kick()Andreas Färber1-8/+5
2012-10-31cpus: Pass CPUState to qemu_tcg_init_vcpu()Andreas Färber1-5/+2
2012-10-31cpus: Pass CPUState to qemu_tcg_cpu_thread_fnAndreas Färber1-3/+3
2012-10-31cpu: Move halt_cond to CPUStateAndreas Färber1-10/+12
2012-10-31cpus: Pass CPUState to cpu_can_run()Andreas Färber1-8/+6
2012-10-31cpus: Pass CPUState to cpu_is_stopped()Andreas Färber1-3/+1
2012-10-31cpu: Move stopped field to CPUStateAndreas Färber1-12/+18
2012-10-31cpu: Move stop field to CPUStateAndreas Färber1-9/+18
2012-10-31cpu: Move created field to CPUStateAndreas Färber1-6/+7
2012-10-31cpus: Pass CPUState to qemu_cpu_kick_thread()Andreas Färber1-5/+4
2012-10-31cpus: Pass CPUState to qemu_cpu_is_self()Andreas Färber1-7/+5
2012-10-17cpus: create qemu_in_vcpu_thread()Juan Quintela1-2/+7
2012-10-06Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydel...Aurelien Jarno1-5/+1
2012-10-05cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to genericPeter Maydell1-5/+1
2012-10-05cpu: Add missing 'static' attribute to qemu_global_mutexStefan Weil1-1/+1
2012-09-21Drop cpu_list_id macroPeter Maydell1-4/+2
2012-08-09kvm: Decouple 'async interrupt delivery' from 'kernel irqchip'Peter Maydell1-1/+2
2012-08-04Fixes related to processing of qemu's -numa optionChegu Vinod1-1/+2
2012-08-02cpu: Move thread_kicked to CPUStateAndreas Färber1-5/+9
2012-08-02cpu: Move thread field into CPUStateAndreas Färber1-17/+23
2012-08-02cpu: Move CPU_COMMON_THREAD into CPUStateAndreas Färber1-3/+7
2012-07-21cpus.c: Make all_cpu_threads_idle() staticPeter Maydell1-26/+26
2012-04-12kvm: Drop redundant kvm_enabled from cpu_thread_is_idleJan Kiszka1-2/+1
2012-03-30qtest: add clock managementPaolo Bonzini1-0/+20
2012-03-30qtest: add test frameworkAnthony Liguori1-3/+59
2012-03-14Rename CPUState -> CPUArchStateAndreas Färber1-38/+38
2012-02-18Allow to use pause_all_vcpus from VCPU contextJan Kiszka1-0/+12
2012-02-18Process pending work while waiting for initial kick-off in TCG modeJan Kiszka1-0/+5
2012-02-18Remove useless casts from cpu iteratorsJan Kiszka1-4/+4
2012-02-18kvm: Set cpu_single_env only onceJan Kiszka1-0/+1
2012-01-19apic: Inject external NMI events via LINT1Jan Kiszka1-1/+5
2012-01-12cleanup, Remove duplicated codeLai Jiangshan1-8/+0
2011-12-15fix win32 buildPaolo Bonzini1-4/+7
2011-12-14Merge remote-tracking branch 'stefanha/trivial-patches-next' into stagingAnthony Liguori1-1/+1
2011-12-12qemu-thread: add API for joinable threadsJan Kiszka1-2/+4
2011-12-06qapi: Convert inject-nmiLuiz Capitulino1-0/+13
2011-12-06qapi: Convert pmemsaveLuiz Capitulino1-0/+30
2011-12-06qapi: Convert memsaveLuiz Capitulino1-0/+47
2011-12-06fix typo: delete redundant semicolonDong Xu Wang1-1/+1
2011-12-05Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-1/+1
2011-12-05block: convert qemu_aio_flush() calls to bdrv_drain_all()Stefan Hajnoczi1-1/+1
2011-12-02fix spelling in main directoryDong Xu Wang1-1/+1
2011-11-07reenable vm_clock when resuming all vcpusWen Congyang1-0/+1
2011-11-01Simplify cpu_exec_all to tcg_exec_allJan Kiszka1-9/+5
2011-10-27qapi: Convert query-cpusLuiz Capitulino1-0/+45
2011-10-21simplify main loop functionsPaolo Bonzini1-5/+0
2011-10-21main-loop: create main-loop.cPaolo Bonzini1-188/+1
2011-10-21main-loop: create main-loop.hPaolo Bonzini1-6/+1
2011-10-21qemu-timer: do not refer to runstate_is_running()Paolo Bonzini1-0/+1
2011-10-21qemu-timer: move icount to cpus.cPaolo Bonzini1-18/+277
2011-10-19runstate: Allow user to migrate twiceLuiz Capitulino1-0/+11
2011-09-20Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-5/+0
2011-09-20block: avoid SIGUSR2Frediano Ziglio1-5/+0
2011-09-15Drop the vm_running global variableLuiz Capitulino1-5/+4
2011-09-15RunState: Add additional statesLuiz Capitulino1-0/+1
2011-09-15Replace the VMSTOP macros with a proper state typeLuiz Capitulino1-5/+5
2011-09-02main: force enabling of I/O threadAnthony Liguori1-143/+0
2011-08-22Replace qemu_system_cond with VCPU stop mechanismJan Kiszka1-14/+6
2011-08-22Do not kick vcpus in TCG modeJan Kiszka1-1/+1
2011-08-20Use glib memory allocation and free functionsAnthony Liguori1-4/+4
2011-07-23iothread: replace fair_mutex with a condition variablePaolo Bonzini1-15/+9
2011-07-16Fix signal handling of SIG_IPI when io-thread is enabledAlexandre Raymond1-1/+9
2011-07-16Fix signal handling when io-thread is disabledAlexandre Raymond1-1/+1
2011-06-27Merge remote-tracking branch 'stefanha/trivial-patches' into stagingAnthony Liguori1-0/+3
2011-06-26Remove exec-all.h include directivesBlue Swirl1-1/+0
2011-06-24Do not include compatfd for WIN32Jan Kiszka1-0/+3
2011-06-20Fix typo in cpus.cAlexandre Raymond1-1/+1
2011-06-15Command line support for altering the log file locationMatthew Fernandez1-0/+5
2011-04-15qemu_next_deadline should not consider host-time timersPaolo Bonzini1-2/+2
2011-04-15enable vm_clock to "warp" in the iothread+icount casePaolo Bonzini1-1/+7
2011-04-15really fix -icount in the iothread casePaolo Bonzini1-0/+3
2011-03-21Merge remote branch 'qemu-kvm/uq/master' into stagingAnthony Liguori1-72/+54
2011-03-20Fix conversions from pointer to int and vice versaStefan Weil1-4/+4
2011-03-16Expose thread_id in info cpusJan Kiszka1-0/+2
2011-03-16kvm: Add in-kernel irqchip awareness to cpu_thread_is_idleJan Kiszka1-1/+2
2011-03-15x86: Unbreak TCG support for hardware breakpointsJan Kiszka1-24/+3
2011-03-15Implement qemu_kvm_eat_signals only for CONFIG_LINUXJan Kiszka1-47/+47
2011-03-13add Win32 IPI servicePaolo Bonzini1-3/+22
2011-03-13protect qemu_cpu_kick_self for Win32Paolo Bonzini1-0/+4
2011-03-13provide dummy signal init functions for win32Paolo Bonzini1-70/+73
2011-03-13merge all signal initialization with qemu_signalfd_init, renamePaolo Bonzini1-51/+36
2011-03-13iothread stops the vcpu thread via IPIPaolo Bonzini1-0/+2
2011-03-13do not use timedwait on qemu_cpu_condPaolo Bonzini1-2/+2
2011-03-13do not use timedwait on qemu_pause_condPaolo Bonzini1-1/+1
2011-03-13do not use timedwait on qemu_system_condPaolo Bonzini1-2/+2
2011-03-13do not use timedwait on qemu_halt_condPaolo Bonzini1-2/+2
2011-03-13always signal pause_cond after stopping a VCPUPaolo Bonzini1-0/+2
2011-03-13exit round-robin vcpu loop if cpu->stopped is truePaolo Bonzini1-1/+1
2011-03-13include qemu-thread.h earlyPaolo Bonzini1-2/+1
2011-03-13Refactor thread retrieval and checkJan Kiszka1-14/+8
2011-02-16Merge remote branch 'qemu-kvm/uq/master' into stagingAnthony Liguori1-273/+452
2011-02-14io-thread: make sure to initialize qemu_work_cond and qemu_cpu_condAnthony Liguori1-1/+3
2011-02-14kvm: Separate TCG from KVM cpu executionJan Kiszka1-5/+5
2011-02-14Move debug exception handling out of cpu_execJan Kiszka1-5/+30
2011-02-14Refactor debug and vmstop request interfaceJan Kiszka1-8/+1
2011-02-14Improve vm_stop reason declarationsJan Kiszka1-2/+2
2011-02-14Fix a few coding style violations in cpus.cJan Kiszka1-27/+44
2011-02-14Refactor cpu_has_work/any_cpu_has_work in cpus.cJan Kiszka1-20/+23
2011-02-14Refactor kvm&tcg function names in cpus.cJan Kiszka1-8/+8
2011-02-14Introduce VCPU self-signaling serviceJan Kiszka1-0/+21
2011-02-14kvm: Add MCE signal support for !CONFIG_IOTHREADJan Kiszka1-42/+65
2011-02-14kvm: Fix race between timer signals and vcpu entry under !IOTHREADJan Kiszka1-1/+30
2011-02-14Set up signalfd under !CONFIG_IOTHREADJan Kiszka1-53/+64
2011-02-14kvm: Call qemu_kvm_eat_signals also under !CONFIG_IOTHREADJan Kiszka1-38/+52
2011-02-14kvm: Refactor qemu_kvm_eat_signalsJan Kiszka1-16/+7
2011-02-14kvm: Set up signal mask also for !CONFIG_IOTHREADJan Kiszka1-2/+27
2011-02-14Refactor signal setup functions in cpus.cJan Kiszka1-79/+83