qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 21ad77: target-i386: Fix including "host" in


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 21ad77: target-i386: Fix including "host" in -cpu ? output
Date: Tue, 16 Apr 2013 09:30:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 21ad77892d321f15325d77f6fab700864af61f49
      
https://github.com/qemu/qemu/commit/21ad77892d321f15325d77f6fab700864af61f49
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Fix including "host" in -cpu ? output

kvm_enabled() cannot be true at this point because accelerators are
initialized much later during init. Also, hiding this makes it very hard
to discover for users. Simply dump unconditionally if CONFIG_KVM is set.

Add explanation for "host" CPU type.

Signed-off-by: Jan Kiszka <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3af60be28c35257e3ad1fc6ef1c415b09bdc8545
      
https://github.com/qemu/qemu/commit/3af60be28c35257e3ad1fc6ef1c415b09bdc8545
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Improve -cpu ? features output

We were missing a bunch of feature lists. Fix this by simply dumping
the meta list feature_word_info.

Signed-off-by: Jan Kiszka <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 72cc5137759ce1393c9eeac81b677947d618351d
      
https://github.com/qemu/qemu/commit/72cc5137759ce1393c9eeac81b677947d618351d
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M hw/core/qdev-properties.c
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Add qdev property for bool type

Signed-off-by: Igor Mammedov <address@hidden>
[AF: Use new qdev_prop_set_after_realize()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4dc1f449ab22bb79ea3894bd90b154c30d73573e
      
https://github.com/qemu/qemu/commit/4dc1f449ab22bb79ea3894bd90b154c30d73573e
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Consolidate error propagation in x86_cpu_realizefn()

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d3c64d6a1874f94246af91963927fb4d924332f1
      
https://github.com/qemu/qemu/commit/d3c64d6a1874f94246af91963927fb4d924332f1
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Split APIC creation from initialization in x86_cpu_realizefn()

When APIC is hotplugged during CPU hotplug, device_set_realized()
calls device_reset() on it. And if QEMU runs in KVM mode, following
call chain will fail:
    apic_reset_common()
  -> kvm_apic_vapic_base_update()
      -> kvm_vcpu_ioctl(cpu->kvm_fd,...)
due to cpu->kvm_fd not being initialized yet.

cpu->kvm_fd is initialized during qemu_init_vcpu() but x86_cpu_apic_init()
can't be moved after it because kvm_init_vcpu() -> kvm_arch_reset_vcpu()
relies on APIC to determine if CPU is BSP for setting initial env->mp_state.

So split APIC device creation from its initialization and realize APIC
after CPU is created, when it's safe to call APIC's reset method.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: liguang <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f1fc3e66581f638ba72d93c1a4912cfa573dd187
      
https://github.com/qemu/qemu/commit/f1fc3e66581f638ba72d93c1a4912cfa573dd187
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M hw/i386/kvmvapic.c

  Log Message:
  -----------
  kvmvapic: Replace FROM_SYSBUS() with QOM type cast

... and define type name and type cast macro for kvmvapic according
to accepted convention.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f16a69f7fce97186fd352c79201b1d0145c02d66
      
https://github.com/qemu/qemu/commit/f16a69f7fce97186fd352c79201b1d0145c02d66
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M hw/intc/ioapic_common.c

  Log Message:
  -----------
  ioapic: Replace FROM_SYSBUS() with QOM type cast

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: dd13e08804c8c33c6021c0e27787422534d3b321
      
https://github.com/qemu/qemu/commit/dd13e08804c8c33c6021c0e27787422534d3b321
  Author: Eduardo Habkost <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386/cpu.c: Coding style fixes

 * Add braces to 'if' statements;
 * Remove last TAB character from the source.

Signed-off-by: Eduardo Habkost <address@hidden>
[AF: Changed whitespace]
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 7f833247df4b68719413b5dccc5f84944f442cb3
      
https://github.com/qemu/qemu/commit/7f833247df4b68719413b5dccc5f84944f442cb3
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/cpu.h

  Log Message:
  -----------
  target-i386: Split out CPU creation and features parsing

Move CPU creation and features parsing into a separate cpu_x86_create()
function, so that board would be able to set board-specific CPU
properties before CPU is realized.

Keep cpu_x86_init() for compatibility with the code that uses cpu_init()
and doesn't need to modify CPU properties.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3f24a58fa7dacd82cb72393367be207b0dab16b4
      
https://github.com/qemu/qemu/commit/3f24a58fa7dacd82cb72393367be207b0dab16b4
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M cpus.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  cpu: Pass CPUState to *cpu_synchronize_post*()

... so it could be called without requiring CPUArchState.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a7ddba527c0b9dd32dfa7e35fa41701f990a3db4
      
https://github.com/qemu/qemu/commit/a7ddba527c0b9dd32dfa7e35fa41701f990a3db4
  Author: Igor Mammedov <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  qdev: Set device's parent before calling realize() down inheritance chain

Currently device_set_realized() sets parent only after device was realized,
but qdev_device_add() sets it before device is realized.
Make behavior consistent and alter device_set_realized() to behave like
qdev_device_add().

It will allow to set link<> properties in realize() method in classes
inherited from DEVICE.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b21bfeead284cf212d88dfa25171fee122407bc2
      
https://github.com/qemu/qemu/commit/b21bfeead284cf212d88dfa25171fee122407bc2
  Author: Andreas Färber <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c

  Log Message:
  -----------
  target-cris: Override do_interrupt for pre-v32 CPU cores

Instead of forwarding from cris_cpu_do_interrupt() to do_interruptv10(),
override CPUClass::do_interrupt with crisv10_cpu_do_interrupt() in the
newly introduced class_init functions.

Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 522fccbe71e35efc96f66cb475f778c2ce02e9fc
      
https://github.com/qemu/qemu/commit/522fccbe71e35efc96f66cb475f778c2ce02e9fc
  Author: Igor Mitsyanko <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/exynos4210_fimd.c

  Log Message:
  -----------
  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.
Right thing to do is to initialize DisplaySurface AFTER a call to resize 
function.

Signed-off-by: Igor Mitsyanko <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 17866fc888445ec7d2568645df45bb47e6be01de
      
https://github.com/qemu/qemu/commit/17866fc888445ec7d2568645df45bb47e6be01de
  Author: Igor Mitsyanko <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/vmware_vga.c

  Log Message:
  -----------
  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.

Signed-off-by: Igor Mitsyanko <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7a6404cd8be97d73d1fc272dda82445c19f05aa1
      
https://github.com/qemu/qemu/commit/7a6404cd8be97d73d1fc272dda82445c19f05aa1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/vmware_vga.c
    M trace-events

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

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: eb2f9b024d68884a3b25e63e4dbf90b67f8da236
      
https://github.com/qemu/qemu/commit/eb2f9b024d68884a3b25e63e4dbf90b67f8da236
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/vmware_vga.c
    M trace-events

  Log Message:
  -----------
  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 +
new_height names.  In theory we can make new_depth changeable (i.e.
allow the guest to fill in -- say -- 16 there).  In practice the guests
don't try, the X-Server refuses to start if you ask it to use 16bpp
depth (via DefaultDepth in the Screen section).

Always return the correct rmask+gmask+bmask values for the given
new_depth.

Fix mode setting to also verify at new_depth to make sure we have a
correct DisplaySurface, even if the current video mode happes to be
16bpp (set by vgabios via bochs vbe interface).  While being at it
switch over to use qemu_create_displaysurface_from, so the surface is
backed by guest-visible video memory and we save a memcpy.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 867c538f988d326f6b447acde867e5de5a5014a0
      
https://github.com/qemu/qemu/commit/867c538f988d326f6b447acde867e5de5a5014a0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/qemu-pixman.c

  Log Message:
  -----------
  pixman: add qemu_pixman_color()

Helper function to map qemu colors (32bit integer + matching PixelFormat)
into pixman_color_t.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b762795257353760e8c69e144188ef7ab2b84c37
      
https://github.com/qemu/qemu/commit/b762795257353760e8c69e144188ef7ab2b84c37
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/qemu-pixman.c

  Log Message:
  -----------
  pixman: render vgafont glyphs into pixman images

Add helper functions to create pixman mask images for glyphs
and to render these glyphs into a pixman image.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 68db6dc5310df9bb0d8d4ed8f5138b0c5c6415be
      
https://github.com/qemu/qemu/commit/68db6dc5310df9bb0d8d4ed8f5138b0c5c6415be
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: use pixman for fill+blit

Zap homegrown pixel shuffeling code, use pixman calls instead.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7d6ba01c3741bc32ae252bf64a5fd3f930c2df4f
      
https://github.com/qemu/qemu/commit/7d6ba01c3741bc32ae252bf64a5fd3f930c2df4f
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: use pixman for font rendering

Zap homegrown font rendering code, use pixman calls instead.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e27bd65a72dece59e93914d3ffa8653ce0c70511
      
https://github.com/qemu/qemu/commit/e27bd65a72dece59e93914d3ffa8653ce0c70511
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: switch color_table_rgb to pixman_color_t

Now that all text console rendering uses pixman we can easily
switch the color tables to use pixman_color_t directly.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 437fe1061be3da49b0b05ed2f0c9c50e2255c3fe
      
https://github.com/qemu/qemu/commit/437fe1061be3da49b0b05ed2f0c9c50e2255c3fe
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M trace-events
    M ui/console.c

  Log Message:
  -----------
  console: add trace events

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 64840c66b702cc4c809c72d8ad5d26861dd7fd8d
      
https://github.com/qemu/qemu/commit/64840c66b702cc4c809c72d8ad5d26861dd7fd8d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M ui/console.c
    M vl.c

  Log Message:
  -----------
  console: displaystate init revamp

We have only one DisplayState, so there is no need for the "next"
linking, rip it.  Also consolidate all displaystate initialization
into init_displaystate().  This function is called by vl.c after
creating the devices (and thus all QemuConsoles) and before
initializing DisplayChangeListensers (aka gtk/sdl/vnc/spice ui).

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1dbfa005032d4fa5d7a5242da856d3487c907431
      
https://github.com/qemu/qemu/commit/1dbfa005032d4fa5d7a5242da856d3487c907431
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/cirrus_vga.c
    M hw/display/qxl.c
    M hw/display/vga.c
    M hw/display/vga_int.h
    M include/ui/console.h
    M ui/console.c
    M ui/curses.c
    M ui/gtk.c
    M ui/sdl.c
    M ui/spice-display.c
    M ui/vnc.c

  Log Message:
  -----------
  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
the functions do today.

While touching all vga_hw_* calls anyway rename that to the functions to
hardware-neutral graphics_hw_*

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 321f048d248472f1e90559976bb917d869981c68
      
https://github.com/qemu/qemu/commit/321f048d248472f1e90559976bb917d869981c68
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  console: give each QemuConsole its own DisplaySurface

Go away from the global DisplaySurface, give one to each QemuConsole
instead.  With this patch applied it is possible to call
graphics_hw_* functions with qemu consoles which are not the current
foreground console.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2c62f08ddbf3fa80dc7202eb9a2ea60ae44e2cc5
      
https://github.com/qemu/qemu/commit/2c62f08ddbf3fa80dc7202eb9a2ea60ae44e2cc5
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/arm/musicpal.c
    M hw/display/blizzard.c
    M hw/display/cirrus_vga.c
    M hw/display/exynos4210_fimd.c
    M hw/display/g364fb.c
    M hw/display/jazz_led.c
    M hw/display/milkymist-vgafb.c
    M hw/display/omap_lcdc.c
    M hw/display/pl110.c
    M hw/display/pxa2xx_lcd.c
    M hw/display/qxl.c
    M hw/display/sm501.c
    M hw/display/ssd0303.c
    M hw/display/ssd0323.c
    M hw/display/tc6393xb.c
    M hw/display/tcx.c
    M hw/display/vga-isa-mm.c
    M hw/display/vga-isa.c
    M hw/display/vga-pci.c
    M hw/display/vga.c
    M hw/display/vga_int.h
    M hw/display/vmware_vga.c
    M hw/display/xenfb.c
    M hw/unicore32/puv3.c
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  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
gfx card emulation needed.  Zap it all.  Also move ppm_save
out of the vga code and next to the qmp_screendump function.

For now screen dumping is limited to console #0 (like it used
to be), even though it is dead simple to extend it to other
consoles.  I wanna finish the console cleanup before setting
new qapi interfaces into stone.

Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Igor Mitsyanko <address@hidden>


  Commit: 36671fbd06f31efc592c37acda3f8a75599e48e0
      
