[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 04/21] multi-process: setup a machine object for remote de
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v7 04/21] multi-process: setup a machine object for remote device process |
Date: |
Tue, 30 Jun 2020 16:26:28 +0100 |
On Sat, Jun 27, 2020 at 10:09:26AM -0700, elena.ufimtseva@oracle.com wrote:
> diff --git a/hw/i386/remote.c b/hw/i386/remote.c
> new file mode 100644
> index 0000000000..4d13abe9f3
> --- /dev/null
> +++ b/hw/i386/remote.c
> @@ -0,0 +1,64 @@
> +/*
> + * Machine for remote device
> + *
> + * Copyright © 2018, 2020 Oracle and/or its affiliates.
> + *
> + * This work is licensed under the terms of the GNU GPL, version 2 or later.
> + * See the COPYING file in the top-level directory.
A suggestion for expanding the comment:
This machine type is used by the remote device process in
multi-process QEMU. QEMU device models depend on parent busses,
interrupt controllers, memory regions, etc. The remote machine type
offers this environment so that QEMU device models can be used as
remote devices.
> +typedef struct RemMachineState {
> + MachineState parent_obj;
> +
> + RemotePCIHost *host;
> +} RemMachineState;
s/RemMachineState/RemoteMachineState/ for consistency with
"remote-machine" and RemotePCIHost.
signature.asc
Description: PGP signature
- [PATCH v7 18/21] multi-process: heartbeat messages to remote, (continued)
- [PATCH v7 18/21] multi-process: heartbeat messages to remote, elena . ufimtseva, 2020/06/27
- [PATCH v7 19/21] multi-process: perform device reset in the remote process, elena . ufimtseva, 2020/06/27
- [PATCH v7 21/21] multi-process: add configure and usage information, elena . ufimtseva, 2020/06/27
- [PATCH v7 20/21] multi-process: add the concept description to docs/devel/qemu-multiprocess, elena . ufimtseva, 2020/06/27
- [PATCH v7 14/21] multi-process: PCI BAR read/write handling for proxy & remote endpoints, elena . ufimtseva, 2020/06/27
- [PATCH v7 02/21] multi-process: Add config option for multi-process QEMU, elena . ufimtseva, 2020/06/27
- [PATCH v7 03/21] multi-process: setup PCI host bridge for remote device, elena . ufimtseva, 2020/06/27
- [PATCH v7 04/21] multi-process: setup a machine object for remote device process, elena . ufimtseva, 2020/06/27
- Re: [PATCH v7 04/21] multi-process: setup a machine object for remote device process,
Stefan Hajnoczi <=
- [PATCH v7 05/21] multi-process: add qio channel function to transmit, elena . ufimtseva, 2020/06/27
- [PATCH v7 08/21] multi-process: Initialize communication channel at the remote end, elena . ufimtseva, 2020/06/27
- [PATCH v7 09/21] multi-process: Initialize message handler in remote device, elena . ufimtseva, 2020/06/27
- [PATCH v7 17/21] multi-process: Retrieve PCI info from remote process, elena . ufimtseva, 2020/06/27
- [PATCH v7 15/21] multi-process: Synchronize remote memory, elena . ufimtseva, 2020/06/27