qemu_plugin_update_ns

Function qemu_plugin_update_ns 

Source
pub unsafe extern "C" fn qemu_plugin_update_ns(
    handle: *const c_void,
    time: i64,
)
Expand description

qemu_plugin_update_ns() - update system emulation time @handle: opaque handle returned by qemu_plugin_request_time_control() @time: time in nanoseconds

This allows an appropriately authorised plugin (i.e. holding the time control handle) to move system time forward to @time. For user-mode emulation the time is not changed by this as all reported time comes from the host kernel.

Start time is 0.