qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 041c2a: .github: point Repo Lockdown bot to G


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 041c2a: .github: point Repo Lockdown bot to GitLab repo
Date: Wed, 10 Feb 2021 09:33:45 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 041c2a31eee4024bdc819c7a7f77e04ecb9ca598
      
https://github.com/qemu/qemu/commit/041c2a31eee4024bdc819c7a7f77e04ecb9ca598
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M .github/lockdown.yml

  Log Message:
  -----------
  .github: point Repo Lockdown bot to GitLab repo

Use the GitLab repo URL as the main repo location in order to reduce
load on qemu.org.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20210111115017.156802-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 9911ca0d1bca846f159ebdb48b9d8a784c959589
      
https://github.com/qemu/qemu/commit/9911ca0d1bca846f159ebdb48b9d8a784c959589
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M .gitmodules

  Log Message:
  -----------
  gitmodules: use GitLab repos instead of qemu.org

qemu.org is running out of bandwidth and the QEMU project is moving
towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org
(they will become mirrors).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210111115017.156802-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: b6053de79f975d7ba534d7eeecdad02900dc63b4
      
https://github.com/qemu/qemu/commit/b6053de79f975d7ba534d7eeecdad02900dc63b4
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M .gitlab-ci.yml

  Log Message:
  -----------
  gitlab-ci: remove redundant GitLab repo URL command

It is no longer necessary to point .gitmodules at GitLab repos when
running in GitLab CI since they are now used all the time.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210111115017.156802-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 2ad784339e86d95947951bc03dcce170cee0ceaa
      
https://github.com/qemu/qemu/commit/2ad784339e86d95947951bc03dcce170cee0ceaa
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  docs: update README to use GitLab repo URLs

qemu.org is running out of bandwidth and the QEMU project is moving
towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org
(they will become mirrors).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210111115017.156802-5-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: c5ea4ec1b529b69d8db004d48bbb067b530c83c4
      
https://github.com/qemu/qemu/commit/c5ea4ec1b529b69d8db004d48bbb067b530c83c4
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M pc-bios/README

  Log Message:
  -----------
  pc-bios: update mirror URLs to GitLab

qemu.org is running out of bandwidth and the QEMU project is moving
towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org
(they will become mirrors).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210111115017.156802-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 7a53cd20e794560a82f23a81a8041219abba3380
      
https://github.com/qemu/qemu/commit/7a53cd20e794560a82f23a81a8041219abba3380
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M scripts/get_maintainer.pl

  Log Message:
  -----------
  get_maintainer: update repo URL to GitLab

qemu.org is running out of bandwidth and the QEMU project is moving
towards a gating CI on GitLab. Use the GitLab repos instead of qemu.org
(they will become mirrors).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210111115017.156802-7-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 8684f1be6f2235a7672a9256b4494cb5d3ef292b
      
https://github.com/qemu/qemu/commit/8684f1be6f2235a7672a9256b4494cb5d3ef292b
  Author: John G Johnson <john.g.johnson@oracle.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M docs/devel/index.rst
    A docs/devel/multi-process.rst

  Log Message:
  -----------
  multi-process: add the concept description to docs/devel/qemu-multiprocess

Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
02a68adef99f5df6a380bf8fd7b90948777e411c.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 639090d85057e7e8251e2509fa136f1a2384f131
      
https://github.com/qemu/qemu/commit/639090d85057e7e8251e2509fa136f1a2384f131
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M docs/system/index.rst
    A docs/system/multi-process.rst

  Log Message:
  -----------
  multi-process: add configure and usage information

Adds documentation explaining the command-line arguments needed
to use multi-process.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
49f757a84e5dd6fae14b22544897d1124c5fdbad.1611938319.git.jag.raman@oracle.com

