#[before_loadvm]Expand description
(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:
unusedCallback arguments: ()
§Example
use panda::prelude::*;
#[panda::before_loadvm]
fn callback() {
// do stuff
}