1. 07 12月, 2013 10 次提交
    • A
      Merge remote-tracking branch 'qemu-kvm/uq/master' into staging · 0c0cb6a2
      Anthony Liguori 提交于
      # By Alex Williamson (1) and others
      # Via Paolo Bonzini
      * qemu-kvm/uq/master:
        target-i386: fix cpuid leaf 0x0d
        qemu: mempath: prefault pages manually (v4)
        kvm: Query KVM for available memory slots
      
      Message-id: 1386345276-9803-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      0c0cb6a2
    • A
      Merge remote-tracking branch 'kraxel/tags/pull-seabios-31b8b4e-1' into staging · 3c88da3c
      Anthony Liguori 提交于
      Update seabios to master snapshot (pre-1.7.4).
      Update vgabios, switch from lgplvgabios to seavgabios.
      Update build process to build both 128k and 256k bios versions.
      Use 256k bios for pc-*-2.0+ machine types.
      
      # gpg: Signature made Fri 06 Dec 2013 12:01:24 AM PST using RSA key ID D3E87138
      # gpg: Can't check signature: public key not found
      
      # By Gerd Hoffmann
      # Via Gerd Hoffmann
      * kraxel/tags/pull-seabios-31b8b4e-1:
        pc: switch 2.0 machine types to large seabios binary
        roms: update vgabios binaries
        roms: update seabios binaries
        roms: enable seabios cross builds
        roms: build two seabios binaries
        roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d
        add firmware to machine options
        add pc-{i440fx,q35}-2.0 machine types
      
      Message-id: 1386322527-23148-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      3c88da3c
    • A
      Merge remote-tracking branch 'otubo/seccomp' into staging · 2a576ee6
      Anthony Liguori 提交于
      # By Paul Moore
      # Via Eduardo Otubo
      * otubo/seccomp:
        seccomp: add kill() to the syscall whitelist
      
      Message-id: 1386075077-3240-1-git-send-email-otubo@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      2a576ee6
    • A
      Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging · 0a0ee0b9
      Anthony Liguori 提交于
      Block patches for 2.0 (flushing block-next)
      
      # gpg: Signature made Fri 29 Nov 2013 08:43:18 AM PST using RSA key ID C88F2FD6
      # gpg: Can't check signature: public key not found
      
      # By Peter Lieven (17) and others
      # Via Kevin Wolf
      * kwolf/tags/for-anthony: (41 commits)
        qemu-iotests: Add sample image and test for VMDK version 3
        vmdk: Allow read only open of VMDK version 3
        qemu-iotests: Filter out 'qemu-io> ' prompt
        qemu-iotests: Filter qemu-io output in 025
        block: Use BDRV_O_NO_BACKING where appropriate
        qemu-iotests: Test snapshot mode
        block: Enable BDRV_O_SNAPSHOT with driver-specific options
        qemu-iotests: Make test case 030, 040 and 055 deterministic
        qemu-iotest: Add pause_drive and resume_drive methods
        blkdebug: add "remove_break" command
        qemu-iotests: Drop local version of cancel_and_wait from 040
        sheepdog: support user-defined redundancy option
        sheepdog: refactor do_sd_create()
        qdict: Optimise qdict_do_flatten()
        qdict: Fix memory leak in qdict_do_flatten()
        MAINTAINERS: add sheepdog development mailing list
        COW: Extend checking allocated bits to beyond one sector
        COW: Speed up writes
        qapi: Change BlockDirtyInfo to list
        block: per caller dirty bitmap
        ...
      
      Message-id: 1385743555-27888-1-git-send-email-kwolf@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      0a0ee0b9
    • A
      Merge remote-tracking branch 'sstabellini/xen-2013-12-01' into staging · 9ed5dacb
      Anthony Liguori 提交于
      # By Paul Durrant (1) and Wei Liu (1)
      # Via Stefano Stabellini
      * sstabellini/xen-2013-12-01:
        xen-pvdevice: make device-id property compulsory
        xen: fix two errors when debug is enabled
      
      Message-id: alpine.DEB.2.02.1312011829000.3198@kaball.uk.xensource.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      9ed5dacb
    • A
      Merge remote-tracking branch 'rth/auxv-2' into staging · cdac7a71
      Anthony Liguori 提交于
      # By Richard Henderson
      # Via Richard Henderson
      * rth/auxv-2:
        linux-user: Use qemu_getauxval for AT_EXECFD
        util: Use qemu_getauxval in linux qemu_cache_utils_init
        tcg-s390: Use qemu_getauxval in query_facilities
        tcg-arm: Use qemu_getauxval
        tcg-ppc64: Use qemu_getauxval
        osdep: Create qemu_getauxval and qemu_init_auxval
      
      Message-id: 1385757754-10702-1-git-send-email-rth@twiddle.net
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      cdac7a71
    • A
      Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging · a55d121f
      Anthony Liguori 提交于
      # By Erik de Castro Lopo (2) and others
      # Via Riku Voipio
      * riku/linux-user-for-upstream:
        linux-user: pass correct parameter to do_shmctl()
        linux-user: create target_structs header to place ipc_perm and shmid_ds
        flatload: fix non-GOT relocations
        linux-user: Implement handling of 5 POSIX timer syscalls.
        linux-user: Add target struct defs needed for POSIX timer syscalls.
      
      Message-id: cover.1385732338.git.riku.voipio@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      a55d121f
    • A
      Merge remote-tracking branch 'kraxel/tags/pull-usb-1' into staging · e679f052
      Anthony Liguori 提交于
      Improvements for usb3 bulk stream (usb core, xhci).
      Bugfixes for uas emulation.
      Add remote wakeup support for ehci.
      Add suspend support for xhci.
      Misc minor tweaks and fixes.
      
      # gpg: Signature made Thu 28 Nov 2013 11:44:49 PM PST using RSA key ID D3E87138
      # gpg: Can't check signature: public key not found
      
      # By Hans de Goede (11) and others
      # Via Gerd Hoffmann
      * kraxel/tags/pull-usb-1:
        usb: move usb_{hi,lo} helpers to header file.
        usb: add vendor request defines
        trace-events: Clean up after removal of old usb-host code
        Revert "usb-tablet: Don't claim wakeup capability for USB-2 version"
        ehci: implement port wakeup
        xhci: Call usb_device_alloc/free_streams
        usb: Add usb_device_alloc/free_streams
        usb: Add max_streams attribute to endpoint info
        uas: s/ui/iu/
        uas: Fix response iu struct definition
        uas: Bounds check tags when using streams
        uas: Streams are numbered 1-y, rather then 0-x
        uas: Fix / cleanup usb_uas_task error handling
        uas: Only use report iu-s for task_mgmt status reporting
        scsi: Add 2 new sense codes needed by uas
        xhci: add support for suspend/resume
        xhci: Add a few missing checks for disconnected devices
      
      Message-id: 1385712381-30918-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      e679f052
    • A
      Merge remote-tracking branch 'mjt/trivial-patches' into staging · 783eb67e
      Anthony Liguori 提交于
      # By Stefan Weil (9) and others
      # Via Michael Tokarev
      * mjt/trivial-patches:
        eeprom93xx: fix coding style
        hw/ppc/mac.h: remove unused BIOS_FILENAME definition
        Don't crash on keyboard input with no handler
        libcacard/vcard_emul_nss: Remove unused statement (value stored is never read)
        libcacard/cac: Remove unused statement (value stored is never read)
        virtio-net: fix the indent
        misc: Replace 'struct QEMUTimer' by 'QEMUTimer'
        qobject: Fix compiler warning (missing gnu_printf format attribute)
        acpi-build: Fix compiler warning (missing gnu_printf format attribute)
        .gitignore: Ignore config.status
        gtk: Replace conditional debug messages by trace methods
        console: Replace conditional debug messages by trace methods
        trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies)
        trace: Remove trace.h from console.h (less dependencies)
      
      Message-id: 1385408466-13183-1-git-send-email-mjt@msgid.tls.msk.ru
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      783eb67e
    • A
      eeprom93xx: fix coding style · 6fedcaa1
      Antony Pavlov 提交于
      scripts/checkpatch.pl reports about some style problems,
      this commit fixes some of them:
      
      ERROR: space prohibited before open square bracket '['
      +    .fields      = (VMStateField []) {
      
      ERROR: space prohibited after that '!' (ctx:BxW)
      +    if (! eeprom->eecs && eecs) {
               ^
      
      ERROR: space prohibited after that '!' (ctx:WxW)
      +    } else if (eeprom->eecs && ! eecs) {
                                      ^
      
      ERROR: space prohibited after that '!' (ctx:WxW)
      +    } else if (eecs && ! eeprom->eesk && eesk) {
                              ^
      
      ERROR: switch and case should be at the same indent
                           switch (address >> (eeprom->addrbits - 2)) {
      +                        case 0:
      [...]
      +                        case 1:
      [...]
      +                        case 2:
      [...]
      +                        case 3:
      
      ERROR: return is not a function, parentheses are not required
      +    return (eeprom->eedo);
      
      ERROR: switch and case should be at the same indent
           switch (nwords) {
      +        case 16:
      +        case 64:
      [...]
      +        case 128:
      +        case 256:
      [...]
      +        default:
      Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com>
      Cc: Stefan Weil <sw@weilnetz.de>
      Reviewed-by: NStefan Weil <sw@weilnetz.de>
      Cc: qemu-trivial@nongnu.org
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      6fedcaa1
  2. 06 12月, 2013 7 次提交
    • G
      bcf2b7d2
    • 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
    • L
      target-i386: fix cpuid leaf 0x0d · 33f373d7
      Liu Jinsong 提交于
      Fix cpuid leaf 0x0d which incorrectly parsed eax and ebx.
      
      However, before this patch the CPUID worked fine -- the .offset
      field contained the size _and_ was stored in the register that
      is supposed to hold the size (eax), and likewise the .size field
      contained the offset _and_ was stored in the register trhat is
      supposed to hold the offset (ebx).
      Signed-off-by: NLiu Jinsong <jinsong.liu@intel.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      33f373d7
  3. 03 12月, 2013 14 次提交
  4. 02 12月, 2013 4 次提交
  5. 30 11月, 2013 5 次提交