Skip to content
Snippets Groups Projects
  1. Apr 07, 2022
  2. Jun 12, 2019
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
  3. Sep 27, 2018
    • Peter Wu's avatar
      qxl: support mono cursors with inverted colors · 36ffc122
      Peter Wu authored
      Monochrome cursors are still used by Windows guests with the
      QXL-WDDM-DOD driver. Such cursor types have one odd feature, inversion
      of colors. GDK does not seem to support it, so implement an alternative
      solution: fill the inverted pixels and add an outline to make the cursor
      more visible. Tested with the text cursor in Notepad and Windows 10.
      
      cursor_set_mono is also used by the vmware GPU, so add a special check
      to avoid breaking its 32bpp format (tested with Kubuntu 14.04.4). I was
      unable to find a guest which supports the 1bpp format with a vmware GPU.
      
      The old implementation was buggy and removed in v2.10.0-108-g79c5a10cdd
      ("qxl: drop mono cursor support"), this version improves upon that by
      adding bounds validation, clarifying the semantics of the two masks and
      adds a workaround for inverted colors support.
      
      Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1611984
      
      
      Signed-off-by: default avatarPeter Wu <peter@lekensteyn.nl>
      Message-id: 20180903145447.17142-1-peter@lekensteyn.nl
      
      [ kraxel: minor codestyle fix ]
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      36ffc122
  4. Jan 22, 2018
  5. Aug 31, 2017
  6. Jun 20, 2016
    • Eduardo Habkost's avatar
      coccinelle: Remove unnecessary variables for function return value · 9be38598
      Eduardo Habkost authored
      
      Use Coccinelle script to replace 'ret = E; return ret' with
      'return E'. The script will do the substitution only when the
      function return type and variable type are the same.
      
      Manual fixups:
      
      * audio/audio.c: coding style of "read (...)" and "write (...)"
      * block/qcow2-cluster.c: wrap line to make it shorter
      * block/qcow2-refcount.c: change indentation of wrapped line
      * target-tricore/op_helper.c: fix coding style of
        "remainder|quotient"
      * target-mips/dsp_helper.c: reverted changes because I don't
        want to argue about checkpatch.pl
      * ui/qemu-pixman.c: fix line indentation
      * block/rbd.c: restore blank line between declarations and
        statements
      
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <1465855078-19435-4-git-send-email-ehabkost@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      [Unused Coccinelle rule name dropped along with a redundant comment;
      whitespace touched up in block/qcow2-cluster.c; stale commit message
      paragraph deleted]
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      9be38598
  7. Feb 04, 2016
    • Peter Maydell's avatar
      ui: Clean up includes · e16f4c87
      Peter Maydell authored
      
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1454089805-5470-2-git-send-email-peter.maydell@linaro.org
      e16f4c87
  8. Dec 19, 2012
  9. Mar 07, 2012
  10. Aug 21, 2011
  11. May 24, 2010
Loading