1. 09 1月, 2018 5 次提交
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · ee98a6b0
      Peter Maydell 提交于
      - Aneesh no longer listed in MAINTAINERS,
      - deprecation of the handle backend,
      - improved error reporting, especially when the local backend fails to
        open the VirtFS root,
      - virtio-9p-test to behave more like a real virtio guest driver: set
        DRIVER_OK when ready to use the device and process the used ring
        for completed requests,
      - cosmetic fixes (mostly coding style related).
      
      # gpg: Signature made Mon 08 Jan 2018 10:19:18 GMT
      # gpg:                using RSA key 0x71D4D5E5822F73D6
      # gpg: Good signature from "Greg Kurz <groug@kaod.org>"
      # gpg:                 aka "Gregory Kurz <gregory.kurz@free.fr>"
      # gpg:                 aka "[jpeg image of size 3330]"
      # Primary key fingerprint: B482 8BAF 9431 40CE F2A3  4910 71D4 D5E5 822F 73D6
      
      * remotes/gkurz/tags/for-upstream:
        MAINTAINERS: Drop Aneesh as 9pfs maintainer
        9pfs: deprecate handle backend
        fsdev: improve error handling of backend init
        fsdev: improve error handling of backend opts parsing
        tests: virtio-9p: set DRIVER_OK before using the device
        tests: virtio-9p: fix ISR dependence
        9pfs: make pdu_marshal() and pdu_unmarshal() static functions
        9pfs: fix error path in pdu_submit()
        9pfs: fix type in *_parse_opts declarations
        9pfs: handle: fix type definition
        9pfs: fix some type definitions
        fsdev: fix some type definitions
        9pfs: fix XattrOperations typedef
        virtio-9p: move unrealize/realize after virtio_9p_transport definition
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ee98a6b0
    • P
      Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-2.12-pull-request' into staging · 232e5537
      Peter Maydell 提交于
      # gpg: Signature made Thu 04 Jan 2018 16:37:32 GMT
      # gpg:                using RSA key 0xF30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier/tags/m68k-for-2.12-pull-request:
        target/m68k: fix m68k_cpu_dump_state()
        target/m68k: add the Interrupt Stack Pointer
        target/m68k: add andi/ori/eori to SR/CCR
        target/m68k: add 680x0 "move to SR" instruction
        target/m68k: move CCR/SR functions
        target/m68k: implement fsave/frestore
        target/m68k: add reset
        target/m68k: add cpush/cinv
        target/m68k: softmmu cleanup
        target/m68k: add move16
        target/m68k: add chk and chk2
        target/m68k: manage 680x0 stack frames
        target/m68k: add CPU_LOG_INT trace
        target/m68k: use insn_pc to generate instruction fault address
        linux-user, m68k: correctly manage SR in context
        target/m68k: fix gen_get_ccr()
        target-m68k: sync CC_OP before gen_jmp_tb()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      232e5537
    • P
      Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging · 4bd797af
      Peter Maydell 提交于
      # gpg: Signature made Tue 02 Jan 2018 13:51:26 GMT
      # gpg:                using RSA key 0xDAE8E10975969CE5
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/elmarco/tags/dump-pull-request:
        dump-guest-memory.py: fix "You can't do that without a process to debug"
        dump: fix note_name_equal()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4bd797af
    • P
      configure: Fix incorrect string comparison operator · d2d08522
      Peter Maydell 提交于
      In commit c97d6d2c we accidentally added code to configure
      that uses '==' for string equality testing. This is a bashism --
      the portable way to write this is '='.
      
      This fixes the "Unexpected operator error" complaint produced
      if the system /bin/sh is dash.
      
      Fixes: c97d6d2cReported-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Tested-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 1515431442-23795-1-git-send-email-peter.maydell@linaro.org
      d2d08522
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20171229' into staging · 4124ea4f
      Peter Maydell 提交于
      Queued TCG patches
      
      # gpg: Signature made Fri 29 Dec 2017 20:44:06 GMT
      # gpg:                using RSA key 0x64DF38E8AF7E215F
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>"
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth/tags/pull-tcg-20171229:
        tcg: add cs_base and flags to -d exec output
        tcg: Allow 6 arguments to TCG helpers
        tcg: Add tcg_signed_cond
        tcg: Generalize TCGOp parameters
        tcg: Dynamically allocate TCGOps
        tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED*
        target/moxie: Fix tlb_fill
        target/*helper: don't check retaddr before calling cpu_restore_state
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4124ea4f
  2. 08 1月, 2018 18 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 799044b6
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Fri 22 Dec 2017 14:09:01 GMT
      # gpg:                using RSA key 0x7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (35 commits)
        block: Keep nodes drained between reopen_queue/multiple
        commit: Simplify reopen of base
        test-bdrv-drain: Test graph changes in drained section
        block: Allow graph changes in subtree drained section
        test-bdrv-drain: Recursive draining with multiple parents
        test-bdrv-drain: Test behaviour in coroutine context
        test-bdrv-drain: Tests for bdrv_subtree_drain
        block: Add bdrv_subtree_drained_begin/end()
        block: Don't notify parents in drain call chain
        test-bdrv-drain: Test nested drain sections
        block: Nested drain_end must still call callbacks
        block: Don't block_job_pause_all() in bdrv_drain_all()
        test-bdrv-drain: Test drain vs. block jobs
        blockjob: Pause job on draining any job BDS
        test-bdrv-drain: Test bs->quiesce_counter
        test-bdrv-drain: Test callback for bdrv_drain
        block: Make bdrv_drain() driver callbacks non-recursive
        block: Assert drain_all is only called from main AioContext
        block: Remove unused bdrv_requests_pending
        block: Mention -drive cyls/heads/secs/trans/serial/addr in deprecation chapter
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      799044b6
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream-hvf' into staging · 1e10eb53
      Peter Maydell 提交于
      Initial support for the HVF accelerator
      
      # gpg: Signature made Sat 23 Dec 2017 07:51:18 GMT
      # gpg:                using RSA key 0xBFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # 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-hvf:
        i386: hvf: cleanup x86_gen.h
        i386: hvf: remove VM_PANIC from "in"
        i386: hvf: remove addr_t
        i386: hvf: simplify flag handling
        i386: hvf: abort on decoding error
        i386: hvf: remove ZERO_INIT macro
        i386: hvf: remove more dead emulator code
        i386: hvf: unify register enums between HVF and the rest
        i386: hvf: header cleanup
        i386: hvf: move all hvf files in the same directory
        i386: hvf: inject General Protection Fault when vmexit through vmcall
        i386: hvf: refactor event injection code for hvf
        i386: hvf: implement vga dirty page tracking
        i386: refactor KVM cpuid code so that it applies to hvf as well
        i386: hvf: implement hvf_get_supported_cpuid
        i386: hvf: use new helper functions for put/get xsave
        i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only)
        i386: hvf: add code base from Google's QEMU repository
        apic: add function to apic that will be used by hvf
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      1e10eb53
    • G
      MAINTAINERS: Drop Aneesh as 9pfs maintainer · ffcfb446
      Greg Kurz 提交于
      Aneesh has been working on other topics for some time now. Let's reflect
      that in the MAINTAINERS file, so that people stop Cc'ing him.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Acked-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      ffcfb446
    • G
      9pfs: deprecate handle backend · db3b3c72
      Greg Kurz 提交于
      This backend raise some concerns:
      
      - doesn't support symlinks
      - fails +100 tests in the PJD POSIX file system test suite [1]
      - requires the QEMU process to run with the CAP_DAC_READ_SEARCH
        capability, which isn't recommended for security reasons
      
      This backend should not be used and wil be removed. The 'local'
      backend is the recommended alternative.
      
      [1] https://www.tuxera.com/community/posix-test-suite/Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
      Reviewed-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      db3b3c72
    • G
      fsdev: improve error handling of backend init · 65603a80
      Greg Kurz 提交于
      This patch changes some error messages in the backend init code and
      convert backends to propagate QEMU Error objects instead of calling
      error_report().
      
      One notable improvement is that the local backend now provides a more
      detailed error report when it fails to open the shared directory.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      65603a80
    • G
      fsdev: improve error handling of backend opts parsing · 91cda4e8
      Greg Kurz 提交于
      This patch changes some error messages in the backend opts parsing
      code and convert backends to propagate QEMU Error objects instead
      of calling error_report().
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      91cda4e8
    • G
      tests: virtio-9p: set DRIVER_OK before using the device · d8803b1a
      Greg Kurz 提交于
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      d8803b1a
    • G
      tests: virtio-9p: fix ISR dependence · 65b70fc7
      Greg Kurz 提交于
      Like other virtio tests, use the used ring APIs instead of assuming ISR
      being set means the request has completed.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      65b70fc7
    • G
      9pfs: make pdu_marshal() and pdu_unmarshal() static functions · 75673590
      Greg Kurz 提交于
      They're only used by the 9p core code.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      75673590
    • G
      9pfs: fix error path in pdu_submit() · d1471233
      Greg Kurz 提交于
      If we receive an unsupported request id, we first decide to
      return -ENOTSUPP to the client, but since the request id
      causes is_read_only_op() to return false, we change the
      error to be -EROFS if the fsdev is read-only. This doesn't
      make sense since we don't know what the client asked for.
      
      This patch ensures that -EROFS can only be returned if the
      request id is supported.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      d1471233
    • G
      9pfs: fix type in *_parse_opts declarations · 7bd41d3d
      Greg Kurz 提交于
      To comply with the QEMU coding style.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      7bd41d3d
    • G
      9pfs: handle: fix type definition · c4ce2c0f
      Greg Kurz 提交于
      To comply with the QEMU coding style.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      c4ce2c0f
    • G
      9pfs: fix some type definitions · 8e71b96c
      Greg Kurz 提交于
      To comply with the QEMU coding style.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      8e71b96c
    • G
      fsdev: fix some type definitions · 1a8d0bb3
      Greg Kurz 提交于
      To comply with the QEMU coding style.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      1a8d0bb3
    • G
      9pfs: fix XattrOperations typedef · 01847522
      Greg Kurz 提交于
      To comply with the QEMU coding style.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      01847522
    • G
      virtio-9p: move unrealize/realize after virtio_9p_transport definition · bd3be4db
      Greg Kurz 提交于
      And drop the now useless forward declaration of virtio_9p_transport.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      bd3be4db
    • P
      Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2017-12-22-1' into staging · b1e513ae
      Peter Maydell 提交于
      Merge tpm 2017/12/22 v1
      
      # gpg: Signature made Fri 22 Dec 2017 20:03:37 GMT
      # gpg:                using RSA key 0x75AD65802A0B4211
      # gpg: Good signature from "Stefan Berger <stefanb@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: B818 B9CA DF90 89C2 D5CE  C66B 75AD 6580 2A0B 4211
      
      * remotes/stefanberger/tags/pull-tpm-2017-12-22-1:
        acpi: Update TPM2 ACPI table to more recent specs
        tpm: Implement tpm_sized_buffer_reset
        tpm_tis: merge r/w_offset into rw_offset
        tpm_tis: move r/w_offsets to TPMState
        tpm_tis: merge read and write buffer into single buffer
        tpm_tis: move buffers from localities into common location
        tpm_tis: remove TPMSizeBuffer usage
        tpm_tis: limit size of buffer from backend
        tpm_tis: convert uint32_t to size_t
        tpm_emulator: Add a caching layer for the TPM Established flag
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b1e513ae
    • P
      Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging · 86710162
      Peter Maydell 提交于
      # gpg: Signature made Fri 22 Dec 2017 02:12:29 GMT
      # gpg:                using RSA key 0xEF04965B398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * remotes/jasowang/tags/net-pull-request:
        qemu-doc: Update the deprecation information of -tftp, -bootp, -redir and -smb
        qemu-doc: The "-net nic" option can be used with "netdev=...", too
        net: Remove the legacy "-net channel" parameter
        net: remove unused compute_mcast_idx() function
        rtl8139: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        ne2000: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        ftgmac100: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        lan9118: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        opencores_eth: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        eepro100: use inline net_crc32() and bitshift instead of compute_mcast_idx()
        sungem: fix multicast filter CRC calculation
        sunhme: switch sunhme over to use net_crc32_le()
        eepro100: switch eepro100 e100_compute_mcast_idx() over to use net_crc32()
        pcnet: switch pcnet over to use net_crc32_le()
        net: introduce net_crc32_le() function
        net: move CRC32 calculation from compute_mcast_idx() into its own net_crc32() function
        e1000: Separate TSO and non-TSO contexts, fixing UDP TX corruption
        e1000, e1000e: Move per-packet TX offload flags out of context state
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      86710162
  3. 05 1月, 2018 12 次提交
  4. 04 1月, 2018 5 次提交