• P
    add a generic scaling mechanism for timers · 4a998740
    Paolo Bonzini 提交于
    This enables rt_clock timers to use nanosecond resolution, just by
    using the _ns functions; there is really no reason to forbid that.
    
    Migrated timers are all using vm_clock (of course; but I checked that
    anyway) so the timers in the savevm files are already in nanosecond
    resolution.  So this patch makes no change to the migration format.
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    4a998740
qemu-timer.h 8.8 KB