qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 134d42: acpi-build: fix support for glib < 2.


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 134d42: acpi-build: fix support for glib < 2.22
Date: Mon, 25 Nov 2013 21:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 134d42d614768b2803e551621f6654dab1fdc2d2
      
https://github.com/qemu/qemu/commit/134d42d614768b2803e551621f6654dab1fdc2d2
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: fix support for glib < 2.22

glib < 2.22 does not have g_array_get_element_size,
limit it's use (to check all elements are 1 byte
in size) to newer glib.

This fixes build on RHEL 5.3.

Reported-by: Richard Henderson <address@hidden>
Reported-by: Erik Rull <address@hidden>
Tested-by: Richard Henderson <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 455df3f32341a3dff00f1726ff0749b3dd783bdf
      
https://github.com/qemu/qemu/commit/455df3f32341a3dff00f1726ff0749b3dd783bdf
  Author: Alexander Graf <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M hw/ppc/ppc_booke.c

  Log Message:
  -----------
  PPC: Make BookE FIT/WDT timers more lazy

Today we fire FIT and WDT timer events every time the respective bit
position in TB flips from 0 -> 1.

However, there is no need to do this if the end result would be that
we're changing a TSR bit that is set to 1 to 1 again. No guest visible
change would have occured.

So whenever we see that the TSR bit to our timer is already set, don't
even bother to update the timer that would potentially fire it off.

However, we do need to make sure that we update our timer that notifies
us of the TB flip when the respective TSR bit gets unset. In that case
we do care about the flip and need to notify the guest again. So add
a callback into our timer handlers when TSR bits get unset.

This improves performance for me when the guest is busy processing things.

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


  Commit: 84dc96e1e51c74ebf40b6c5e0c383769402e1a2d
      
https://github.com/qemu/qemu/commit/84dc96e1e51c74ebf40b6c5e0c383769402e1a2d
  Author: Alexander Graf <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M hw/ppc/ppc_booke.c

  Log Message:
  -----------
  PPC: BookE: Make FIT/WDT timers at best millisecond grained

The default granularity for the FIT timer on 440 is on every 0x1000th
transition of TB from 0 to 1. Translated that means 48828 times a second.

Since interrupts are quite expensive for 440 and we don't really care
about the accuracy of the FIT to that significance, let's force FIT and
WDT to at best millisecond granularity.

This basically restores behavior as it was in QEMU 1.6, where timers
could only deal with millisecond granularities at all.

This patch greatly improves performance with the 440 target and restores
roughly the same performance level that QEMU 1.6 had for me.

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


  Commit: 16f4e8fa737b58b7b0461b33581e43ac06991110
      
https://github.com/qemu/qemu/commit/16f4e8fa737b58b7b0461b33581e43ac06991110
  Author: Stefan Weil <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  qga: Fix two format strings for MinGW

Both code locations cause a compiler warning. Using "%s" instead of "%lu"
would result in a program crash if the wrong code were executed.

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


  Commit: 032ac6f8bfb68746cb0eea407b1cd2b22a78898f
      
https://github.com/qemu/qemu/commit/032ac6f8bfb68746cb0eea407b1cd2b22a78898f
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M ui/curses.c

  Log Message:
  -----------
  curses: fixup SIGWINCH handler mess

Don't run code in the signal handler, only set a flag.
Use sigaction(2) to avoid non-portable signal(2) semantics.
Make #ifdefs less messy.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7457fe9541b5162f285454947448d553a5d5a531
      
https://github.com/qemu/qemu/commit/7457fe9541b5162f285454947448d553a5d5a531
  Author: Anthony Liguori <address@hidden>
  Date:   2013-11-25 (Mon, 25 Nov 2013)

  Changed paths:
    M VERSION

  Log Message:
  -----------
  Update version for v1.7.0-rc2 release


Compare: https://github.com/qemu/qemu/compare/c0caec178ead...7457fe9541b5

reply via email to

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