1. 20 3月, 2012 1 次提交
  2. 19 3月, 2012 1 次提交
    • A
      spice: fix broken initialization · ad1be899
      Alon Levy 提交于
      Commit 1b71f7c1 moved MODULE_INIT_QOM to
      way before MODULE_INIT_MACHINE, thereby breaking assumptions made in
      spice-core.c which registered both a type initializer and a machine
      intializer.
      
      This fix removes the type registration, and replaces it with calling
      qemu_spice_init in vl.c after command line parsing (second pass) is
      done, and after timers are armed, required by spice server.
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      ad1be899
  3. 14 3月, 2012 1 次提交
  4. 13 3月, 2012 1 次提交
  5. 02 3月, 2012 1 次提交
  6. 27 2月, 2012 1 次提交
  7. 25 2月, 2012 3 次提交
    • P
      vl.c: Avoid segfault when started with no arguments · 967c0da7
      Peter Maydell 提交于
      Fix a bug (introduced in commit a0abe474) where a command line which
      specified no machine arguments (either explicitly or implicitly via
      -kernel &co) would result in a segfault because of a NULL pointer
      returned from qemu_opts_find(qemu_find_opts("machine"), 0).
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      967c0da7
    • G
      suspend: add qmp events · 53370b78
      Gerd Hoffmann 提交于
      Send qmp events on suspend and wakeup so libvirt
      has a chance to track the vm state.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      53370b78
    • G
      suspend: add infrastructure · 95b363b5
      Gerd Hoffmann 提交于
      This patch adds some infrastructure to handle suspend and resume to
      qemu.  First there are two functions to switch state and second there
      is a suspend notifier:
      
       * qemu_system_suspend_request is supposed to be called when the
         guest asks for being be suspended, for example via ACPI.
      
       * qemu_system_wakeup_request is supposed to be called on events
         which should wake up the guest.
      
       * qemu_register_suspend_notifier can be used to register a notifier
         which will be called when the guest is suspended.  Machine types
         and device models can hook in there to modify state if needed.
      
       * qemu_register_wakeup_notifier can be used to register a notifier
         which will be called when the guest is woken up.  Machine types
         and device models can hook in there to modify state if needed.
      
       * qemu_system_wakeup_enable can be used to enable/disable wakeup
         events.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      95b363b5
  8. 24 2月, 2012 2 次提交
  9. 23 2月, 2012 1 次提交
  10. 22 2月, 2012 2 次提交
  11. 17 2月, 2012 2 次提交
  12. 15 2月, 2012 1 次提交
  13. 10 2月, 2012 1 次提交
  14. 09 2月, 2012 1 次提交
    • R
      iSCSI: add configuration variables for iSCSI · f9dadc98
      Ronnie Sahlberg 提交于
      This patch adds configuration variables for iSCSI to set
      initiator-name to use when logging in to the target,
      which type of header-digest to negotiate with the target
      and username and password for CHAP authentication.
      
      This allows specifying a initiator-name either from the command line
      -iscsi initiator-name=iqn.2004-01.com.example:test
      or from a configuration file included with -readconfig
          [iscsi]
            initiator-name = iqn.2004-01.com.example:test
            header-digest = CRC32C|CRC32C-NONE|NONE-CRC32C|NONE
            user = CHAP username
            password = CHAP password
      
      If you use several different targets, you can also configure this on a per
      target basis by using a group name:
          [iscsi "iqn.target.name"]
          ...
      
      The configuration file can be read using -readconfig.
      Example :
      qemu-system-i386 -drive file=iscsi://127.0.0.1/iqn.ronnie.test/1
       -readconfig iscsi.conf
      Signed-off-by: NRonnie Sahlberg <ronniesahlberg@gmail.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      f9dadc98
  15. 07 2月, 2012 1 次提交
  16. 02 2月, 2012 3 次提交
  17. 26 1月, 2012 1 次提交
  18. 22 1月, 2012 1 次提交
  19. 19 1月, 2012 1 次提交
  20. 04 1月, 2012 3 次提交
  21. 23 12月, 2011 1 次提交
    • V
      Set numa topology for max_cpus · 991dfefd
      Vasilis Liaskovitis 提交于
      qemu-kvm passes numa/SRAT topology information for smp_cpus to SeaBIOS. However
      SeaBIOS always expects to setup max_cpus number of SRAT cpu entries
      (MaxCountCPUs variable in build_srat function of Seabios). When qemu-kvm runs
      with smp_cpus != max_cpus (e.g. -smp 2,maxcpus=4), Seabios will mistakenly use
      memory SRAT info for setting up CPU SRAT entries for the offline CPUs. Wrong
      SRAT memory entries are also created. This breaks NUMA in a guest.
      Fix by setting up SRAT info for max_cpus in qemu-kvm.
      Signed-off-by: NVasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      991dfefd
  22. 21 12月, 2011 1 次提交
  23. 20 12月, 2011 3 次提交
  24. 15 12月, 2011 1 次提交
  25. 02 12月, 2011 1 次提交
  26. 29 11月, 2011 2 次提交
  27. 12 11月, 2011 1 次提交
  28. 11 11月, 2011 1 次提交