Statistics
| Branch: | Revision:

root / hw / display @ a8aec295

# Date Author Comment
9fbbf0d1 06/24/2013 10:33 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v71' into staging

  1. By Gerd Hoffmann (1) and Hans de Goede (1)
  2. Via Gerd Hoffmann
    • spice/spice.v71:
      spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850)
      qxl: fix Coverity scan SIGN_EXTENSION error...
bfc10122 06/24/2013 09:23 am Gerd Hoffmann

qxl: fix Coverity scan SIGN_EXTENSION error

Cc: Markus Armbruster <>
Signed-off-by: Gerd Hoffmann <>

329f97fc 06/21/2013 09:52 pm Anthony PERARD

qxl: Fix QXLRam initialisation.

The qxl driver expect NULL for QXLRam.memory_configs, but this is never
initialized.

If memory is set to 0xc2c2.., it leads to a spice-critical error when
trying to start qxl.

Signed-off-by: Anthony PERARD <>...

052e87b0 06/20/2013 05:32 pm Paolo Bonzini

memory: make section size a 128-bit integer

So far, the size of all regions passed to listeners could fit in 64 bits,
because artificial regions (containers and aliases) are eliminated by
the memory core, leaving only device regions which have reasonable sizes...

db895a1e 06/07/2013 01:14 pm Andreas Färber

isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <>

7087d3df 06/03/2013 04:37 pm Anthony Liguori

Merge remote-tracking branch 'mjt/trivial-patches' into staging

  1. By Ed Maste (3) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      do not check pointers after dereferencing them
      m25p80: Add Micron n25q032a
      qemu: fix out of tree cross compile...
f10acc8b 06/02/2013 07:45 pm Mark Cave-Ayland

tcx: Fix 24-bit display mode

Commit d08151bf (conversion of tcx to the memory API) broke the 24-bit mode of
the tcx display adapter by accidentally passing in the final address of the
dirty region to memory_region_reset_dirty() instead of its size.

Signed-off-by: Mark Cave-Ayland <>...

6681fca3 06/01/2013 01:25 pm Stefan Weil

Remove unnecessary break statements

Fix these warnings from cppcheck:

hw/display/cirrus_vga.c:2603:
hw/sd/sd.c:348:
hw/timer/exynos4210_mct.c:1033:
target-arm/translate.c:9886:
target-s390x/mem_helper.c:518:
target-unicore32/translate.c:1936:
style: Consecutive return, break, continue, goto or throw statements are unnecessary....

0a2b5e3a 05/09/2013 12:46 pm Hans de Goede

qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode

With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs to
know what part of the primary to use for each monitor. If the guest driver
does not support this, the server sends messages to the client for a...

a72dc5fc 04/29/2013 04:27 pm Andreas Färber

vga-isa: QOM'ify ISA VGA

Introduce type constant and cast macro to obsolete DO_UPCAST() and
container_of(). Prepares for ISA realizefn.

Unify function naming scheme while at it.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>...

6d4c2f17 04/29/2013 04:27 pm Andreas Färber

cirrus_vga: QOM'ify ISA Cirrus VGA

Introduce type constant and cast macro to obsolete DO_UPCAST().

Prepares for ISA realizefn.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>
Message-id: ...

95be0669 04/25/2013 10:45 pm Gerd Hoffmann

console: qom-ify QemuConsole

Just the minimal bits to turn QemuConsoles into Objects.

Signed-off-by: Gerd Hoffmann <>

aa2beaa1 04/25/2013 10:45 pm Gerd Hoffmann

console: add device link to QemuConsoles

So it is possible to figure which qemu console displays which device.

Signed-off-by: Gerd Hoffmann <>

5209089f 04/25/2013 10:45 pm Gerd Hoffmann

console: zap ds arg from register_displaychangelistener

We don't have multiple DisplayStates any more,
so passing it in as argument is not needed.

Signed-off-by: Gerd Hoffmann <>

21e5181f 04/20/2013 08:54 pm Peter Maydell

qdev: Drop taddr properties

Drop all the infrastructure for taddr properties (ie ones which
are 'hwaddr' sized). These are now unused, and any further desired
use would be rather questionable since device properties shouldn't
generally depend on a type that is conceptually variable based on...

19298eca 04/20/2013 08:54 pm Peter Maydell

hw/sm501: Use correct setter for sysbus-ohci dma-address property

The sysbus-ohci dma-address property is declared as a HEX64
property, not a TADDR, so use the correct setter for it.

Signed-off-by: Peter Maydell <>
Acked-by: Andreas Färber <>...

e1fe50dc 04/19/2013 12:36 pm Stefan Weil

Remove unneeded type casts

cpu_physical_memory_read, cpu_physical_memory_write take any pointer
as 2nd argument without needing a type cast.

Signed-off-by: Stefan Weil <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Stefan Hajnoczi <>

2b6b7099 04/18/2013 03:12 pm Paolo Bonzini

configure: eliminate target_libs_softmmu

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

