]> Git Repo - qemu.git/commit
qdev: add HotplugHandler->post_plug() callback
authorStefan Hajnoczi <[email protected]>
Mon, 16 Jul 2018 08:37:31 +0000 (09:37 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 16 Jul 2018 14:58:16 +0000 (16:58 +0200)
commit25e8978817a54745c44d956d8303e6be6f2c4047
tree543b47fdca6c37c956a0ebdb022be981929c5f2b
parentf3575af130c700cea060b51a89008a76dae22259
qdev: add HotplugHandler->post_plug() callback

The ->pre_plug() callback is invoked before the device is realized.  The
->plug() callback is invoked when the device is being realized but
before it is reset.

This patch adds a ->post_plug() callback which is invoked after the
device has been reset.  This callback is needed by HotplugHandlers that
need to wait until after ->reset().

Signed-off-by: Stefan Hajnoczi <[email protected]>
Message-Id: <20180716083732[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/core/hotplug.c
hw/core/qdev.c
include/hw/hotplug.h
This page took 0.025298 seconds and 4 git commands to generate.