summaryrefslogtreecommitdiffstats
path: root/include/hw/remote/mpqemu-link.h
diff options
context:
space:
mode:
authorElena Ufimtseva2021-01-29 17:46:21 +0100
committerStefan Hajnoczi2021-02-10 10:23:28 +0100
commitb6cc02d98fc6df49786608e5916f3de883a9461c (patch)
treed214f65c8e14f654b90f88f14965656238963f42 /include/hw/remote/mpqemu-link.h
parentmulti-process: Retrieve PCI info from remote process (diff)
downloadqemu-b6cc02d98fc6df49786608e5916f3de883a9461c.tar.gz
qemu-b6cc02d98fc6df49786608e5916f3de883a9461c.tar.xz
qemu-b6cc02d98fc6df49786608e5916f3de883a9461c.zip
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>
Diffstat (limited to 'include/hw/remote/mpqemu-link.h')
-rw-r--r--include/hw/remote/mpqemu-link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/remote/mpqemu-link.h b/include/hw/remote/mpqemu-link.h
index 71d206f00e..4ec0915885 100644
--- a/include/hw/remote/mpqemu-link.h
+++ b/include/hw/remote/mpqemu-link.h
@@ -40,6 +40,7 @@ typedef enum {
MPQEMU_CMD_BAR_WRITE,
MPQEMU_CMD_BAR_READ,
MPQEMU_CMD_SET_IRQFD,
+ MPQEMU_CMD_DEVICE_RESET,
MPQEMU_CMD_MAX,
} MPQemuCmd;