1. 16 9月, 2011 3 次提交
    • L
      runstate_set(): Check for valid transitions · 5db9d4d1
      Luiz Capitulino 提交于
      This commit could have been folded with the previous one, however
      doing it separately will allow for easy bisect and revert if needed.
      
      Checking and testing all valid transitions wasn't trivial, chances
      are this will need broader testing to become more stable.
      
      This is a transition table as suggested by Lluís Vilanova.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      5db9d4d1
    • L
      RunState: Add additional states · f5bbfba1
      Luiz Capitulino 提交于
      Currently, only vm_start() and vm_stop() change the VM state.
      That's, the state is only changed when starting or stopping the VM.
      
      This commit adds the runstate_set() function, which makes it possible
      to also do state transitions when the VM is stopped or running.
      
      Additional states are also added and the current state is stored.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      f5bbfba1
    • L
      Replace the VMSTOP macros with a proper state type · 1dfb4dd9
      Luiz Capitulino 提交于
      Today, when notifying a VM state change with vm_state_notify(),
      we pass a VMSTOP macro as the 'reason' argument. This is not ideal
      because the VMSTOP macros tell why qemu stopped and not exactly
      what the current VM state is.
      
      One example to demonstrate this problem is that vm_start() calls
      vm_state_notify() with reason=0, which turns out to be VMSTOP_USER.
      
      This commit fixes that by replacing the VMSTOP macros with a proper
      state type called RunState.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      1dfb4dd9
  2. 10 9月, 2011 1 次提交
  3. 09 9月, 2011 1 次提交
  4. 02 9月, 2011 3 次提交
  5. 01 9月, 2011 4 次提交
  6. 23 8月, 2011 2 次提交
  7. 22 8月, 2011 2 次提交
  8. 21 8月, 2011 3 次提交
  9. 05 8月, 2011 1 次提交
  10. 29 7月, 2011 2 次提交
    • J
      Allow to leave type on default in -machine · 2645c6dc
      Jan Kiszka 提交于
      This allows to specify -machine options without setting an explicit
      machine type. We will pick the default machine in this case. Requesting
      the list of available machines is still possible via '-machine ?' e.g.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      2645c6dc
    • W
      showing a splash picture when start · 3d3b8303
      wayne 提交于
          Added options to let qemu transfer two configuration files to bios:
      "bootsplash.bmp" and "etc/boot-menu-wait", which could be specified by command
          -boot splash=P,splash-time=T
      P is jpg/bmp file name or an absolute path, T have a max value of 0xffff, unit
      is ms. With these two options, if user invoke qemu with menu=on option, then
      a splash picture would be showed in a given time. For example:
          qemu -boot menu=on,splash=/root/boot.bmp,splash-time=5000
      would make boot.bmp shown as a brand with 5 seconds in the booting up process.
      This feature need the new seabios's support, which could be got from git.
      Signed-off-by: NWayne Xia <xiawenc@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3d3b8303
  11. 26 7月, 2011 1 次提交
  12. 24 7月, 2011 3 次提交
  13. 23 7月, 2011 1 次提交
  14. 05 7月, 2011 1 次提交
  15. 16 6月, 2011 3 次提交
  16. 14 6月, 2011 1 次提交
  17. 08 6月, 2011 1 次提交
  18. 06 6月, 2011 2 次提交
  19. 19 5月, 2011 1 次提交
  20. 08 5月, 2011 4 次提交