Skip to content
Snippets Groups Projects
  1. Apr 30, 2021
  2. Apr 29, 2021
  3. Apr 26, 2021
  4. Apr 23, 2021
  5. Apr 20, 2021
  6. Apr 19, 2021
  7. Apr 17, 2021
  8. Apr 14, 2021
  9. Apr 13, 2021
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-virtiofs-20210413' into staging · 3ddb05db
      Peter Maydell authored
      
      virtiofs: Fix feature negotiation (for 6.0)
      
      A 6.0 fix for feature negotiation on vhost-user.
      
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      
      # gpg: Signature made Tue 13 Apr 2021 16:21:41 BST
      # gpg:                using RSA key 45F5C71B4A0CB7FB977A9FA90516331EBC5BFDE7
      # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>" [full]
      # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7
      
      * remotes/dgilbert-gitlab/tags/pull-virtiofs-20210413:
        vhost-user-fs: fix features handling
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      3ddb05db
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2021-04-13' into staging · db55d2c9
      Peter Maydell authored
      
      Block patches for 6.0-rc3:
      - Use-after-free fix for block/nbd.c
      
      # gpg: Signature made Tue 13 Apr 2021 14:35:48 BST
      # gpg:                using RSA key 91BEB60A30DB3E8857D11829F407DB0061D5CF40
      # gpg:                issuer "mreitz@redhat.com"
      # gpg: Good signature from "Max Reitz <mreitz@redhat.com>" [full]
      # Primary key fingerprint: 91BE B60A 30DB 3E88 57D1  1829 F407 DB00 61D5 CF40
      
      * remotes/maxreitz/tags/pull-block-2021-04-13:
        block/nbd: fix possible use after free of s->connect_thread
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      db55d2c9
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210413' into staging · 1b665153
      Peter Maydell authored
      
      target-arm queue:
       * Fix MPC setting for AN524 SRAM block
       * sphinx: qapidoc: Wrap "If" section body in a paragraph node
      
      # gpg: Signature made Tue 13 Apr 2021 13:07:12 BST
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20210413:
        sphinx: qapidoc: Wrap "If" section body in a paragraph node
        hw/arm/mps2-tz: Assert if more than one RAM is attached to an MPC
        hw/arm/mps2-tz: Fix MPC setting for AN524 SRAM block
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      1b665153
    • Anton Kuchin's avatar
      vhost-user-fs: fix features handling · ace66791
      Anton Kuchin authored
      
      Make virtio-fs take into account server capabilities.
      
      Just returning requested features assumes they all of then are implemented
      by server and results in setting unsupported configuration if some of them
      are absent.
      
      Signed-off-by: default avatarAnton Kuchin <antonkuchin@yandex-team.ru>
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
        With changes suggested by Stefan
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      ace66791
    • Vladimir Sementsov-Ogievskiy's avatar
      block/nbd: fix possible use after free of s->connect_thread · 0267101a
      Vladimir Sementsov-Ogievskiy authored
      
      If on nbd_close() we detach the thread (in
      nbd_co_establish_connection_cancel() thr->state becomes
      CONNECT_THREAD_RUNNING_DETACHED), after that point we should not use
      s->connect_thread (which is set to NULL), as running thread may free it
      at any time.
      
      Still nbd_co_establish_connection() does exactly this: it saves
      s->connect_thread to local variable (just for better code style) and
      use it even after yield point, when thread may be already detached.
      
      Fix that. Also check thr to be non-NULL on
      nbd_co_establish_connection() start for safety.
      
      After this patch "case CONNECT_THREAD_RUNNING_DETACHED" becomes
      impossible in the second switch in nbd_co_establish_connection().
      Still, don't add extra abort() just before the release. If it somehow
      possible to reach this "case:" it won't hurt. Anyway, good refactoring
      of all this reconnect mess will come soon.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20210406155114.1057355-1-vsementsov@virtuozzo.com>
      Reviewed-by: default avatarRoman Kagan <rvkagan@yandex-team.ru>
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      0267101a
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/philmd/tags/mips-20210413' into staging · 2935f6f2
      Peter Maydell authored
      
      MIPS patches queue
      
      - Fix invalid Kconfig dependency
      - Fix missing migrated value
      - Fix TCG temporary leak
      
      # gpg: Signature made Tue 13 Apr 2021 11:10:11 BST
      # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
      # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
      # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE
      
      * remotes/philmd/tags/mips-20210413:
        target/mips: Fix TCG temporary leak in gen_cache_operation()
        hw/isa/piix4: Migrate Reset Control Register
        hw/isa/Kconfig: Add missing dependency VIA VT82C686 -> APM
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2935f6f2
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.0-20210412' into staging · dce628a9
      Peter Maydell authored
      
      ppc patch queue for 2021-04-21
      
      Here's what I hope is the last ppc related pull request for qemu-6.0.
      
      The 2 patches here revert a behavioural change that after further
      discussion we concluded was a bad idea (adding a timeout for
      possibly-failed hot unplug requests).  Instead it implements a
      different approach to the original problem: we again let unplug
      requests the guest doesn't respond to remain pending indefinitely, but
      no longer allow those to block attempts to retry the same unplug
      again.
      
      The change is a bit more complex than I'd like for this late in the
      freeze.  Nonetheless, I think it's important to merge this for 6.0, so
      we don't allow a release which has the probably-a-bad-idea timeout
      behaviour.
      
      # gpg: Signature made Mon 12 Apr 2021 06:25:58 BST
      # gpg:                using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>" [full]
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>" [unknown]
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dg-gitlab/tags/ppc-for-6.0-20210412:
        spapr.c: always pulse guest IRQ in spapr_core_unplug_request()
        spapr: rollback 'unplug timeout' for CPU hotunplugs
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      dce628a9
    • Philippe Mathieu-Daudé's avatar
      target/mips: Fix TCG temporary leak in gen_cache_operation() · f4349ba9
      Philippe Mathieu-Daudé authored
      
      Fix a TCG temporary leak when translating CACHE opcode.
      
      Fixes: 0d74a222 ("make ITC Configuration Tags accessible to the CPU")
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20210406202857.1440744-1-f4bug@amsat.org>
      f4349ba9
    • Philippe Mathieu-Daudé's avatar
      hw/isa/piix4: Migrate Reset Control Register · 62271205
      Philippe Mathieu-Daudé authored
      
      When adding the Reset register in commit 5790b757 we
      forgot to migrate it.
      
      While it is possible a VM using the PIIX4 is migrated just
      after requesting a system shutdown, it is very unlikely.
      However when restoring a migrated VM, we might have the
      RCR bit #4 set on the stack and when the VM resume it
      directly shutdowns.
      
      Add a post_load() migration handler and set the default
      RCR value to 0 for earlier versions, assuming the VM was
      not going to shutdown before migration.
      
      Fixes: 5790b757 ("piix4: Add the Reset Control Register")
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Message-Id: <20210324200334.729899-1-f4bug@amsat.org>
      62271205
    • Philippe Mathieu-Daudé's avatar
      hw/isa/Kconfig: Add missing dependency VIA VT82C686 -> APM · 50fab4cc
      Philippe Mathieu-Daudé authored
      
      TYPE_VIA_PM calls apm_init() in via_pm_realize(), so
      requires APM to be selected.
      
      Reported-by: default avatarBALATON Zoltan <balaton@eik.bme.hu>
      Fixes: dd0ff819 ("isa: express SuperIO dependencies with Kconfig")
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210302080531.913802-1-f4bug@amsat.org>
      50fab4cc
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-20210412' into staging · 1a66dab9
      Peter Maydell authored
      
      qemu-sparc queue
      
      # gpg: Signature made Mon 12 Apr 2021 23:13:12 BST
      # gpg:                using RSA key CC621AB98E82200D915CC9C45BC2C56FAE0F321F
      # gpg:                issuer "mark.cave-ayland@ilande.co.uk"
      # gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>" [full]
      # Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F
      
      * remotes/mcayland/tags/qemu-sparc-20210412:
        tests/qtest: add tests for am53c974 device
        esp: ensure that do_cmd is set to zero before submitting an ESP select command
        esp: don't reset async_len directly in esp_select() if cancelling request
        esp: don't overflow cmdfifo if TC is larger than the cmdfifo size
        esp: don't overflow cmdfifo in get_cmd()
        esp: don't underflow cmdfifo in do_cmd()
        esp: ensure cmdfifo is not empty and current_dev is non-NULL
        esp: introduce esp_fifo_pop_buf() and use it instead of fifo8_pop_buf()
        esp: consolidate esp_cmdfifo_pop() into esp_fifo_pop()
        esp: consolidate esp_cmdfifo_push() into esp_fifo_push()
        esp: rework write_response() to avoid using the FIFO for DMA transactions
        esp: always check current_req is not NULL before use in DMA callbacks
        esp: fix setting of ESPState mig_version_id when launching QEMU with -S option
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      1a66dab9
    • John Snow's avatar
      sphinx: qapidoc: Wrap "If" section body in a paragraph node · 2d18b4ca
      John Snow authored
      
      These sections need to be wrapped in a block-level element, such as
      Paragraph in order for them to be rendered into Texinfo correctly.
      
      Before (e.g.):
      
      <section ids="qapidoc-713">
        <title>If</title>
        <literal>defined(CONFIG_REPLICATION)</literal>
      </section>
      
      became:
      
        .SS If
        \fBdefined(CONFIG_REPLICATION)\fP.SS \fBBlockdevOptionsReplication\fP (Object)
        ...
      
      After:
      
      <section ids="qapidoc-713">
        <title>If</title>
        <paragraph>
          <literal>defined(CONFIG_REPLICATION)</literal>
        </paragraph>
      </section>
      
      becomes:
      
        .SS If
        .sp
        \fBdefined(CONFIG_REPLICATION)\fP
        .SS \fBBlockdevOptionsReplication\fP (Object)
        ...
      
      Reported-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Tested-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 20210406141909.1992225-2-jsnow@redhat.com
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2d18b4ca
  10. Apr 12, 2021
Loading