diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2024-06-20 16:22:12 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-06-24 10:14:34 +0100 |
commit | 113ac1d2127e4255129963c5061578b3fd85cc8f (patch) | |
tree | 404784a82d4fe85838b5513dd2193df6c284672c /stubs/cpus-get-virtual-clock.c | |
parent | ad59d5caee26178b6719a2f38e931c89840b7350 (diff) |
sysemu: add set_virtual_time to accel ops
We are about to remove direct calls to individual accelerators for
this information and will need a central point for plugins to hook
into time changes.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240530220610.1245424-2-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240620152220.2192768-5-alex.bennee@linaro.org>
Diffstat (limited to 'stubs/cpus-get-virtual-clock.c')
-rw-r--r-- | stubs/cpus-get-virtual-clock.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/stubs/cpus-get-virtual-clock.c b/stubs/cpus-get-virtual-clock.c deleted file mode 100644 index fd447d53f3..0000000000 --- a/stubs/cpus-get-virtual-clock.c +++ /dev/null @@ -1,8 +0,0 @@ -#include "qemu/osdep.h" -#include "sysemu/cpu-timers.h" -#include "qemu/main-loop.h" - -int64_t cpus_get_virtual_clock(void) -{ - return cpu_get_clock(); -} |