i915 direct console graphics broken with KVM
Currently on i915 (integrated video) I have direct console graphics working only under cpu-emu. KVM gives a complete machine hang. Can anyone please check if it works on other cards?
Hmmm... @bartoldeman could you please explain, how kvm works here w/o KVM_GET_REGS after KVM_RUN? I am getting out of sync regs, however if I put them in sync with this ioctl, it gets even worse...
OK, the regs trick seems to be in kvmmon.S.
Well, there is some problem with port emulation I suppose, but I don't know how to debug it if it just hangs. :(
Direct console graphics means that you need
to reboot with "nomodeset" kernel parameter and
then run dosemu -s form text console (not from X).
This is rarely used.
As we have SDL1 output, we can run with KMS
enabled, but as you've seen in the nearby ticket,
this doesn't always work too.
But I tried on radeon and it worked, so its i915-specific. Plus it ends up with MCE I think (PC reboots after 30 seconds of a hang, which is what MCE handler usually does), which suggests it may be a KVM bug.