6f8111a1 04/16/2013 06:28 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v69' into staging

  1. By Hans de Goede (5) and others
  2. Via Gerd Hoffmann
    • spice/spice.v69:
      spice-qemu-char: vmc_write: Don't write more bytes then we're asked too
      spice-qemu-char: Remove intermediate buffer
      spice-qemu-char: Add watch support...
8bb9f51c 04/16/2013 12:52 pm Alon Levy

spice: (32 bit only) fix surface cmd tracking destruction

No change for 64 bit arches, but for 32 bit previously we zeroed half
the surfaces cmd array, instead of all of it.

Signed-off-by: Alon Levy <>
Signed-off-by: Gerd Hoffmann <>

5c74fb27 04/16/2013 12:52 pm Gerd Hoffmann

qxl: add 2000x2000 and 2048x2048 video modes

Signed-off-by: Gerd Hoffmann <>

bfe528b9 04/16/2013 10:26 am Gerd Hoffmann

qxl: register QemuConsole for secondary cards

Hook secondary qxl cards properly into the qemu console subsystem.

Signed-off-by: Gerd Hoffmann <>

dea1b0bd 04/16/2013 10:26 am Gerd Hoffmann

xen: re-enable refresh interval reporting for xenfb

xenfb informs the guest about the gui refresh interval so it can avoid
pointless work. That logic was temporarely disabled for the
DisplayState reorganization. Restore it now, with a proper interface
for it....

284d1c6b 04/16/2013 10:26 am Gerd Hoffmann

console: allow pinning displaychangelisteners to consoles

DisplayChangeListener gets a new QemuConsole field, which can be set to
non-NULL before registering. This will pin the QemuConsole, so that
particular DisplayChangeListener will not follow console switches....

d4bcb199 04/16/2013 10:03 am Gerd Hoffmann

qxl: add 4k + 8k resolutions

Signed-off-by: Gerd Hoffmann <>

380cd056 04/16/2013 10:03 am Gerd Hoffmann

console: add GraphicHwOps

Pass a single GraphicHwOps struct pointer to graphic_console_init,
instead of a bunch of function pointers.

Signed-off-by: Gerd Hoffmann <>

1dbfa005 04/16/2013 10:03 am Gerd Hoffmann

console: rename vga_hw_*, add QemuConsole param

Add QemuConsole parameter to vga_hw_*, so the interface allows to update
non-active consoles (the actual code can't handle this yet, see next
patch). Passing NULL is allowed and updates the active console, like...

2c62f08d 04/16/2013 10:03 am Gerd Hoffmann

console: simplify screendump

Screendumps are alot simpler as we can update non-active
QemuConsoles now. So we only need to update the QemuConsole
we want write out, then dump the DisplaySurface content into
a ppm file. Done.

No console switching needed. No special support code in the...

7a6404cd 04/16/2013 10:03 am Gerd Hoffmann

hw/vmware_vga.c: add tracepoints for mmio reads+writes

Signed-off-by: Gerd Hoffmann <>

eb2f9b02 04/16/2013 10:03 am Gerd Hoffmann

hw/vmware_vga.c: various vmware vga fixes.

Hardcode depth to 32 bpp. It effectively was that way before because
that is the default surface depth, this just makes it explicit in the
code.

Rename depth to new_depth to make it consistent with the new_width +...

522fccbe 04/16/2013 10:03 am Igor Mitsyanko

exynos4210_fimd.c: fix display resize bug introduced after console revamp

In exynos4210 display update function, we were acquiring DisplaySurface
pointer before calling screen resize function, not paying attention that resize
procedure can replace current DisplaySurface with newly allocated one....

17866fc8 04/16/2013 10:03 am Igor Mitsyanko

hw/vmware_vga.c: fix screen resize bug introduced after console revamp

In vmsvga display update function, a pointer to DisplaySurface must be acquired
after a call to vmsvga_check_size since this function might replace current
DisplaySurface with a new one....

dccfcd0e 04/15/2013 07:19 pm Paolo Bonzini

sysemu: avoid proliferation of include/ subdirectories

Signed-off-by: Paolo Bonzini <>

bd2be150 04/15/2013 04:16 pm Peter Maydell

arm: fix location of some include files

The recent rearrangement of include files had some minor errors:
devices.h is not ARM specific and should not be in arm/
arm.h should be in arm/

Move these two headers to correct this.

Signed-off-by: Peter Maydell <>...

47b43a1f 04/08/2013 07:13 pm Paolo Bonzini

hw: move private headers to hw/ subdirectories.

Many headers are used only in a single directory. These can be
kept in hw/.

Signed-off-by: Paolo Bonzini <>

fc97bb5b 04/08/2013 07:13 pm Paolo Bonzini

hw: move display devices to hw/display/, configure via default-configs/

Signed-off-by: Paolo Bonzini <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>

1fd6bb44 04/08/2013 07:13 pm Paolo Bonzini

hw: make subdirectories for devices

Prepare the new directory structure.

Signed-off-by: Paolo Bonzini <>