1. 24 6月, 2012 29 次提交
  2. 22 6月, 2012 7 次提交
  3. 21 6月, 2012 2 次提交
  4. 20 6月, 2012 2 次提交
    • C
      Allow machines to configure the QEMU_VERSION that's exposed via hardware · 93bfef4c
      Crístian Viana 提交于
      QEMU exposes its version to the guest's hardware and in some cases that is wrong
      (e.g. Windows prints messages about driver updates when you switch
      the QEMU version).
      There is a new field now on the struct QEmuMachine, hw_version, which may
      contain the version that the specific machine should report. If that field is
      set, then that machine will report that version to the guest.
      Signed-off-by: NCrístian Viana <vianac@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      93bfef4c
    • G
      Add PIIX4 properties to control PM system states. · 459ae5ea
      Gleb Natapov 提交于
      This patch adds two things. First it allows QEMU to distinguish between
      regular powerdown and S4 powerdown. Later separate QMP notification will
      be added for S4 powerdown. Second it allows S3/S4 states to be disabled
      from QEMU command line. Some guests known to be broken with regards to
      power management, but allow to use it anyway. Using new properties
      management will be able to disable S3/S4 for such guests.
      
      Supported system state are passed to a firmware using new fw_cfg file.
      The file contains  6 byte array. Each byte represents one system
      state. If byte at offset X has its MSB set it means that system state
      X is supported and to enter it guest should use the value from lowest 3
      bits.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      459ae5ea