s390x/migration: add comment about floating point migration
PATCH 1/1 s390x/migration: add comment about floating point migration
commit 46c804def4bd ("s390x: move fpu regs into a subsection of the vmstate") moved the fprs into a subsection and bumped the version number. This will allow to not transfer fprs in the future if necessary. Add a comment to mark the return true as intentional.
CC Juan Quintela <[email protected]>
CC David Hildenbrand <[email protected]>
Signed-off-by Christian Borntraeger <[email protected]>
--- target-s390x/machine.c | 1 + 1 file changed, 1 insertion(+)
target-s390x/machine.c +1 -0
@@ -70,6 +70,7 @@ const VMStateDescription vmstate_fpu = {static inline bool fpu_needed (void *opaque) { +/* This looks odd, but we might want to NOT transfer fprs in the future */ return true; }
Signature · 1 line
2.3.0
Quoted 9 lines · Christian Borntraeger
commit
46c804def4bd("s390x: move fpu regs into a subsection of the vmstate") moved the fprs into a subsection and bumped the version number. This will allow to not transfer fprs in the future if necessary. Add a comment to mark the return true as intentional.CC Juan Quintela <[email protected]>CC David Hildenbrand <[email protected]>Signed-off-by Christian Borntraeger <[email protected]>
Reviewed-by Juan Quintela <[email protected]>
Thanks for handling this.