1. 13 2月, 2018 4 次提交
    • P
      net/can: simple messages transport implementation for QEMU · d18957db
      Pavel Pisa 提交于
      The CanBusState state structure is created for each
      emulated CAN channel. Individual clients/emulated
      CAN interfaces or host interface connection registers
      to the bus by CanBusClientState structure.
      
      The CAN core is prepared to support connection to the
      real host CAN bus network. The commit with such support
      for Linux SocketCAN follows.
      
      Implementation is as simple as possible.  There is no state to be
      migrated, and messages prioritization and queuing are not considered
      for now.  But it is intended to be extended when need arises.
      
      Development repository and more documentation at
      
      https://gitlab.fel.cvut.cz/canbus/qemu-canbus
      
      The work is based on Jin Yang GSoC 2013 work funded
      by Google and mentored in frame of RTEMS project GSoC
      slot donated to QEMU.
      
      Rewritten for QEMU-2.0+ versions and architecture cleanup
      by Pavel Pisa (Czech Technical University in Prague).
      Signed-off-by: NPavel Pisa <pisa@cmp.felk.cvut.cz>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      d18957db
    • Y
      hax: Support guest RAM sizes of 4GB or more · 7a5235c9
      Yu Ning 提交于
      Since HAX_VM_IOCTL_ALLOC_RAM takes a 32-bit size, it cannot handle
      RAM blocks of 4GB or larger, which is why HAXM can only run guests
      with less than 4GB of RAM. Solve this problem by utilizing the new
      HAXM API, HAX_VM_IOCTL_ADD_RAMBLOCK, which takes a 64-bit size, to
      register RAM blocks with the HAXM kernel module. The new API is
      first added in HAXM 7.0.0, and its availablility and be confirmed
      by the presence of the HAX_CAP_64BIT_RAMBLOCK capability flag.
      
      When the guest RAM size reaches 7GB, QEMU will ask HAXM to set up a
      memory mapping that covers a 4GB region, which will fail, because
      HAX_VM_IOCTL_SET_RAM also takes a 32-bit size. Work around this
      limitation by splitting the large mapping into small ones and
      calling HAX_VM_IOCTL_SET_RAM multiple times.
      
      Bug: https://bugs.launchpad.net/qemu/+bug/1735576Signed-off-by: NYu Ning <yu.ning@intel.com>
      Message-Id: <1515752555-12784-1-git-send-email-yu.ning@linux.intel.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7a5235c9
    • D
      make: fix help message reference to bogus V=0 variable · 7b409519
      Daniel P. Berrange 提交于
      The make rules for building QEMU are mostly silent by default. They can
      be made verbose by setting the variable V=1. The default state does not
      however correspond to a V=0 setting - $(V) must be undefined / empty to
      get the default quiet build.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Message-Id: <20180123164718.12714-3-berrange@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7b409519
    • D
      Revert "build-sys: silence make by default or V=0" · 8cc357b5
      Daniel P. Berrange 提交于
      This reverts commit 42a77f1c.
      
      The primary intention of this change was to silence messages
      like
      
        make[1]: '/home/berrange/src/virt/qemu/capstone/libcapstone.a' is up to date.
      
      which we get when calling make recursively with explicit
      targets.
      
      The problem is that this change affected every make target,
      not merely the targets that triggered these "is up to date"
      messages. As a result any targets that were not invoking
      commands via "$(call quiet-command ...)" suddenly become
      silent. This is particularly bad for "make install" which
      now appears todo nothing.
      
      Rather than go through every make rule and try to identify
      places where we now need to explicitly print a message to
      show work taking place, just revert the change.
      
      To address the original problem of silencing "is up to date"
      messages, we simply add --quiet to the SUBDIR_MAKEVARS
      variable, so it only affects us on recursive make calls.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Message-Id: <20180123164718.12714-2-berrange@redhat.com>
      Tested-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      8cc357b5
  2. 12 2月, 2018 3 次提交
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.12-20180212' into staging · 7d848450
      Peter Maydell 提交于
      ppc patch queue 2018-02-12
      
      Here's the accumulatead ppc and pseries related patches for the last
      while.  Highlights are:
          * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
          * An important bug fix (missing "break;") for
            H_GET_CPU_CHARACTERISTICS
          * Yet another fix for SMT mode handling
          * Assorted other cleanups and fixes
      
      # gpg: Signature made Mon 12 Feb 2018 03:39:30 GMT
      # gpg:                using RSA key 6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.12-20180212:
        misc: introduce new mos6522 VIA device and enable it for ppc builds
        cuda: factor out timebase-derived counter value and load time
        cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
        cuda: don't call cuda_update() when writing to ACR register
        cuda: minor cosmetic tidy-ups to get_next_irq_time()
        cuda: rename frequency property to tb_frequency
        cuda: introduce CUDAState parameter to get_counter()
        spapr: set vsmt to MAX(8, smp_threads)
        cuda: don't allow writes to port output pins
        cuda: do not use old_mmio accesses
        hw/ppc: rename functions in comments
        spapr: add missing break in h_get_cpu_characteristics()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7d848450
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging · 8e3fb802
      Peter Maydell 提交于
      trivial patches for 2018-02-10
      
      # gpg: Signature made Sat 10 Feb 2018 07:54:03 GMT
      # gpg:                using RSA key 701B4F6B1A693E59
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931  4B22 701B 4F6B 1A69 3E59
      
      * remotes/mjt/tags/trivial-patches-fetch:
        tests/qapi: use ARRAY_SIZE macro
        tests/qapi: use QEMU_IS_ALIGNED macro
        tests/hbitmap: use ARRAY_SIZE macro
        async: use ARRAY_SIZE macro
        qga: use ARRAY_SIZE macro
        MAINTAINERS: Add qemu-binfmt-conf.sh script
        oslib-posix: check for posix_memalign in configure script
        maint: Mention web site maintenance in README
        build: fix typo in error message
        configure: Allow capstone=git only if git update is not disabled
        scripts/make-release: Don't archive .git files
        qemu-options.hx: Remove confusing spaces in parameter listings
        mailmap: set preferred spelling for Daniel Berrangé
        Drop unneeded system header includes
        machine: Polish -machine xxx,help
        scripts/argparse.py: spelling (independant)
        qapi-schema.json: spelling (independant comparation)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8e3fb802
    • P
      Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-02-09' into staging · 019bb9ac
      Peter Maydell 提交于
      nbd patches for 2018-02-09
      
      - Vladimir Sementsov-Ogievskiy: iotests: 205: support luks format
      - Eric Blake: block: Simplify bdrv_can_write_zeroes_with_unmap()
      
      # gpg: Signature made Fri 09 Feb 2018 18:34:20 GMT
      # gpg:                using RSA key A7A16B4A2527436A
      # gpg: Good signature from "Eric Blake <eblake@redhat.com>"
      # gpg:                 aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>"
      # gpg:                 aka "[jpeg image of size 6874]"
      # Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A
      
      * remotes/ericb/tags/pull-nbd-2018-02-09:
        block: Simplify bdrv_can_write_zeroes_with_unmap()
        iotests: 205: support luks format
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      019bb9ac
  3. 11 2月, 2018 7 次提交
  4. 10 2月, 2018 25 次提交
  5. 09 2月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2018-02-07-v4' into staging · 7e0019a7
      Peter Maydell 提交于
      Miscellaneous patches for 2018-02-07
      
      # gpg: Signature made Fri 09 Feb 2018 12:52:51 GMT
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-misc-2018-02-07-v4:
        Move include qemu/option.h from qemu-common.h to actual users
        Drop superfluous includes of qapi/qmp/qjson.h
        Drop superfluous includes of qapi/qmp/dispatch.h
        Include qapi/qmp/qnull.h exactly where needed
        Include qapi/qmp/qnum.h exactly where needed
        Include qapi/qmp/qbool.h exactly where needed
        Include qapi/qmp/qstring.h exactly where needed
        Include qapi/qmp/qdict.h exactly where needed
        Include qapi/qmp/qlist.h exactly where needed
        Include qapi/qmp/qobject.h exactly where needed
        qdict qlist: Make most helper macros functions
        Eliminate qapi/qmp/types.h
        Typedef the subtypes of QObject in qemu/typedefs.h, too
        Include qmp-commands.h exactly where needed
        Drop superfluous includes of qapi/qmp/qerror.h
        Include qapi/error.h exactly where needed
        Drop superfluous includes of qapi-types.h and test-qapi-types.h
        Clean up includes
        Use #include "..." for our own headers, <...> for others
        vnc: use stubs for CONFIG_VNC=n dummy functions
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7e0019a7