Skip to content

Commit

Permalink
s390x/migration: add comment about floating point migration
Browse files Browse the repository at this point in the history
commit 46c804d ("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>
  • Loading branch information
borntraeger committed Jun 9, 2015
1 parent b853d4c commit 6028ef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target-s390x/machine.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6028ef0

Please sign in to comment.