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

2018-07-25 Thread SilverOnemi
** Changed in: qemu Status: Incomplete => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1783422 Title: qemu_clock_get_ns does not take into account icount_time_shift Status in QEMU:

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

2018-07-24 Thread SilverOnemi
Actually implementing this fix causes a linux boot to crash. So there may be something more to this. I will investigate more. [ 892.294463] BUG: soft lockup - CPU#0 stuck for 347s! [swapper/0:1] [ 892.490416] Modules linked in: [ 892.635725] [ 892.790816] CPU: 0 PID: 1 Comm: swapper/0 Not tai

[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