1. 14 3月, 2014 3 次提交
  2. 10 3月, 2014 1 次提交
  3. 11 2月, 2014 1 次提交
  4. 23 12月, 2013 1 次提交
  5. 07 11月, 2013 1 次提交
    • P
      timers: fix stop/cont with -icount · 5f3e3101
      Paolo Bonzini 提交于
      Stop/cont commands are broken with -icount due to a deadlock.  The
      real problem is that the computation of timers_state.cpu_ticks_offset
      makes no sense with -icount enabled: we set it to an icount clock value
      in cpu_disable_ticks, and subtract a TSC (or similar, whatever
      cpu_get_real_ticks happens to return) value in cpu_enable_ticks.
      
      The fix is simple.  timers_state.cpu_ticks_offset is only used
      together with cpu_get_real_ticks, so we can use cpu_get_real_ticks
      in cpu_disable_ticks.  There is no need to update cpu_ticks_prev
      at the time cpu_disable_ticks is called; instead, we can do it
      the next time cpu_get_ticks is called.
      
      The change to cpu_disable_ticks is the important part of the patch.
      The rest modifies the code to always check timers_state.cpu_ticks_prev,
      even when the ticks are not advancing (i.e. the VM is stopped).  It also
      makes a similar change to cpu_get_clock_locked, so that the code remains
      similar for cpu_get_ticks and cpu_get_clock_locked.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-id: 1382977938-13844-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      5f3e3101
  6. 26 10月, 2013 1 次提交
  7. 17 10月, 2013 6 次提交
  8. 03 9月, 2013 2 次提交
  9. 30 8月, 2013 1 次提交
    • E
      s390: wire up nmi command to raise a RESTART interrupt on S390 · 7f7f9752
      Eugene (jno) Dvurechenski 提交于
      There is the 'nmi' command that is used to trigger a guest dump via kdump feature on x86.
      s390 uses RESTART interrupt to trigger kdump.
      So, this patch provides a mean to use 'nmi' command on s390 to raise RESTART interrupt.
      
      The CPU to receive the RESTART interrupt is the "default" one.
      
      There is an infrastructure to select the "default" CPU using 'cpu' command.
      The 'info cpus' command can be used to see which one is the "default".
      
      In order to wire up the RESTART to 'nmi' command we had to:
      1. implement the kvm_s390_cpu_restart function by exporting the existing code
      2. implement s390_cpu_restart function as kvm-aware wrapper
      3. modify the qmp_inject_nmi function to enable (for s390) the scan for
         "default" CPU and call s390_cpu_restart for it;
      3. fix some messages.
      Signed-off-by: NEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NAlexander Graf <agraf@suse.de>
      7f7f9752
  10. 23 8月, 2013 2 次提交
  11. 17 8月, 2013 1 次提交
  12. 27 7月, 2013 1 次提交
  13. 23 7月, 2013 2 次提交
  14. 19 7月, 2013 1 次提交
  15. 15 7月, 2013 1 次提交
  16. 13 7月, 2013 1 次提交
  17. 10 7月, 2013 2 次提交
  18. 01 7月, 2013 1 次提交
    • A
      KVM: Don't assume that mpstate exists with in-kernel PIC always · 215e79c0
      Alexander Graf 提交于
      On PPC, we don't support MP state. So far it's not necessary and I'm
      not convinced yet that we really need to support it ever.
      
      However, the current idle logic in QEMU assumes that an in-kernel PIC
      also means we support MP state. This assumption is not true anymore.
      
      Let's split up the two cases into two different variables. That way
      PPC can expose an in-kernel PIC, while not implementing MP state.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      CC: Jan Kiszka <jan.kiszka@siemens.com>
      215e79c0
  19. 28 6月, 2013 11 次提交