1. 26 11月, 2013 9 次提交
    • G
      curses: fixup SIGWINCH handler mess · 032ac6f8
      Gerd Hoffmann 提交于
      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: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Message-id: 1385130903-20531-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      032ac6f8
    • S
      qga: Fix two format strings for MinGW · 16f4e8fa
      Stefan Weil 提交于
      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: NStefan Weil <sw@weilnetz.de>
      Message-id: 1385409257-2522-1-git-send-email-sw@weilnetz.de
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      16f4e8fa
    • A
      PPC: BookE: Make FIT/WDT timers at best millisecond grained · 84dc96e1
      Alexander Graf 提交于
      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: NAlexander Graf <agraf@suse.de>
      Message-id: 1385416015-22775-3-git-send-email-agraf@suse.de
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      84dc96e1
    • A
      PPC: Make BookE FIT/WDT timers more lazy · 455df3f3
      Alexander Graf 提交于
      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: NAlexander Graf <agraf@suse.de>
      Message-id: 1385416015-22775-2-git-send-email-agraf@suse.de
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      455df3f3
    • M
      acpi-build: fix support for glib < 2.22 · 134d42d6
      Michael S. Tsirkin 提交于
      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: NRichard Henderson <rth@redhat.com>
      Reported-by: NErik Rull <erik.rull@rdsoftware.de>
      Tested-by: NRichard Henderson <rth@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-id: 20131125220039.GA16386@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      134d42d6
    • A
      Merge remote-tracking branch 'mst/tags/for_anthony' into staging · c0caec17
      Anthony Liguori 提交于
      pc very last minute fixes for 1.7
      
      This has a fix for a crasher bug with pci bridges,
      boot failure fix for s390 on 32 bit hosts,
      and fixes build for hosts with old glib.
      
      There's also a fix for --iasl configure flag - it can be used
      to work around broken iasl on some systems either
      by using a non-standard iasl or by disabling it.
      
      I've also reverted a e1000/rtl mac programming change
      that seems slightly wrong and too risky for 1.8.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Mon 25 Nov 2013 03:40:07 AM PST using RSA key ID D28D5469
      # gpg: Can't check signature: public key not found
      
      # By Michael S. Tsirkin (5) and Bandan Das (1)
      # Via Michael S. Tsirkin
      * mst/tags/for_anthony:
        configure: make --iasl option actually work
        Revert "e1000/rtl8139: update HMP NIC when every bit is written"
        acpi-build: fix build on glib < 2.14
        acpi-build: fix build on glib < 2.22
        pci: unregister vmstate_pcibus on unplug
        s390x: fix flat file load on 32 bit systems
      
      Message-id: 1385379990-32093-1-git-send-email-mst@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      c0caec17
    • A
      Merge remote-tracking branch 'bonzini/tags/for-anthony' into staging · d916adaa
      Anthony Liguori 提交于
      Here are a bunch of 1.7-tagged patches that I was afraid
      were getting forgotten or that did not have a clear maintainer responsible
      for making a pull request.
      
      # gpg: Signature made Thu 21 Nov 2013 08:40:59 AM PST using RSA key ID 9B4D86F2
      # gpg: Can't check signature: public key not found
      
      # By Peter Maydell (3) and others
      # Via Paolo Bonzini
      * bonzini/tags/for-anthony:
        qga: Fix compiler warnings (missing format attribute, wrong format strings)
        mips jazz: do not raise data bus exception when accessing invalid addresses
        target-i386: yield to another VCPU on PAUSE
        rng-egd: offset the point when repeatedly read from the buffer
        rng-egd: remove redundant free
        target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()
        vfio-pci: Fix multifunction=on
        atomic.h: Fix build with clang
        pc: get rid of builtin pvpanic for "-M pc-1.5"
        configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0
        sun4m: Add FCode ROM for TCX framebuffer
      
      Message-id: 1385052578-32352-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      d916adaa
    • A
      Merge remote-tracking branch 'mdroth/qga-pull-2013-11-22' into staging · 833637d4
      Anthony Liguori 提交于
      # By Tomoki Sekiyama
      # Via Michael Roth
      * mdroth/qga-pull-2013-11-22:
        qemu-ga: vss-win32: Install VSS provider COM+ application service
      
      Message-id: 1385154505-15145-1-git-send-email-mdroth@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      833637d4
    • A
      Merge remote-tracking branch 'stefanha/net' into staging · 0ff1e1da
      Anthony Liguori 提交于
      # By Vlad Yasevich
      # Via Stefan Hajnoczi
      * stefanha/net:
        qdev-properties-system.c: Allow vlan or netdev for -device, not both
      
      Message-id: 1385118544-28482-1-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      0ff1e1da
  2. 24 11月, 2013 1 次提交
  3. 23 11月, 2013 1 次提交
  4. 22 11月, 2013 16 次提交
  5. 21 11月, 2013 13 次提交