Re: [Qemu-devel] restore pc in cpu_exec_nocache()

2013-12-01 Thread Peter Maydell
On 1 December 2013 08:42, wangxd wrote: > Hello all : > I am wondering to know why we must call cpu_pc_from_tb() in the function > cpu_exec_nocache() . I found the function cpu_exec_nocache() with comments > :“Restore PC. This may happen if async event occurs before the TB starts > executing.

[Qemu-devel] restore pc in cpu_exec_nocache()

2013-12-01 Thread wangxd
Hello all : I am wondering to know why we must call cpu_pc_from_tb() in the function cpu_exec_nocache() . I found the function cpu_exec_nocache() with comments :“Restore PC. This may happen if async event occurs before the TB starts executing." But I don't know what would happen if async e