]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
s390x/migration: add comment about floating point migration
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 8 Jun 2015 10:21:24 +0000 (12:21 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 9 Jun 2015 07:54:57 +0000 (09:54 +0200)
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>
target-s390x/machine.c

index e52d76032e27e51ee11998218c80d421dd7295b8..004474959a294bb336e3c8ea765aac57289817d6 100644 (file)
@@ -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;
 }