[patch 07/11] [PATCH] kvm-s390-ucontrol: interface to inject faults on a vcpu page table

2012-01-04 Thread Carsten Otte
This patch allows the user to fault in pages on a virtual cpus address space for user controlled virtual machines. Typically this is superfluous because userspace can just create a mapping and let the kernel's page fault logic take are of it. There is one exception: SIE won't start if the lowcore

Re: [patch 07/11] [PATCH] kvm-s390-ucontrol: interface to inject faults on a vcpu page table

2012-01-04 Thread Carsten Otte
Avi wrote: There is an alternative, if you can recognize this condition exactly from the hardware fault, you can fault the lowcore yourself and retry. This eliminates a user interface. Is this workable? I've read your comment again, and understood it this time. Trouble is that the kernel cannot

Re: [patch 07/11] [PATCH] kvm-s390-ucontrol: interface to inject faults on a vcpu page table

2012-01-04 Thread Avi Kivity
On 01/04/2012 06:34 PM, Carsten Otte wrote: Avi wrote: There is an alternative, if you can recognize this condition exactly from the hardware fault, you can fault the lowcore yourself and retry. This eliminates a user interface. Is this workable? I've read your comment again, and understood