On 25/04/14 14:04, Alexander Graf wrote: > > On 25.04.14 14:02, Cornelia Huck wrote: >> From: Christian Borntraeger <borntrae...@de.ibm.com> >> >> Some ONE_REGS on s390 are not protected by a capability. Older kernels >> might not provide those and return an error. Fortunately these registers >> are only critical for the migration path. There is no need to error out >> on reset and normal runtime. Furthermore, these kernels don't provide >> a proper dirty bitmap anyway, so let's use tracing for those errors. >> >> Also provide generic one reg helper to simplify the code. >> >> Signed-off-by: Christian Borntraeger <borntrae...@de.ibm.com> >> Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com> >> Signed-off-by: Cornelia Huck <cornelia.h...@de.ibm.com> > > CC stable?
Makes sense. get_registers is fine as the ONE_REGS are at the end of the function, but put_registers will not store the SREGS and the prefix in that case. I guess its ok to send the patch and the commit id to qemu stable after this hits master? Christian