1. 15 Dec, 2011 1 commit
  2. 12 Dec, 2011 4 commits
  3. 05 Dec, 2011 1 commit
  4. 02 Dec, 2011 1 commit
  5. 21 Nov, 2011 1 commit
  6. 01 Nov, 2011 1 commit
  7. 21 Oct, 2011 1 commit
  8. 20 Oct, 2011 11 commits
  9. 19 Oct, 2011 1 commit
  10. 04 Oct, 2011 1 commit
    • Luiz Capitulino's avatar
      RunState: Rename enum values as generated by the QAPI · 0461d5a6
      Luiz Capitulino authored
      
      
      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: default avatarLuiz Capitulino <lcapitulino@redhat.com>
      0461d5a6
  11. 15 Sep, 2011 2 commits
  12. 06 Sep, 2011 1 commit
    • Markus Armbruster's avatar
      savevm: Include writable devices with removable media · 07b70bfb
      Markus Armbruster authored
      
      
      savevm and loadvm silently ignore block devices with removable media,
      such as floppies and SD cards.  Rolling back a VM to a previous
      checkpoint will *not* roll back writes to block devices with removable
      media.
      
      Moreover, bdrv_is_removable() is a confused mess, and wrong in at
      least one case: it considers "-drive if=xen,media=cdrom -M xenpv"
      removable.  It'll be cleaned up later in this series.
      
      Read-only block devices are also ignored, but that's okay.
      
      Fix by ignoring only read-only block devices and empty block devices.
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      07b70bfb
  13. 21 Aug, 2011 1 commit
  14. 25 Jul, 2011 1 commit
    • Blue Swirl's avatar
      Wrap recv to avoid warnings · 00aa0040
      Blue Swirl authored
      
      
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      00aa0040
  15. 20 Jul, 2011 1 commit
  16. 16 Jun, 2011 1 commit
    • Jan Kiszka's avatar
      Reset system before loadvm · 5a8a49d7
      Jan Kiszka authored
      
      
      In case we load the vmstate during incoming migration, we start from a
      clean, default machine state as we went through system reset before. But
      if we load from a snapshot, the machine can be in any state. That can
      cause troubles if loading an older image which does not carry all state
      information the executing QEMU requires. Hardly any device takes care of
      this scenario.
      
      However, fixing this is trivial. We just need to issue a system reset
      during loadvm as well.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
      5a8a49d7
  17. 08 Jun, 2011 1 commit
  18. 16 Apr, 2011 1 commit
  19. 15 Apr, 2011 1 commit
  20. 21 Mar, 2011 3 commits
  21. 15 Mar, 2011 1 commit
  22. 10 Mar, 2011 3 commits