https://github.com/qemu/qemu/commit/36671fbd06f31efc592c37acda3f8a75599e48e0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: zap g_width + g_height

We have a surface per QemuConsole now, so there is no need to keep
track of the QemuConsole size any more as we can query the surface
size directly at any time.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 98a9ad9082284df62fb5b9355dd1901639de8268
      
https://github.com/qemu/qemu/commit/98a9ad9082284df62fb5b9355dd1901639de8268
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M ui/console.c
    M vl.c

  Log Message:
  -----------
  console: move gui_update+gui_setup_refresh from vl.c into console.c

Pure code motion, no functional changes.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 27be55872dd747c733a42a3d90864d9f59272d26
      
https://github.com/qemu/qemu/commit/27be55872dd747c733a42a3d90864d9f59272d26
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  console: make DisplayState private to console.c

With gui_* being moved to console.c nobody outside console.c needs
access to DisplayState fields any more.  Make the struct private.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 380cd056ec0e7fc8bbd553cdcb061d3ca612bb82
      
https://github.com/qemu/qemu/commit/380cd056ec0e7fc8bbd553cdcb061d3ca612bb82
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/arm/musicpal.c
    M hw/display/blizzard.c
    M hw/display/cirrus_vga.c
    M hw/display/exynos4210_fimd.c
    M hw/display/g364fb.c
    M hw/display/jazz_led.c
    M hw/display/milkymist-vgafb.c
    M hw/display/omap_lcdc.c
    M hw/display/pl110.c
    M hw/display/pxa2xx_lcd.c
    M hw/display/qxl.c
    M hw/display/sm501.c
    M hw/display/ssd0303.c
    M hw/display/ssd0323.c
    M hw/display/tc6393xb.c
    M hw/display/tcx.c
    M hw/display/vga-isa-mm.c
    M hw/display/vga-isa.c
    M hw/display/vga-pci.c
    M hw/display/vga.c
    M hw/display/vga_int.h
    M hw/display/vmware_vga.c
    M hw/display/xenfb.c
    M hw/unicore32/puv3.c
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  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 <address@hidden>


  Commit: 0f7b2864d0d0c3ef2801f9214d8c510c80a220d1
      
