qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vdi: remove double conversion
@ 2014-06-06 14:06 Paolo Bonzini
  2014-06-06 14:06 ` [Qemu-devel] [PATCH] x86: correctly implement soft reset Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Paolo Bonzini @ 2014-06-06 14:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

This should be a problem when running on big-endian machines.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
	It's time to clean up old branch, and I found this nice little
	patch from May 2012.

 block/vdi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/vdi.c b/block/vdi.c
index 119d3c7..993430e 100644
--- a/block/vdi.c
+++ b/block/vdi.c
@@ -237,7 +237,6 @@ static void vdi_header_to_le(VdiHeader *header)
     cpu_to_le32s(&header->block_extra);
     cpu_to_le32s(&header->blocks_in_image);
     cpu_to_le32s(&header->blocks_allocated);
-    cpu_to_le32s(&header->blocks_allocated);
     uuid_convert(header->uuid_image);
     uuid_convert(header->uuid_last_snap);
     uuid_convert(header->uuid_link);
-- 
1.8.3.1

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

end of thread, other threads:[~2014-06-23 11:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 14:06 [Qemu-devel] [PATCH] vdi: remove double conversion Paolo Bonzini
2014-06-06 14:06 ` [Qemu-devel] [PATCH] x86: correctly implement soft reset Paolo Bonzini
2014-06-06 14:53   ` Paolo Bonzini
2014-06-08 13:15   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-06-21 15:12     ` Michael Tokarev
2014-06-23 11:50       ` Paolo Bonzini
2014-06-06 14:14 ` [Qemu-devel] [PATCH] vdi: remove double conversion Benoît Canet
2014-06-08 14:43   ` Stefan Weil
2014-06-08 13:14 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).