diff options
| author | Jagannathan Raman | 2022-06-13 22:26:23 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2022-06-15 15:50:41 +0200 |
| commit | 9b5b473eae3fa0450a7fce21f7e01f3ab1136bb8 (patch) | |
| tree | adbbfa285e435f130612c211437d4a189235572a /include/hw | |
| parent | remote/machine: add HotplugHandler for remote machine (diff) | |
| download | qemu-9b5b473eae3fa0450a7fce21f7e01f3ab1136bb8.tar.gz qemu-9b5b473eae3fa0450a7fce21f7e01f3ab1136bb8.tar.xz qemu-9b5b473eae3fa0450a7fce21f7e01f3ab1136bb8.zip | |
remote/machine: add vfio-user property
Add vfio-user to x-remote machine. It is a boolean, which indicates if
the machine supports vfio-user protocol. The machine configures the bus
differently vfio-user and multiprocess protocols, so this property
informs it on how to configure the bus.
This property should be short lived. Once vfio-user fully replaces
multiprocess, this property could be removed.
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: 5d51a152a419cbda35d070b8e49b772b60a7230a.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/remote/machine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/remote/machine.h b/include/hw/remote/machine.h index 2a2a33c4b2..8d0fa98d33 100644 --- a/include/hw/remote/machine.h +++ b/include/hw/remote/machine.h @@ -22,6 +22,8 @@ struct RemoteMachineState { RemotePCIHost *host; RemoteIOHubState iohub; + + bool vfio_user; }; /* Used to pass to co-routine device and ioc. */ |
