Skip to contentSkip to conversation

s390x/migration: add comment about floating point migration

PATCH In review Christian Borntraeger 2 participants 2 messages Jun 8, 2015

lore
Share & tools
lore
#0 lore raw

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]>
---
 target-s390x/machine.c | 1 +
 1 file changed, 1 insertion(+)
target-s390x/machine.c +1 -0
index e52d760..0044749 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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]>

Thanks for handling this.