https://github.com/qemu/qemu/commit/0f7b2864d0d0c3ef2801f9214d8c510c80a220d1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M trace-events
    M ui/console.c
    M ui/sdl.c
    M ui/vnc.c
    M ui/vnc.h

  Log Message:
  -----------
  console: gui timer fixes

Make gui update rate adaption code in gui_update() actually work.
Sprinkle in a tracepoint so you can see the code at work.  Remove
the update rate adaption code in vnc and make vnc simply use the
generic bits instead.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d4bcb199fb15f9f079ef280e7e6f9ccdfaa49ced
      
https://github.com/qemu/qemu/commit/d4bcb199fb15f9f079ef280e7e6f9ccdfaa49ced
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: add 4k + 8k resolutions

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: dea1b0bdd8b0bb9d76a012fd0f234ba1768a4a93
      
https://github.com/qemu/qemu/commit/dea1b0bdd8b0bb9d76a012fd0f234ba1768a4a93
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/xenfb.c
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  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.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 81c0d5a66295024d0a42e3d28efcd102a32f93c3
      
https://github.com/qemu/qemu/commit/81c0d5a66295024d0a42e3d28efcd102a32f93c3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M include/ui/console.h
    M ui/console.c
    M ui/curses.c
    M ui/sdl.c
    M ui/vnc.c

  Log Message:
  -----------
  console: add qemu_console_is_*

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 284d1c6b3bf4ece6278f4b9831c7192e3777290c
      
