1. 21 4月, 2012 1 次提交
    • P
      gdbstub: Synchronize CPU state unconditionally in gdb_set_cpu_pc · a896d03b
      Peter Maydell 提交于
      Synchronize the CPU state via cpu_sychronize_state() unconditionally
      in gdb_set_cpu_pc() rather than only in some of the target ifdef
      ladder cases.
      
      We can divide the CPUs into three categories:
       * non-KVM targets: no change of behaviour since we will use the
         kvm-stub.c no-op function.
       * i386 and s390: no change of behaviour since they were already
         calling this function
       * PPC (in KVM mode): this fixes an error: failing to synchronise
         was accidental and probably a bug.
      
      This also paves the way for other targets (specifically ARM) which
      can add KVM support in future without having to add another target
      specific change to this bit of code.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      a896d03b
  2. 24 3月, 2012 1 次提交
  3. 15 3月, 2012 2 次提交
  4. 11 3月, 2012 1 次提交
    • J
      gdbstub: Do not kill target in system emulation mode · 00e94dbc
      Jan Kiszka 提交于
      Too many VM kittens were killed since 7d03f82f. Another one just died
      under my fat fingers.
      
      When you quit a kgdb session, does the Linux kernel power off? Or when
      you terminate gdb attached to a hardware debugger, does your board
      vanish in space? No.
      
      So let's stop terminating QEMU when the gdbstub receives a kill commando
      in system emulation mode. Real termination can still be achieved via
      "monitor quit". We keep the behavior for user mode emulation which is
      arguably more like a gdbserver scenario.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      00e94dbc
  5. 06 1月, 2012 1 次提交
  6. 14 12月, 2011 1 次提交
  7. 19 11月, 2011 1 次提交
  8. 27 10月, 2011 1 次提交
  9. 06 10月, 2011 1 次提交
  10. 04 10月, 2011 1 次提交
    • L
      RunState: Rename enum values as generated by the QAPI · 0461d5a6
      Luiz Capitulino 提交于
      Next commit will convert the query-status command to use the
      RunState type as generated by the QAPI.
      
      In order to "transparently" replace the current enum by the QAPI
      one, we have to make some changes to some enum values.
      
      As the changes are simple renames, I'll do them in one shot. The
      changes are:
      
       - Rename the prefix from RSTATE_ to RUN_STATE_
       - RUN_STATE_SAVEVM to RUN_STATE_SAVE_VM
       - RUN_STATE_IN_MIGRATE to RUN_STATE_INMIGRATE
       - RUN_STATE_PANICKED to RUN_STATE_INTERNAL_ERROR
       - RUN_STATE_POST_MIGRATE to RUN_STATE_POSTMIGRATE
       - RUN_STATE_PRE_LAUNCH to RUN_STATE_PRELAUNCH
       - RUN_STATE_PRE_MIGRATE to RUN_STATE_PREMIGRATE
       - RUN_STATE_RESTORE to RUN_STATE_RESTORE_VM
       - RUN_STATE_PRE_MIGRATE to RUN_STATE_FINISH_MIGRATE
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      0461d5a6
  11. 16 9月, 2011 2 次提交
  12. 11 9月, 2011 2 次提交
  13. 22 8月, 2011 4 次提交
  14. 21 8月, 2011 1 次提交
  15. 25 7月, 2011 1 次提交
    • B
      Wrap recv to avoid warnings · 00aa0040
      Blue Swirl 提交于
      Avoid warnings like these by wrapping recv():
        CC    slirp/ip_icmp.o
      /src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
      /src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
      /usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'
      
      Remove also casts used to avoid warnings.
      Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      00aa0040
  16. 27 6月, 2011 1 次提交
  17. 03 6月, 2011 1 次提交
  18. 20 5月, 2011 1 次提交
    • A
      s390x: Adjust GDB stub · 59467bac
      Alexander Graf 提交于
      We have successfully lazilized cc computation, so we need to manually
      trigger its calculation when gdb wants to fetch it. We also changed the
      variable name, so writing it writes into a different field now.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      59467bac
  19. 04 4月, 2011 1 次提交
  20. 07 3月, 2011 1 次提交
  21. 14 2月, 2011 1 次提交
  22. 17 1月, 2011 1 次提交
  23. 18 9月, 2010 1 次提交
  24. 03 7月, 2010 1 次提交
  25. 16 6月, 2010 1 次提交
  26. 10 5月, 2010 1 次提交
  27. 27 2月, 2010 2 次提交
  28. 24 2月, 2010 1 次提交
  29. 21 2月, 2010 1 次提交
  30. 15 1月, 2010 1 次提交
  31. 14 12月, 2009 1 次提交
  32. 06 12月, 2009 1 次提交
    • A
      S390 GDB stub · afcb0e45
      Alexander Graf 提交于
      In order to debug funny kernel breakages it's always good to have a working
      gdb stub around.
      
      While Uli's patches don't include one one, I needed one that's at least good
      enough for 'bt' and some variable examinations during early bootup.
      
      So here it is - the absolute basics to get the qemu gdb stub running with s390x
      targets.
      Sgined-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      afcb0e45
  33. 04 12月, 2009 1 次提交