1. 04 3月, 2015 1 次提交
  2. 03 3月, 2015 7 次提交
  3. 02 3月, 2015 3 次提交
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging · b8a173b2
      Peter Maydell 提交于
      * remotes/ehabkost/tags/x86-pull-request:
        target-i386: Move APIC ID compatibility code to pc.c
        target-i386: Require APIC ID to be explicitly set before CPU realize
        target-i386: Set APIC ID using cpu_index on CONFIG_USER
        linux-user: Check for cpu_init() errors
        target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id
        target-i386: Simplify error handling on cpu_x86_init_user()
        target-i386: Eliminate cpu_init() function
        target-i386: Rename cpu_x86_init() to cpu_x86_init_user()
        target-i386: Move topology.h to include/hw/i386
        target-i386: Eliminate unnecessary get_cpuid_vendor() function
        target-i386: Simplify listflags() function
      
      Conflicts:
      	target-i386/cpu.c
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b8a173b2
    • P
      Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging · 5de09046
      Peter Maydell 提交于
      QOM infrastructure fixes and device conversions
      
      * Assertion fix for device_add with non-device types
      * Documentation fix
      * qdev_init() error reporting cleanups
      
      # gpg: Signature made Tue Feb 24 13:56:33 2015 GMT using RSA key ID 3E7E013F
      # gpg: Good signature from "Andreas Färber <afaerber@suse.de>"
      # gpg:                 aka "Andreas Färber <afaerber@suse.com>"
      
      * remotes/afaerber/tags/qom-devices-for-peter:
        parallel: parallel_hds_isa_init() shouldn't fail
        parallel: Factor out common parallel_hds_isa_init()
        serial: serial_hds_isa_init() shouldn't fail
        serial: Factor out common serial_hds_isa_init()
        etsec: Replace qdev_init() by qdev_init_nofail()
        leon3: Replace unchecked qdev_init() by qdev_init_nofail()
        ide/isa: Replace unchecked qdev_init() by qdev_init_nofail()
        qdev: Improve qdev_init_nofail()'s error reporting
        qom: Fix typo, 'my_class_init' -> 'derived_class_init'
        qdev: Avoid type assertion in qdev_build_hotpluggable_device_list()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5de09046
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/numa-pull-request' into staging · 2dffe551
      Peter Maydell 提交于
      NUMA fixes queue
      
      # gpg: Signature made Mon Feb 23 19:28:42 2015 GMT using RSA key ID 984DC5A6
      # gpg: Can't check signature: public key not found
      
      * remotes/ehabkost/tags/numa-pull-request:
        numa: Rename set_numa_modes() to numa_post_machine_init()
        numa: Rename option parsing functions
        numa: Move QemuOpts parsing to set_numa_nodes()
        numa: Make max_numa_nodeid static
        numa: Move NUMA globals to numa.c
        vl.c: Remove unnecessary zero-initialization of NUMA globals
        numa: Move NUMA declarations from sysemu.h to numa.h
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      2dffe551
  4. 26 2月, 2015 15 次提交
  5. 25 2月, 2015 3 次提交
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2015-02-18' into staging · 68b459ea
      Peter Maydell 提交于
      hmp: Normalize HMP command handler names
      
      # gpg: Signature made Wed Feb 18 10:59:44 2015 GMT using RSA key ID EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      
      * remotes/armbru/tags/pull-monitor-2015-02-18:
        hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
        hmp: Name HMP command handler functions hmp_COMMAND()
        hmp: Clean up declarations for long-gone info handlers
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      68b459ea
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20150218-1' into staging · 3d30395f
      Peter Maydell 提交于
      usb: error handling fixes from Markus, make sysbus ehci arm-only.
      
      # gpg: Signature made Wed Feb 18 09:54:13 2015 GMT using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-usb-20150218-1:
        Make sysbus EHCI devices ARM only by default
        PPC: Don't use legacy -usbdevice support for setting up board
        r2d: Don't use legacy -usbdevice support for setting up board
        usb: Change usb_create_simple() to abort on failure
        usb: Suppress bogus error when automatic usb-hub creation fails
        usb: Do not prefix error_setg() messages with "Error: "
        usb: Improve -usbdevice error reporting a bit
        usb: usb_create() can't fail, drop useless error handling
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3d30395f
    • P
      Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2015-02-16-v2-tag' into staging · c28d4869
      Peter Maydell 提交于
      tag for qga-pull-2015-02-16-v2
      
      v2:
      
      * generalized QAPI function definition for guest-memory-block-size
        to guest-memory-block-info for future extensibility (Eric)
      
      # gpg: Signature made Tue Feb 17 22:36:08 2015 GMT using RSA key ID F108B584
      # gpg: Good signature from "Michael Roth <flukshun@gmail.com>"
      # gpg:                 aka "Michael Roth <mdroth@utexas.edu>"
      # gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584
      
      * remotes/mdroth/tags/qga-pull-2015-02-16-v2-tag:
        qemu-ga-win: Fail loudly on bare 'set-time'
        qga: add memory block command that unsupported
        qga: implement qmp_guest_get_memory_block_info() for Linux with sysfs
        qga: implement qmp_guest_set_memory_blocks() for Linux with sysfs
        qga: implement qmp_guest_get_memory_blocks() for Linux with sysfs
        qga: introduce three guest memory block commmands with stubs
        qga: implement file commands for Windows guest
        guest agent: guest-file-open: refactoring
        utils: drop strtok_r from envlist_parse
        qga: add guest-set-user-password command
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c28d4869
  6. 24 2月, 2015 11 次提交
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 73104fd3
      Peter Maydell 提交于
      - vhost-scsi: add bootindex property
      - RCU: fix MemoryRegion lifetime issues in PCI; document the rules;
      convert of AddressSpaceDispatch and RAMList
      - KVM: add kvm_exit reasons for aarch64
      
      # gpg: Signature made Mon Feb 16 16:32:32 2015 GMT using RSA key ID 78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream: (21 commits)
        Convert ram_list to RCU
        exec: convert ram_list to QLIST
        cosmetic changes preparing for the following patches
        exec: protect mru_block with RCU
        rcu: add g_free_rcu
        rcu: introduce RCU-enabled QLIST
        exec: RCUify AddressSpaceDispatch
        exec: make iotlb RCU-friendly
        exec: introduce cpu_reload_memory_map
        docs: clarify memory region lifecycle
        pci: split shpc_cleanup and shpc_free
        pcie: remove mmconfig memory leak and wrap mmconfig update with transaction
        memory: keep the owner of the AddressSpace alive until do_address_space_destroy
        rcu: run RCU callbacks under the BQL
        rcu: do not let RCU callbacks pile up indefinitely
        vhost-scsi: set the bootable value of channel/target/lun
        vhost-scsi: add a property for booting
        vhost-scsi: expose the TYPE_FW_PATH_PROVIDER interface
        vhost-scsi: add bootindex property
        qdev: support to get a device firmware path directly
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      73104fd3
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 3dc10613
      Peter Maydell 提交于
      Pull request
      
      v2:
       * Fix C11 typedef redefinitions in ahci and libqos malloc [Peter]
       * Fix lx -> PRIx64 format specifiers in ahci [Peter]
      
      # gpg: Signature made Mon Feb 16 15:45:53 2015 GMT using RSA key ID 81AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      
      * remotes/stefanha/tags/block-pull-request: (65 commits)
        block: Keep bdrv_check*_request()'s return value
        block: Remove "growable" from BDS
        block: Clamp BlockBackend requests
        qemu-io: Use BlockBackend
        qemu-io: Remove "growable" option
        qemu-io: Use blk_new_open() in openfile()
        qemu-nbd: Use blk_new_open() in main()
        qemu-img: Use BlockBackend as far as possible
        qemu-img: Use blk_new_open() in img_rebase()
        qemu-img: Use blk_new_open() in img_open()
        block/xen: Use blk_new_open() in blk_connect()
        blockdev: Use blk_new_open() in blockdev_init()
        iotests: Add test for driver=qcow2, format=qcow2
        block: Add Error parameter to bdrv_find_protocol()
        block: Add blk_new_open()
        block: Lift some BDS functions to the BlockBackend
        iotests: Add test for qemu-img convert to NBD
        qemu-img: Fix qemu-img convert -n
        qemu-iotests: Add 093 for IO throttling
        qemu-iotests: Allow caller to disable underscore convertion for qmp
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3dc10613
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-20150216-1' into staging · 3dd2d1a3
      Peter Maydell 提交于
      vnc: fixup some QemuOpts conversion fallout.
      
      # gpg: Signature made Mon Feb 16 08:13:32 2015 GMT using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-vnc-20150216-1:
        vnc: fix coverity warning
        ui/vnc: optimize full scanline updates
        vnc: auto assian an id when calling change vnc qmp interface
        vnc: introduce an wrapper for auto assign vnc id
        vnc: using bool type instead of int for QEMU_OPT_BOOL
        vnc: correct missing property about vnc_display
        vnc: fix qemu crash when not configure vnc option
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3dd2d1a3
    • P
      Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150213-2' into staging · bf2fd13a
      Peter Maydell 提交于
      MIPS patches 2015-02-13
      
      Changes:
      * bug fixes, cleanups and minor improvements
      
      # gpg: Signature made Sat Feb 14 17:01:37 2015 GMT using RSA key ID 0B29DA6B
      # gpg: Can't check signature: public key not found
      
      * remotes/lalrae/tags/mips-20150213-2:
        linux-user: correct stat structure in MIPS N32
        target-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction
        target-mips: fix broken snapshotting
        target-mips: use CP0EnLo_XI instead of magic number
        target-mips: ll and lld cause AdEL exception for unaligned address
        target-mips: fix detection of the end of the page during translation
        target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors
        isa: remove isa_mem_base variable
        gt64xxx: remove isa_mem_base usage
        piix4: use PCI address space instead of system memory
        mips: remove isa_mem_base usage
        jazz: remove usage of isa_mem_base
        jazz: do not explode QEMUMachineInitArgs structure
        isa: add memory space parameter to isa_bus_new
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      bf2fd13a
    • M
      parallel: parallel_hds_isa_init() shouldn't fail · 4bc6a3e5
      Markus Armbruster 提交于
      It shouldn't fail, and no caller checks for failure.  Make failure
      fatal.
      
      Maintainers of affected machines cc'ed.
      
      Cc: Anthony Liguori <aliguori@amazon.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      4bc6a3e5
    • M
      parallel: Factor out common parallel_hds_isa_init() · 07dc7880
      Markus Armbruster 提交于
      Maintainers of affected machines cc'ed.
      
      Cc: Anthony Liguori <aliguori@amazon.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      07dc7880
    • M
      serial: serial_hds_isa_init() shouldn't fail · c6f10a58
      Markus Armbruster 提交于
      It shouldn't fail, and no caller checks for failure.  Make failure
      fatal.
      
      Maintainers of affected machines cc'ed.
      
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Anthony Liguori <aliguori@amazon.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      c6f10a58
    • M
      serial: Factor out common serial_hds_isa_init() · b6607a1a
      Markus Armbruster 提交于
      It's the same old loop copied five times, plus another instance where
      it's clipped to two iterations and unrolled.
      
      No external users of serial_isa_init() are left, so give it internal
      linkage.
      
      Maintainers of affected machines cc'ed.
      
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Anthony Liguori <aliguori@amazon.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      b6607a1a
    • M
      etsec: Replace qdev_init() by qdev_init_nofail() · aef0d55a
      Markus Armbruster 提交于
      etsec_create() is a helper to create and realize the eTSEC.  It's
      currently unused.  Similar helpers for other NICs use
      qdev_init_nofail().  Match that.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      aef0d55a
    • M
      leon3: Replace unchecked qdev_init() by qdev_init_nofail() · cd7c50a4
      Markus Armbruster 提交于
      grlib_irqmp_create(), grlib_gptimer_create() and
      grlib_apbuart_create() are helpers to create and realize GRLIB
      devices.  Their only caller leon3_generic_hw_init() doesn't check for
      failure.  Only the first can actually fail, and only when the caller
      fails to set up a pointer property, which is a programming error.
      
      Replace qdev_init() by qdev_init_nofail().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NFabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      cd7c50a4
    • M
      ide/isa: Replace unchecked qdev_init() by qdev_init_nofail() · e25b89e5
      Markus Armbruster 提交于
      isa_ide_init()'s callers don't check for failure.  isa_ide_init()
      looks like it could fail, but since isa_ide_realizefn() can't fail, it
      actually can't.  Replace its qdev_init() by qdev_init_nofail() to make
      it obvious.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      e25b89e5