[−][src]Attribute Macro panda::before_loadvm
#[before_loadvm]
(Callback) Called at start of replay, before loadvm is called. This allows us to hook devices' loadvm handlers. Remember to unregister the existing handler for the device first. See the example in the sample plugin.
Callback ID: PANDA_CB_BEFORE_LOADVM Arguments: none Helper call location: TBA Return value: unused
Callback arguments: ()
Example
use panda::prelude::*; #[panda::before_loadvm] fn callback() { // do stuff }