mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
aio / timers: Rearrange timer.h & make legacy functions call non-legacy
Rearrange timer.h so it is in order by function type. Make legacy functions call non-legacy functions rather than vice-versa. Convert cpus.c to use new API. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
55a197dab4
commit
40daca54cd
11 changed files with 490 additions and 390 deletions
2
qtest.c
2
qtest.c
|
|
@ -412,7 +412,7 @@ static void qtest_process_command(CharDriverState *chr, gchar **words)
|
|||
if (words[1]) {
|
||||
ns = strtoll(words[1], NULL, 0);
|
||||
} else {
|
||||
ns = qemu_clock_deadline_ns_all(vm_clock);
|
||||
ns = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL);
|
||||
}
|
||||
qtest_clock_warp(qemu_get_clock_ns(vm_clock) + ns);
|
||||
qtest_send_prefix(chr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue