aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/machine.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-06-08 12:21:24 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-06-09 09:54:57 +0200
commit6028ef075791913228c36f10cb270f1f52e9f076 (patch)
tree7bde4069f2a042b4814b699a2ff2377cf4ec157a /target-s390x/machine.c
parentb853d4cbf2062813e84f9bb880feff8daf467e05 (diff)
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 <quintela@redhat.com> CC: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-Id: <1433758884-2997-1-git-send-email-borntraeger@de.ibm.com> Reviewed-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-s390x/machine.c')
-rw-r--r--target-s390x/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/machine.c b/target-s390x/machine.c
index e52d76032e..004474959a 100644
--- a/target-s390x/machine.c
+++ b/target-s390x/machine.c
@@ -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;
}