[Qemu-devel] Simulating Soft Error with MCE Injection method

2017-04-19 Thread Naftaly Avadiaev
Hi, QEMU has a build in mechanism for MCE injection. However the mechanism is not perfect, QEMU just fills MCA registers with partial data and then triggers MCE. I want to add a real corruption before triggering MCE. The first thing which I tried is to add all MSRs as described in Intel Sof

[Qemu-devel] [Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2016-06-07 Thread Naftaly Avadiaev
I'm trying to add virtual battery to QEMU. More specifically, if the HOST is running on battery power [laptop] I want to pass this knowledge to GUEST. I have looked at ACPI folder within QEMU source code, however was unable to find the specific place where I can add this functionality. Can someon