1. 04 9月, 2009 1 次提交
    • L
      Add wrappers to functions used by the Monitor · 38183186
      Luiz Capitulino 提交于
      Some functions exported to be used by the Monitor as command
      handlers are also called in other places as regular functions.
      
      When those functions got ported to use the Monitor dictionary
      to pass argments, the callers will have to setup a dictionary
      to be able to call them.
      
      To avoid this problem, this commit add wrappers to those functions,
      so that we change the wrapper to accept the dictionary, letting
      the current functions as is.
      
      The following wrappers are being added:
      
      - do_help_cmd()
      - do_pci_device_hot_remove()
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      38183186
  2. 28 8月, 2009 5 次提交
  3. 24 8月, 2009 3 次提交
    • A
      Unbreak large mem support by removing kqemu · 4a1418e0
      Anthony Liguori 提交于
      kqemu introduces a number of restrictions on the i386 target.  The worst is that
      it prevents large memory from working in the default build.
      
      Furthermore, kqemu is fundamentally flawed in a number of ways.  It relies on
      the TSC as a time source which will not be reliable on a multiple processor
      system in userspace.  Since most modern processors are multicore, this severely
      limits the utility of kqemu.
      
      kvm is a viable alternative for people looking to accelerate qemu and has the
      benefit of being supported by the upstream Linux kernel.  If someone can
      implement work arounds to remove the restrictions introduced by kqemu, I'm
      happy to avoid and/or revert this patch.
      
      N.B. kqemu will still function in the 0.11 series but this patch removes it from
      the 0.12 series.
      
      Paul, please Ack or Nack this patch.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4a1418e0
    • J
      QEMU set irq0override in fw_cfg · 6b35e7bf
      Jes Sorensen 提交于
      Hi,
      
      After discussing the issue with Avi, Gleb and a couple others on irq,
      we came to the conclusion that it is preferred to have QEMU request
      features from the BIOS, rather than notifying the BIOS that it is
      running on QEMU or KVM. This way memory ranges can change etc. and
      an older BIOS will continue to work on newer QEMU if it receives the
      info as a fw_cfg value.
      
      This one also matches what qemu-kvm does for irq0override, except I
      haven't made it configurable. I leave that as an exercise for whoever
      would be interested in switching off irq0override.
      
      Thanks,
      Jes
      
      Set irq0 override in fw_cfg, informing the BIOS that QEMU expects
      override on irq0. This matches qemu-kvm, and will help sharing a
      single BIOS binary.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6b35e7bf
    • Z
      Clean up VGA type selection; far too many variables being used to track one... · 86176759
      Zachary Amsden 提交于
      Clean up VGA type selection; far too many variables being used to track one state leads to confusion if new variables are added.
      Signed-off-by: NZachary Amsden <zamsden@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      86176759
  4. 11 8月, 2009 2 次提交
  5. 09 8月, 2009 1 次提交
  6. 30 7月, 2009 1 次提交
    • P
      fix migration to obey -S · d399f677
      Paolo Bonzini 提交于
      Since migration returns right away, starting the VM right
      after calling qemu_start_incoming_migration is wrong even
      if -S is not passed.  We have to do this after migration
      has completed.
      
      Cc: Glauber Costa  <glommer@redhat.com>
      Cc: Anthony Liguori  <aliguori@us.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d399f677
  7. 28 7月, 2009 6 次提交
  8. 16 7月, 2009 1 次提交
  9. 30 6月, 2009 1 次提交
  10. 29 6月, 2009 1 次提交
  11. 24 6月, 2009 1 次提交
  12. 22 6月, 2009 2 次提交
  13. 14 6月, 2009 1 次提交
  14. 09 6月, 2009 1 次提交
  15. 30 5月, 2009 1 次提交
  16. 22 5月, 2009 3 次提交
    • K
      Create qemu-option.h · d3f24367
      Kevin Wolf 提交于
      This patch creates a new header file and the corresponding implementation file
      for parsing of parameter strings for options (like used in -drive). Part of
      this is code moved from vl.c (so qemu-img can use it later).
      
      The idea is to have a data structure describing all accepted parameters. When
      parsing a parameter string, the structure is copied and filled with the
      parameter values.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d3f24367
    • G
      augment info migrate with page status · 9f9e28cd
      Glauber Costa 提交于
      This patch augments info migrate output with status about:
      * ram bytes remaining
      * ram bytes transferred
      * ram bytes total
      
      This should be enough for management tools to realize
      whether or not there is progress in migration. We can
      add more information later on, if the need arrives
      
      [v2: fixes bytes_transferred type]
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      9f9e28cd
    • A
      Refactor how display drivers are selected · 993fbfdb
      Anthony Liguori 提交于
      My previous commit, f92f8afe,  broke -vnc (spotted by Glauber Costa).  This
      is because it's necessary to tell when the no special display parameters have
      been passed and default to SDL or VNC appropriately.
      
      This refactors the display selection logic to be less complicated which has
      the effect of fixing the regression mentioned above.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      993fbfdb
  17. 19 5月, 2009 2 次提交
  18. 15 5月, 2009 1 次提交
  19. 12 5月, 2009 1 次提交
  20. 01 5月, 2009 1 次提交
  21. 22 4月, 2009 3 次提交
  22. 19 4月, 2009 1 次提交