1. 06 12月, 2013 5 次提交
    • G
      roms: update vgabios binaries · 6eefccc0
      Gerd Hoffmann 提交于
      This also switches from lgplvgabios to seavgabios.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      6eefccc0
    • G
      roms: update seabios binaries · 385724e7
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      385724e7
    • G
      roms: enable seabios cross builds · 07403a5a
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      07403a5a
    • G
      roms: build two seabios binaries · 94e68caa
      Gerd Hoffmann 提交于
      Adding xhci support to seabios made it jump over the 128k line.
      Changing the bios size breaks migration, so we have to keep a
      128k seabios binary for old machine types.  New machine types can
      use a large 256k bios which should be big enougth for a while.
      
      This patch updates the seabios build process to build seabios twice,
      once full featured and once with xen and xhci turned off so the
      resulting binary is small enougth to fit into 128k.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      94e68caa
    • G
      roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d · 11938d78
      Gerd Hoffmann 提交于
      Updates seabios to git master snapshot.  seabios is in freeze now,
      update to final 1.7.4 will follow later this year.
      
      Summary of major changes:
      
       * Support for acpi table loading from qemu.
       * Support for the xhci host adapter.
       * Support for the pvscsi HBA.
       * Various minor bug fixes.
       * Lots of cleanups.
      
      Full shortlog since 1.7.3 (note that some of these changes have been
      cherry-picked into 1.7.3-stable):
      
      Evgeny Budilovsky (1):
            Add pvscsi boot support
      
      Gerd Hoffmann (27):
            coreboot: add cbmem console support
            Add CONFIG_DEBUG_COREBOOT config option
            apm: fix shutdown
            ahci: add missing check for allocation failure
            bochsvga: fallback to stdvga if dispi interface isn't present
            Add generic qemu detection
            Drop coreboot qemu detection
            Add qemu detection to csm
            uas: add (temporary) superspeed stopgap
            usb: add usb_update_pipe()
            usb: add xhci support
            fix buildversion.sh
            build: simplify cross builds
            build: create output dirs in do-kconfig
            build: explicitly set ROM size
            Add qemu_cfg_e820 function.
            Add support for etc/e820 fw_cfg file
            pci: don't reorder entries when moving to 64bit list
            pci: don't map usb host adapters above 4G
            pci: align 64bit pci regions to 1G
            pci: tweak + comment minimum allocations
            pci: log pci windows
            pci: map 64-bit BARs at location provided by emulator
            ahci: zap real mode macros
            ahci: remote some parentheses
            ahci: alloc structs in high memory
            add hw/serialio.c to SRC32SEG
      
      Jonathan A. Kollasch (1):
            vgahooks: add SM720 VGA BIOS hooks for WIN Enterprises MB-60470
      
      Kevin O'Connor (80):
            Fix USB EHCI detection that was broken in hlist conversion of PCIDevices.
            Update README to include info on VARLOW variables.
            PIC code cleanups.
            Move internal timer code from clock.c to a new file timer.c.
            Don't pass khz to pmtimer_setup - it's always PM_TIMER_FREQUENCY.
            Add helper functions to convert timer irqs to milliseconds.
            Improve accuracy of internal timers.
            Rename cpu_khz to TimerKHz.
            Shift CPU TSC down to reduce need for 64bit variables.
            Rename check_timer() function (and similar) to irqtimer_check().
            Rename check_tsc() (and similar) to timer_check() and use u32.
            Separate out timer setup code.
            Unify pmtimer_read() and pittimer_read() code.
            Default unused UMB areas to be read-only.
            Add missing mathcp_setup() call to CSM code.
            Fix bug in CBFS file walking with compressed files.
            Support custom boot menu prompt and custom boot menu key.
            Minor cleanups to smm assembler.
            Add config option to support memory allocations in 9-segment.
            Minor - no need to declare MaxCountCPUs as VARFSEG.
            Minor - simplify rom_reserve().
            Rename tools/ directory to scripts/ directory.
            Update kconfig to latest version.
            build: Don't use vpath makefile directive.
            Move code centered around specific hardware devices to src/hw/
            Move code cenetered around firmware initialization to src/fw/
            build: Reorder makefile source list to group like files together.
            README: Update readme to note scripts/ directory rename and vgasrc/ directory.
            vgabios: Rename stdvga_bpp_factor to stdvga_vram_ratio.
            vgabios: Limit the range of the VBE number of "pages" parameter.
            readme: Minor - fix typo in readme.
            Split x86 specific functions out of util.c/h to new files x86.c/h.
            Move keyboard calling code from util.c to boot.c.
            Rename util.c to string.c and introduce string.h.
            build: Perform compile checking on vgasrc code.
            Move stacks.c definitions from util.h to new file stacks.h.
            Move romfile definitions from util.h to new file romfile.h.
            Move malloc code from pmm.c to new files malloc.c and malloc.h.
            Move function definitions for output.c from util.h to new file output.h.
            Move definition of struct segoff_s from farptr.h to types.h.
            build: Fix import of gcc dependency files.
            Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h.
            Move optionroms.h to std/optionrom.h and util.h.
            Move vbe.h to std/vbe.h.
            Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.
            Move fw/smbios.h to std/smbios.h.
            Move fw/mptable.h to std/mptable.h.
            Move fw/acpi.h to std/acpi.h.
            Move pnpbios definition to new file std/pnpbios.h.
            Move pmm definitions to new file std/pmm.h.
            Split disk.h into block.h and std/disk.h.
            Move standard bda type info from biosvar.h to std/bda.h.
            Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.
            Sort the sections of util.h.
            Move PIT setup from clock.c to hw/timer.c.
            Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.
            Move dma code to new file hw/dma.c.
            Remove ioport.h; disperse its contents to other header files.
            Minor - update file comments in src/malloc.c.
            Rename fields of 'struct chs_s' and use in floppy lba2chs().
            Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farcall16.
            Minor - move call16 assembler in romlayout.S.
            Make __call16 use C calling convention and support two passed parameters.
            Update _farcall16() to pass segment of callregs explicitly.
            Support call16() calls after entering 32bit mode from call32().
            Run ahci code entirely in 32bit mode.
            Build different final files for QEMU, coreboot, and CSM.
            Convert op->drive_g from a 16bit pointer to a 32 bit "GLOBALFLAT" pointer.
            megasas: Don't attempt to access 'struct pci_device' at runtime.
            Minor - eliminate the SET_GLOBAL macro.
            Move low-level hardware writing from output.c to new file hw/serialio.c.
            vgabios: Load the DAC palette in "packed" modes on Cirrus and BochsVGA.
            vgabios: Support custom fonts in vga framebuffer text writing.
            vgabios: Add bochsvga "HDTV" resolutions.
            vgabios: Avoid possible divide by zero in bochsvga_set_displaystart.
            vgabios: Work around lack of support for "calll" in x86emu emulation.
            Minor - update file comment on bootsplash.c.
            vgabios: Support allocating an extra stack for vgabios calls and default on.
            vgabios: Move initialization code to new file vgainit.c.
            floppy: Minor - add warnings if timeouts occur.
      
      Michael S. Tsirkin (6):
            acpi: sync FADT flags from PIIX4 to Q35
            acpi_extract.py: document DEVICE directives
            biostables: support looking up RSDP
            romfile_loader: utility to patch in-memory ROM files
            acpi: load and link tables through romfile loader
            acpi: strip compiler info in built-in DSDT if any
      
      Paul Menzel (2):
            ACPI DSDT: Make control method `IQCR` serialized
            hw/usb-xhci.c: Code refactoring to not override initializers in `speed_from_xhci[16]`
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      11938d78
  2. 02 12月, 2013 2 次提交
  3. 28 11月, 2013 2 次提交
  4. 27 11月, 2013 2 次提交
  5. 26 11月, 2013 10 次提交
    • A
      Update version for v1.7.0-rc2 release · 7457fe95
      Anthony Liguori 提交于
      7457fe95
    • 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
  6. 24 11月, 2013 1 次提交
  7. 23 11月, 2013 1 次提交
  8. 22 11月, 2013 16 次提交
  9. 21 11月, 2013 1 次提交