[Move orphan docs/multi-process.rst document into docs/system/ and add
it to index.rst to prevent Sphinx "document isn't included in any
toctree" error.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 44a4ff31c01082ffce08ec3b9a87a4fdf15919d5
      
https://github.com/qemu/qemu/commit/44a4ff31c01082ffce08ec3b9a87a4fdf15919d5
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M backends/hostmem-memfd.c
    M hw/misc/ivshmem.c
    M include/exec/memory.h
    M include/exec/ram_addr.h
    M include/qemu/mmap-alloc.h
    M softmmu/memory.c
    M softmmu/physmem.c
    M util/mmap-alloc.c
    M util/oslib-posix.c

  Log Message:
  -----------
  memory: alloc RAM from file at offset

Allow RAM MemoryRegion to be created from an offset in a file, instead
of allocating at offset of 0 by default. This is needed to synchronize
RAM between QEMU & remote process.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
609996697ad8617e3b01df38accc5c208c24d74e.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 3090de695b606f0ee09d04a6d7e0b31cfb9c34d7
      
https://github.com/qemu/qemu/commit/3090de695b606f0ee09d04a6d7e0b31cfb9c34d7
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M Kconfig.host
    M configure
    M hw/Kconfig
    A hw/remote/Kconfig
    M meson.build

  Log Message:
  -----------
  multi-process: Add config option for multi-process QEMU

Add configuration options to enable or disable multiprocess QEMU code

Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
6cc37253e35418ebd7b675a31a3df6e3c7a12dc1.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 6fbd84d63299b86e2a60ee7f257838d411112b87
      
https://github.com/qemu/qemu/commit/6fbd84d63299b86e2a60ee7f257838d411112b87
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/pci-host/Kconfig
    M hw/pci-host/meson.build
    A hw/pci-host/remote.c
    M hw/remote/Kconfig
    A include/hw/pci-host/remote.h

  Log Message:
  -----------
  multi-process: setup PCI host bridge for remote device

PCI host bridge is setup for the remote device process. It is
implemented using remote-pcihost object. It is an extension of the PCI
host bridge setup by QEMU.
Remote-pcihost configures a PCI bus which could be used by the remote
PCI device to latch on to.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
0871ba857abb2eafacde07e7fe66a3f12415bfb2.1611938319.git.jag.raman@oracle.com

[Added PCI_EXPRESS condition in hw/remote/Kconfig since remote-pcihost
needs PCIe. This solves "make check" failure on s390x. Fix suggested by
Philippe Mathieu-Daudé <philmd@redhat.com> and Thomas Huth
<thuth@redhat.com>.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 3f0e7e57a343ff8c041f47df108aa795fbf27fb3
      
https://github.com/qemu/qemu/commit/3f0e7e57a343ff8c041f47df108aa795fbf27fb3
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/meson.build
    A hw/remote/machine.c
    A hw/remote/meson.build
    M include/hw/pci-host/remote.h
    A include/hw/remote/machine.h

  Log Message:
  -----------
  multi-process: setup a machine object for remote device process

x-remote-machine object sets up various subsystems of the remote
device process. Instantiate PCI host bridge object and initialize RAM, IO &
PCI memory regions.

Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
c537f38d17f90453ca610c6b70cf3480274e0ba1.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: bfa42387505168782ba7b339d0b13c23648e6207
      
https://github.com/qemu/qemu/commit/bfa42387505168782ba7b339d0b13c23648e6207
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M include/io/channel.h
    M io/channel.c

  Log Message:
  -----------
  io: add qio_channel_writev_full_all helper

Adds qio_channel_writev_full_all() to transmit both data and FDs.
Refactors existing code to use this helper.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 
480fbf1fe4152495d60596c9b665124549b426a5.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: bebab91ebdfc591f8793a9a17370df1bfbe8b2ca
      
https://github.com/qemu/qemu/commit/bebab91ebdfc591f8793a9a17370df1bfbe8b2ca
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M include/io/channel.h
    M io/channel.c

  Log Message:
  -----------
  io: add qio_channel_readv_full_all_eof & qio_channel_readv_full_all helpers

Adds qio_channel_readv_full_all_eof() and qio_channel_readv_full_all()
to read both data and FDs. Refactors existing code to use these helpers.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Acked-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 
b059c4cc0fb741e794d644c144cc21372cad877d.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: ad22c3088b0e6354ed517fef38b548525765c05c
      
https://github.com/qemu/qemu/commit/ad22c3088b0e6354ed517fef38b548525765c05c
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/remote/meson.build
    A hw/remote/mpqemu-link.c
    A hw/remote/trace-events
    A hw/remote/trace.h
    A include/hw/remote/mpqemu-link.h
    M include/sysemu/iothread.h
    M iothread.c
    M meson.build

  Log Message:
  -----------
  multi-process: define MPQemuMsg format and transmission functions

Defines MPQemuMsg, which is the message that is sent to the remote
process. This message is sent over QIOChannel and is used to
command the remote process to perform various tasks.
Define transmission functions used by proxy and by remote.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
56ca8bcf95195b2b195b08f6b9565b6d7410bce5.1611938319.git.jag.raman@oracle.com

[Replace struct iovec send[2] = {0} with {} to make clang happy as
suggested by Peter Maydell <peter.maydell@linaro.org>.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 48b06f50d80b23d98fe602cadd38bacdfbe2ea84
      
https://github.com/qemu/qemu/commit/48b06f50d80b23d98fe602cadd38bacdfbe2ea84
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/remote/meson.build
    A hw/remote/message.c
    M include/hw/remote/machine.h

  Log Message:
  -----------
  multi-process: Initialize message handler in remote device

Initializes the message handler function in the remote process. It is
called whenever there's an event pending on QIOChannel that registers
this function.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
99d38d8b93753a6409ac2340e858858cda59ab1b.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: c7d80c7c1d9183fedd33fabd68190de51aab291d
      
https://github.com/qemu/qemu/commit/c7d80c7c1d9183fedd33fabd68190de51aab291d
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/remote/meson.build
    A hw/remote/remote-obj.c

  Log Message:
  -----------
  multi-process: Associate fd of a PCIDevice with its object

Associate the file descriptor for a PCIDevice in remote process with
DeviceState object.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
f405a2ed5d7518b87bea7c59cfdf334d67e5ee51.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: ed5d001916dd46ceed6d8850e453bcd7b5db2acb
      
https://github.com/qemu/qemu/commit/ed5d001916dd46ceed6d8850e453bcd7b5db2acb
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    A hw/remote/memory.c
    M hw/remote/meson.build
    M hw/remote/mpqemu-link.c
    A include/hw/remote/memory.h
    M include/hw/remote/mpqemu-link.h

  Log Message:
  -----------
  multi-process: setup memory manager for remote device

SyncSysMemMsg message format is defined. It is used to send
file descriptors of the RAM regions to remote device.
RAM on the remote device is configured with a set of file descriptors.
Old RAM regions are deleted and new regions, each with an fd, is
added to the RAM.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
7d2d1831d812e85f681e7a8ab99e032cf4704689.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 9f8112073aad8e485ac012ee18809457ab7f23a6
      
https://github.com/qemu/qemu/commit/9f8112073aad8e485ac012ee18809457ab7f23a6
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/remote/meson.build
    A hw/remote/proxy.c
    A include/hw/remote/proxy.h

  Log Message:
  -----------
  multi-process: introduce proxy object

Defines a PCI Device proxy object as a child of TYPE_PCI_DEVICE.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
b5186ebfedf8e557044d09a768846c59230ad3a7.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: e7b2c9eaa258f9ba647fa81aaab344ddd82d0ecc
      
https://github.com/qemu/qemu/commit/e7b2c9eaa258f9ba647fa81aaab344ddd82d0ecc
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M hw/remote/mpqemu-link.c
    M include/hw/remote/mpqemu-link.h

  Log Message:
  -----------
  multi-process: add proxy communication functions

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
d54edb4176361eed86b903e8f27058363b6c83b3.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 11ab872588335918ddc83c73957077bb85a38a6d
      
https://github.com/qemu/qemu/commit/11ab872588335918ddc83c73957077bb85a38a6d
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M hw/remote/message.c
    M hw/remote/mpqemu-link.c
    M hw/remote/proxy.c
    M include/hw/remote/mpqemu-link.h

  Log Message:
  -----------
  multi-process: Forward PCI config space acceses to the remote process

The Proxy Object sends the PCI config space accesses as messages
to the remote process over the communication channel

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
d3c94f4618813234655356c60e6f0d0362ff42d6.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 7ee3f82384f07e84f1d2e26a0ab1e5efa7e7f822
      
https://github.com/qemu/qemu/commit/7ee3f82384f07e84f1d2e26a0ab1e5efa7e7f822
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M hw/remote/message.c
    M hw/remote/mpqemu-link.c
    M hw/remote/proxy.c
    M include/hw/remote/mpqemu-link.h
    M include/hw/remote/proxy.h

  Log Message:
  -----------
  multi-process: PCI BAR read/write handling for proxy & remote endpoints

Proxy device object implements handler for PCI BAR writes and reads.
The handler uses BAR_WRITE/BAR_READ message to communicate to the
remote process with the BAR address and value to be written/read.
The remote process implements handler for BAR_WRITE/BAR_READ
message.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
a8b76714a9688be5552c4c92d089bc9e8a4707ff.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: c746b74a7d881c7da4afdd7b29353a90c445a8ab
      
https://github.com/qemu/qemu/commit/c746b74a7d881c7da4afdd7b29353a90c445a8ab
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    M hw/remote/meson.build
    M hw/remote/message.c
    A hw/remote/proxy-memory-listener.c
    M hw/remote/proxy.c
    A include/hw/remote/proxy-memory-listener.h
    M include/hw/remote/proxy.h

  Log Message:
  -----------
  multi-process: Synchronize remote memory

Add ProxyMemoryListener object which is used to keep the view of the RAM
in sync between QEMU and remote process.
A MemoryListener is registered for system-memory AddressSpace. The
listener sends SYNC_SYSMEM message to the remote process when memory
listener commits the changes to memory, the remote process receives
the message and processes it in the handler for SYNC_SYSMEM message.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
04fe4e6a9ca90d4f11ab6f59be7652f5b086a071.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: bd36adb8df5d62a2b4d4ded6357fb50b69a508fa
      
https://github.com/qemu/qemu/commit/bd36adb8df5d62a2b4d4ded6357fb50b69a508fa
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M MAINTAINERS
    A hw/remote/iohub.c
    M hw/remote/machine.c
    M hw/remote/meson.build
    M hw/remote/message.c
    M hw/remote/mpqemu-link.c
    M hw/remote/proxy.c
    M include/hw/pci/pci_ids.h
    A include/hw/remote/iohub.h
    M include/hw/remote/machine.h
    M include/hw/remote/mpqemu-link.h
    M include/hw/remote/proxy.h

  Log Message:
  -----------
  multi-process: create IOHUB object to handle irq

IOHUB object is added to manage PCI IRQs. It uses KVM_IRQFD
ioctl to create irqfd to injecting PCI interrupts to the guest.
IOHUB object forwards the irqfd to the remote process. Remote process
uses this fd to directly send interrupts to the guest, bypassing QEMU.

Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
51d5c3d54e28a68b002e3875c59599c9f5a424a1.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 1bec145cd91c82b87ae715770f8961960b1d93b0
      
https://github.com/qemu/qemu/commit/1bec145cd91c82b87ae715770f8961960b1d93b0
  Author: Jagannathan Raman <jag.raman@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M hw/remote/proxy.c

  Log Message:
  -----------
  multi-process: Retrieve PCI info from remote process

Retrieve PCI configuration info about the remote device and
configure the Proxy PCI object based on the returned information

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
85ee367bbb993aa23699b44cfedd83b4ea6d5221.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: b6cc02d98fc6df49786608e5916f3de883a9461c
      
https://github.com/qemu/qemu/commit/b6cc02d98fc6df49786608e5916f3de883a9461c
  Author: Elena Ufimtseva <elena.ufimtseva@oracle.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M hw/remote/message.c
    M hw/remote/proxy.c
    M include/hw/remote/mpqemu-link.h

  Log Message:
  -----------
  multi-process: perform device reset in the remote process

Perform device reset in the remote process when QEMU performs
device reset. This is required to reset the internal state
(like registers, etc...) of emulated devices

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 
7cb220a51f565dc0817bd76e2f540e89c2d2b850.1611938319.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: eb847c42296497978942f738cd41dc29a35a49b2
      
https://github.com/qemu/qemu/commit/eb847c42296497978942f738cd41dc29a35a49b2
  Author: Denis V. Lunev <den@openvz.org>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M docs/interop/parallels.txt

  Log Message:
  -----------
  docs: fix Parallels Image "dirty bitmap" section

Original specification says that l1 table size if 64 * l1_size, which
is obviously wrong. The size of the l1 entry is 64 _bits_, not bytes.
Thus 64 is to be replaces with 8 as specification says about bytes.

There is also minor tweak, field name is renamed from l1 to l1_table,
which matches with the later text.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20210128171313.2210947-1-den@openvz.org
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

[Replace the original commit message "docs: fix mistake in dirty bitmap
feature description" as suggested by Eric Blake.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 83339e21d05c824ebc9131d644f25c23d0e41ecf
      
https://github.com/qemu/qemu/commit/83339e21d05c824ebc9131d644f25c23d0e41ecf
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M .github/lockdown.yml
    M .gitlab-ci.yml
    M .gitmodules
    M Kconfig.host
    M MAINTAINERS
    M README.rst
    M backends/hostmem-memfd.c
    M configure
    M docs/devel/index.rst
    A docs/devel/multi-process.rst
    M docs/interop/parallels.txt
    M docs/system/index.rst
    A docs/system/multi-process.rst
    M hw/Kconfig
    M hw/meson.build
    M hw/misc/ivshmem.c
    M hw/pci-host/Kconfig
    M hw/pci-host/meson.build
    A hw/pci-host/remote.c
    A hw/remote/Kconfig
    A hw/remote/iohub.c
    A hw/remote/machine.c
    A hw/remote/memory.c
    A hw/remote/meson.build
    A hw/remote/message.c
    A hw/remote/mpqemu-link.c
    A hw/remote/proxy-memory-listener.c
    A hw/remote/proxy.c
    A hw/remote/remote-obj.c
    A hw/remote/trace-events
    A hw/remote/trace.h
    M include/exec/memory.h
    M include/exec/ram_addr.h
    A include/hw/pci-host/remote.h
    M include/hw/pci/pci_ids.h
    A include/hw/remote/iohub.h
    A include/hw/remote/machine.h
    A include/hw/remote/memory.h
    A include/hw/remote/mpqemu-link.h
    A include/hw/remote/proxy-memory-listener.h
    A include/hw/remote/proxy.h
    M include/io/channel.h
    M include/qemu/mmap-alloc.h
    M include/sysemu/iothread.h
    M io/channel.c
    M iothread.c
    M meson.build
    M pc-bios/README
    M scripts/get_maintainer.pl
    M softmmu/memory.c
    M softmmu/physmem.c
    M util/mmap-alloc.c
    M util/oslib-posix.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stefanha-gitlab/tags/block-pull-request' into staging

Pull request

v4:
 * Add PCI_EXPRESS Kconfig dependency to fix s390x in "multi-process: setup PCI
   host bridge for remote device" [Philippe and Thomas]

# gpg: Signature made Wed 10 Feb 2021 09:26:14 GMT
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha-gitlab/tags/block-pull-request: (27 commits)
  docs: fix Parallels Image "dirty bitmap" section
  multi-process: perform device reset in the remote process
  multi-process: Retrieve PCI info from remote process
  multi-process: create IOHUB object to handle irq
  multi-process: Synchronize remote memory
  multi-process: PCI BAR read/write handling for proxy & remote endpoints
  multi-process: Forward PCI config space acceses to the remote process
  multi-process: add proxy communication functions
  multi-process: introduce proxy object
  multi-process: setup memory manager for remote device
  multi-process: Associate fd of a PCIDevice with its object
  multi-process: Initialize message handler in remote device
  multi-process: define MPQemuMsg format and transmission functions
  io: add qio_channel_readv_full_all_eof & qio_channel_readv_full_all helpers
  io: add qio_channel_writev_full_all helper
  multi-process: setup a machine object for remote device process
  multi-process: setup PCI host bridge for remote device
  multi-process: Add config option for multi-process QEMU
  memory: alloc RAM from file at offset
  multi-process: add configure and usage information
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/7b2c4cdd794e...83339e21d05c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]