[Qemu-devel] [Bug 1783422] [NEW] qemu_clock_get_ns does not take into account icount_time_shift

2018-07-24 Thread SilverOnemi
Public bug reported: Hello, If you check the qemu/util/qemu-timer.c you will find the following function: 597: int64_t qemu_clock_get_ns(QEMUClockType type) 598: { 602:switch (type) { 606:case QEMU_CLOCK_VIRTUAL: 607:if (use_icount) { 608:return cpu_get_icou

[Qemu-devel] [Bug 1783422] [NEW] qemu_clock_get_ns does not take into account icount_time_shift

2018-07-24 Thread Launchpad Bug Tracker
You have been subscribed to a public bug: Hello, If you check the qemu/util/qemu-timer.c you will find the following function: 597: int64_t qemu_clock_get_ns(QEMUClockType type) 598: { 602:switch (type) { 606:case QEMU_CLOCK_VIRTUAL: 607:if (use_icount) { 608: