All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] s390x/migration: add comment about floating point migration
@ 2015-06-08 10:21 Christian Borntraeger
  2015-06-08 15:34 ` Juan Quintela
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Borntraeger @ 2015-06-08 10:21 UTC (permalink / raw)
  To: qemu-devel, Juan Quintela
  Cc: Cornelia Huck, Christian Borntraeger, Alexander Graf, David Hildenbrand

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>
---
 target-s390x/machine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target-s390x/machine.c b/target-s390x/machine.c
index e52d760..0044749 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;
 }
 
-- 
2.3.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] s390x/migration: add comment about floating point migration
  2015-06-08 10:21 [Qemu-devel] [PATCH] s390x/migration: add comment about floating point migration Christian Borntraeger
@ 2015-06-08 15:34 ` Juan Quintela
  0 siblings, 0 replies; 2+ messages in thread
From: Juan Quintela @ 2015-06-08 15:34 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Cornelia Huck, David Hildenbrand, qemu-devel, Alexander Graf

Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> 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>

Reviewed-by: Juan Quintela <quintela@redhat.com>

Thanks for handling this.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-08 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 10:21 [Qemu-devel] [PATCH] s390x/migration: add comment about floating point migration Christian Borntraeger
2015-06-08 15:34 ` Juan Quintela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.