https://github.com/qemu/qemu/commit/284d1c6b3bf4ece6278f4b9831c7192e3777290c
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/qxl.c
    M include/ui/console.h
    M include/ui/spice-display.h
    M ui/console.c
    M ui/gtk.c
    M ui/spice-display.c

  Log Message:
  -----------
  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.

spice+gtk (which don't support text console input anyway) are switched
over to be pinned to console 0, which usually is the graphical display.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9697f5d2d38e5dd1e64e8e0d64436e6d44e7b1fe
      
https://github.com/qemu/qemu/commit/9697f5d2d38e5dd1e64e8e0d64436e6d44e7b1fe
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: custom cursor support

Makes gtk ui play nicely with qxl (and vmware_svga)
as you can actually see your pointer now ;)

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: bfe528b9b99d52693a55f2b803039d68a97bcfb2
      
https://github.com/qemu/qemu/commit/bfe528b9b99d52693a55f2b803039d68a97bcfb2
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: register QemuConsole for secondary cards

Hook secondary qxl cards properly into the qemu console subsystem.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5c74fb27f94821057c7929a8244cabe86adf2b8d
      
https://github.com/qemu/qemu/commit/5c74fb27f94821057c7929a8244cabe86adf2b8d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: add 2000x2000 and 2048x2048 video modes

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 8bb9f51ca243551fb838a3a6a2983016ed2bbb73
      
