1. 22 1月, 2013 2 次提交
    • A
      qxl: change rom size to 8192 · 038c1879
      Alon Levy 提交于
      This is a simpler solution to 869981, where migration breaks since qxl's
      rom bar size has changed. Instead of ignoring fields in QXLRom, which is what has
      actually changed, we remove some of the modes, a mechanism already
      accounted for by the guest. The modes left allow for portrait and
      landscape only modes, corresponding to orientations 0 and 1.
      Orientations 2 and 3 are dropped.
      
      Added assert so that rom size will fit the future QXLRom increases via
      spice-protocol changes.
      
      This patch has been tested with 6.1.0.10015. With the newer 6.1.0.10016
      there are problems with both "(flipped)" modes prior to the patch, and
      the patch loses the ability to set "Portrait" modes. But this is a
      separate bug to be fixed in the driver, and besides the patch doesn't
      affect the new arbitrary mode setting functionality.
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      038c1879
    • A
      e0ac6097
  2. 14 1月, 2013 2 次提交
  3. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  4. 19 12月, 2012 3 次提交
  5. 29 11月, 2012 1 次提交
  6. 05 11月, 2012 5 次提交
  7. 01 11月, 2012 1 次提交
    • G
      console: untangle gfx & txt updates · a93a4a22
      Gerd Hoffmann 提交于
      Stop abusing displaysurface fields for text mode displays.
      (bpp = 0, width = cols, height = lines).
      
      Add flags to displaystate indicating whenever text mode display
      (curses) or gfx mode displays (sdl, vnc, ...) are present.
      
      Add separate displaychangelistener callbacks for text / gfx mode
      resize & updates.
      
      This allows to enable gfx and txt diplays at the same time and also
      paves the way for more cleanups in the future.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a93a4a22
  8. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  9. 08 10月, 2012 6 次提交
  10. 13 9月, 2012 3 次提交
  11. 12 9月, 2012 5 次提交
  12. 06 9月, 2012 2 次提交
  13. 05 9月, 2012 7 次提交
  14. 22 6月, 2012 1 次提交