Re: [GIT PULL 7/9] KVM: s390: Backup the guest's machine check info

David Hildenbrand
2017-06-28T19:46:07Z

> No. Several guest registers are shared with host registers and reloaded lazily.
> For example if the floating point registers are invalid, they will be invalid
> for the host (but the registers contain the guest values).
> From a KVM perspective we can always turn off valid bits in case of doubts
> (overindicate errors). So the current variant is certainly not perfect, but it
> at least will not claim correct registers when they are incorrect.
> We can certainly improve the handling in a future patch. (e.g. turn on validity
> for control registers), I will have a look.
>

As far as I understand, that would then mean, enabling all validity
flags for registers that are not shared. Makes sense.

--

Thanks,

David