https://github.com/qemu/qemu/commit/8bb9f51ca243551fb838a3a6a2983016ed2bbb73
  Author: Alon Levy <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: f9fb0532fb0c7155c0616614dc12ecccf93f8afb
      
https://github.com/qemu/qemu/commit/f9fb0532fb0c7155c0616614dc12ecccf93f8afb
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/char/virtio-console.c
    M include/hw/virtio/virtio-serial.h

  Log Message:
  -----------
  virtio-console: Also throttle when less was written then requested

This is necessary so that we get properly woken up to write the rest.

This patch also changes the len argument to the have_data callback, to
avoid doing an unsigned signed comparison.

Signed-off-by: Hans de Goede <address@hidden>
Acked-by: Amit Shah <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c3d6b96ebba18d016be26ffa475feea0d81801a2
      
https://github.com/qemu/qemu/commit/c3d6b96ebba18d016be26ffa475feea0d81801a2
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/char/virtio-console.c

  Log Message:
  -----------
  virtio-console: Remove any pending watches on close

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 52fe0e75b757c7c54fd3b967c9ff70d337790195
      
https://github.com/qemu/qemu/commit/52fe0e75b757c7c54fd3b967c9ff70d337790195
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M spice-qemu-char.c

  Log Message:
  -----------
  spice-qemu-char: Remove #ifdef-ed code for old spice-server compat

We now require spice-server to be >= 0.12.0 so this is no longer needed.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: ae893e5e818878caf433d716d37be9df297403fe
      
https://github.com/qemu/qemu/commit/ae893e5e818878caf433d716d37be9df297403fe
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M spice-qemu-char.c

  Log Message:
  -----------
  spice-qemu-char: Add watch support

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b010cec86b9a4a0b63162cd27e37c2d99e90ed66
      
https://github.com/qemu/qemu/commit/b010cec86b9a4a0b63162cd27e37c2d99e90ed66
  Author: Alon Levy <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M spice-qemu-char.c

  Log Message:
  -----------
  spice-qemu-char: Remove intermediate buffer

virtio-serial's buffer is valid when it calls us, and we don't
access it otherwise: vmc_read is only called in response to wakeup,
or else we set datalen=0 and throttle. Then vmc_read is called back,
we return 0 (not accessing the buffer) and set the timer to unthrottle.

Also make datalen int and not ssize_t (to fit spice_chr_write signature).

HdG: Update to apply to spice-qemu-char with new gio-channel based
flowcontrol support.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 75c439bc65c07d76f5e74c734ed5432bc6114a3b
      
https://github.com/qemu/qemu/commit/75c439bc65c07d76f5e74c734ed5432bc6114a3b
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M spice-qemu-char.c

  Log Message:
  -----------
  spice-qemu-char: vmc_write: Don't write more bytes then we're asked too

This one took me eons to debug, but I've finally found it now, oh well.

The usage of the MIN macro in this line:
    last_out = MIN(len, qemu_chr_be_can_write(scd->chr));

Causes qemu_chr_be_can_write to be called *twice*, since the MIN macro
evaluates its arguments twice (bad MIN macro, bad!). And the result of
the call can change between the 2 calls since the guest may have consumed
some data from the virtio ringbuffer between the calls!

When this happens it is possible for qemu_chr_be_can_write to return less
then len in the call made for the comparision, and then to return more then
len in the actual call for the return-value of MIN, after which we will end
up writing len data + some extra garbage, not good.

This patch fixes this by only calling qemu_chr_be_can_write once.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7598b41cfa13b2469b9411eee237a5c551e0ffaf
      
https://github.com/qemu/qemu/commit/7598b41cfa13b2469b9411eee237a5c551e0ffaf
  Author: Hans de Goede <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/dev-serial.c

  Log Message:
  -----------
  usb-serial: Remove double call to qemu_chr_add_handlers( NULL )

usb-serial has a qdev chardev property, and hw/qdev-properties-system.c
already contains:

