-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/3280/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 11300:5d97d819326e
---------------------------
kvm: Shutdown KVM and disconnect performance counters on fork

We can't/shouldn't use KVM after a fork since the child and parent
probably point to the same VM. Knowing the exact effects of this is
hard, but they are likely to be messy. We also disconnect the
performance counters attached to the guest. This works around what
seems to be a kernel bug where spurious SIGIOs get delivered to the
forked child process.

Signed-off-by: Andreas Sandberg <[email protected]>
[[email protected]: Rebased patches onto a newer gem5 version]
Signed-off-by: Sascha Bischoff <[email protected]>
[[email protected]: Fatal if entering KVM in child process ]
Signed-off-by: Andreas Sandberg <[email protected]>


Diffs
-----

  src/cpu/kvm/base.hh 14029d75688d 
  src/cpu/kvm/base.cc 14029d75688d 
  src/cpu/kvm/vm.hh 14029d75688d 
  src/cpu/kvm/vm.cc 14029d75688d 
  src/cpu/kvm/x86_cpu.cc 14029d75688d 

Diff: http://reviews.gem5.org/r/3280/diff/


Testing
-------


Thanks,

Andreas Sandberg

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to