Bypass the first log quantum of each vcpu

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Add conflict detection function to tm_unsync_commit

Now UNSYNC_PREEMPTION with HARD_MMU can support conflict detection and some basic
data analyse (e.g. conflict ratio).

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Add __mmu_walk_spt_fast and optimize code routine

Add __mmu_walk_spt_fast (though not faster) and optimize code routine of mmu_walk_spt.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Add simulator to SOFTWARE logging mode

Change SOFT mode to fit for simulator.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Record mmio, pio, RDTSC & external interrupt

record all these events, just print it to log.

Signed-off-by: ShiruRen <renshiru2000@gmail.com>
Record mmio, pio, RDTSC & external interrupt

record all these events, just print it to log.

Signed-off-by: ShiruRen <renshiru2000@gmail.com>
Record MMIO in function "kvm_arch_vcpu_ioctl_run"

remove some meaningless debug info;
remove function "kvm_rr_rply_reqs";

Signed-off-by: ShiruRen <renshiru2000@gmail.com>
Record PIO OUT & MMIO OUT

Add a time_stamp for each PIO & MMIO event, counting from 1.
Record all PIO & MMIO events (include read and write).

Signed-off-by: ShiruRen <renshiru2000@gmail.com>