static void release_chr(Object *obj, const char *name, void *opaque)
{
    DeviceState *dev = DEVICE(obj);
    Property *prop = opaque;
    CharDriverState **ptr = qdev_get_prop_ptr(dev, prop);
    CharDriverState *chr = *ptr;

    if (chr) {
  qemu_chr_add_handlers(chr, NULL, NULL, NULL, NULL);
  qemu_chr_fe_release(chr);
    }
}

So doing the qemu_chr_add_handlers(s->cs, NULL, NULL, NULL, NULL); from
the usb handle_destroy function too will lead to it being done twice.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 94ae9eece7c8192170a4159804e152fa32e9eacf
      
https://github.com/qemu/qemu/commit/94ae9eece7c8192170a4159804e152fa32e9eacf
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: remove leftover debug printf

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda
      
https://github.com/qemu/qemu/commit/6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: add xhci_cap_write

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: bdfce20df113522f389b4483ffd9d5b336e3c774
      
https://github.com/qemu/qemu/commit/bdfce20df113522f389b4483ffd9d5b336e3c774
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: fix portsc writes

Check for port reset first and skip everything else then.
Add sanity checks for PLS updates.
Add PLC notification when entering PLS_U0 state.

This gets host-initiated port resume going on win8.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: af203be36deb234550c3c8d2cbafbaef0f08ae1b
      
https://github.com/qemu/qemu/commit/af203be36deb234550c3c8d2cbafbaef0f08ae1b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: use slotid as device address

Is good enougth for unique device addresses and avoids the need for any
state for device addressing.  Makes live migration support easier.  Also
makes device->slot lookups trivial.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a67188743bc30a3ad1358b8cd0a2a3cb64c10ff9
      
https://github.com/qemu/qemu/commit/a67188743bc30a3ad1358b8cd0a2a3cb64c10ff9
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: fix address device

Zero-initialize the set-address dummy USBPacket,
also add buffer to avoid sanity checks triggering.

https://bugzilla.redhat.com/show_bug.cgi?id=929019

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2b2325ff6491224a42e1fec99b1c39fbc521c95c
      
https://github.com/qemu/qemu/commit/2b2325ff6491224a42e1fec99b1c39fbc521c95c
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M configure
    A hw/usb/host-libusb.c
    M hw/usb/host-linux.c
    M trace-events

  Log Message:
  -----------
  use libusb for usb-host

Reimplement usb-host on top of libusb.
Reasons to do this:

 (1) Largely rewritten from scratch, nice opportunity to kill historical
     cruft.
 (2) Offload usbfs handling to libusb.
 (3) Have a single portable code base instead of bsd + linux variants.
 (4) Bring usb-host support to any platform supported by libusbx.

For now this goes side-by-side to the existing code.  That is only to
simplify regression testing though, at the end of the day I want remove
the old code and support libusb exclusively.  Merge early in 1.5 cycle,
remove the old code after 1.5 release or something like this.

Thanks to qdev the old and new code can coexist nicely on linux.  Just
use "-device usb-host-linux" to use the old linux driver instead of the
libusb one (which takes over the "usb-host" name).

The bsd driver isn't qdev'ified so it isn't that easy for bsd.
I didn't bother making it runtime switchable, so you have to rebuild
qemu with --disable-libusb to get back the old code.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 398973fe1f92e65f39f6a26dacc07baa0da632fc
      
https://github.com/qemu/qemu/commit/398973fe1f92e65f39f6a26dacc07baa0da632fc
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M cpus.c
    M hw/core/qdev-properties.c
    M hw/core/qdev.c
    M hw/i386/kvmvapic.c
    M hw/intc/ioapic_common.c
    M include/hw/qdev-properties.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c
    M target-i386/cpu.c
    M target-i386/cpu.h

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber/qom-cpu' into staging

# By Igor Mammedov (8) and others
# Via Andreas Färber
* afaerber/qom-cpu:
  target-cris: Override do_interrupt for pre-v32 CPU cores
  qdev: Set device's parent before calling realize() down inheritance chain
  cpu: Pass CPUState to *cpu_synchronize_post*()
  target-i386: Split out CPU creation and features parsing
  target-i386/cpu.c: Coding style fixes
  ioapic: Replace FROM_SYSBUS() with QOM type cast
  kvmvapic: Replace FROM_SYSBUS() with QOM type cast
  target-i386: Split APIC creation from initialization in x86_cpu_realizefn()
  target-i386: Consolidate error propagation in x86_cpu_realizefn()
  qdev: Add qdev property for bool type
  target-i386: Improve -cpu ? features output
  target-i386: Fix including "host" in -cpu ? output


  Commit: 100c533220d70ae9732ba63142d71d1c48688f54
      
https://github.com/qemu/qemu/commit/100c533220d70ae9732ba63142d71d1c48688f54
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/arm/musicpal.c
    M hw/display/blizzard.c
    M hw/display/cirrus_vga.c
    M hw/display/exynos4210_fimd.c
    M hw/display/g364fb.c
    M hw/display/jazz_led.c
    M hw/display/milkymist-vgafb.c
    M hw/display/omap_lcdc.c
    M hw/display/pl110.c
    M hw/display/pxa2xx_lcd.c
    M hw/display/qxl.c
    M hw/display/sm501.c
    M hw/display/ssd0303.c
    M hw/display/ssd0323.c
    M hw/display/tc6393xb.c
    M hw/display/tcx.c
    M hw/display/vga-isa-mm.c
    M hw/display/vga-isa.c
    M hw/display/vga-pci.c
    M hw/display/vga.c
    M hw/display/vga_int.h
    M hw/display/vmware_vga.c
    M hw/display/xenfb.c
    M hw/unicore32/puv3.c
    M include/ui/console.h
    M include/ui/qemu-pixman.h
    M include/ui/spice-display.h
    M trace-events
    M ui/console.c
    M ui/curses.c
    M ui/gtk.c
    M ui/qemu-pixman.c
    M ui/sdl.c
    M ui/spice-display.c
    M ui/vnc.c
    M ui/vnc.h
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/pixman.v11' into staging

# By Gerd Hoffmann (22) and Igor Mitsyanko (2)
# Via Gerd Hoffmann
* kraxel/pixman.v11: (24 commits)
  qxl: register QemuConsole for secondary cards
  gtk: custom cursor support
  console: allow pinning displaychangelisteners to consoles
  console: add qemu_console_is_*
  xen: re-enable refresh interval reporting for xenfb
  console: gui timer fixes
  console: add GraphicHwOps
  console: make DisplayState private to console.c
  console: move gui_update+gui_setup_refresh from vl.c into console.c
  console: zap g_width + g_height
  console: simplify screendump
  console: give each QemuConsole its own DisplaySurface
  console: rename vga_hw_*, add QemuConsole param
  console: displaystate init revamp
  console: add trace events
  console: switch color_table_rgb to pixman_color_t
  console: use pixman for font rendering
  console: use pixman for fill+blit
  pixman: render vgafont glyphs into pixman images
  pixman: add qemu_pixman_color()
  ...

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6f8111a16d9cb3744a7b05726df28ee8cb6d8d30
      
https://github.com/qemu/qemu/commit/6f8111a16d9cb3744a7b05726df28ee8cb6d8d30
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/char/virtio-console.c
    M hw/display/qxl.c
    M include/hw/virtio/virtio-serial.h
    M spice-qemu-char.c

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

# By Hans de Goede (5) and others
# 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
  spice-qemu-char: Remove #ifdef-ed code for old spice-server compat
  virtio-console: Remove any pending watches on close
  virtio-console: Also throttle when less was written then requested
  spice: (32 bit only) fix surface cmd tracking destruction
  qxl: add 2000x2000 and 2048x2048 video modes
  qxl: add 4k + 8k resolutions

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 86c7dba0d0ed1e9e202f77f7414ce0faf2395a90
      
https://github.com/qemu/qemu/commit/86c7dba0d0ed1e9e202f77f7414ce0faf2395a90
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M configure
    M hw/usb/dev-serial.c
    M hw/usb/hcd-xhci.c
    A hw/usb/host-libusb.c
    M hw/usb/host-linux.c
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/usb.80' into staging

# By Gerd Hoffmann (6) and Hans de Goede (1)
# Via Gerd Hoffmann
* kraxel/usb.80:
  use libusb for usb-host
  xhci: fix address device
  xhci: use slotid as device address
  xhci: fix portsc writes
  xhci: add xhci_cap_write
  xhci: remove leftover debug printf
  usb-serial: Remove double call to qemu_chr_add_handlers( NULL )

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/095b9c4860b1...86c7dba0d0ed

reply via email to

[Prev in Thread] Current Thread [Next in Thread]