qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1036987] [NEW] compilation error due to bug in savevm.


From: Evgeny Voevodin
Subject: [Qemu-devel] [Bug 1036987] [NEW] compilation error due to bug in savevm.c
Date: Wed, 15 Aug 2012 07:44:45 -0000

Public bug reported:

Since

302dfbeb21fc5154c24ca50d296e865a3778c7da

Add xbzrle_encode_buffer and xbzrle_decode_buffer functions
    
    For performance we are encoding long word at a time.
    For nzrun we use long-word-at-a-time NULL-detection tricks from strcmp():
    using ((lword - 0x0101010101010101) & (~lword) & 0x8080808080808080) test
    to find out if any byte in the long word is zero.
    
    Signed-off-by: Benoit Hudzia <address@hidden>
    Signed-off-by: Petter Svard <address@hidden>
    Signed-off-by: Aidan Shribman <address@hidden>
    Signed-off-by: Orit Wasserman <address@hidden>
    Signed-off-by: Eric Blake <address@hidden>
    
    Reviewed-by: Luiz Capitulino <address@hidden>
    Reviewed-by: Eric Blake <address@hidden>

 commit arrived into master barnch, I can't compile qemu at all:

savevm.c:2476:13: error: overflow in implicit constant conversion
[-Werror=overflow]

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1036987

Title:
  compilation error due to bug in savevm.c

Status in QEMU:
  New

Bug description:
  Since

  302dfbeb21fc5154c24ca50d296e865a3778c7da

  Add xbzrle_encode_buffer and xbzrle_decode_buffer functions
      
      For performance we are encoding long word at a time.
      For nzrun we use long-word-at-a-time NULL-detection tricks from strcmp():
      using ((lword - 0x0101010101010101) & (~lword) & 0x8080808080808080) test
      to find out if any byte in the long word is zero.
      
      Signed-off-by: Benoit Hudzia <address@hidden>
      Signed-off-by: Petter Svard <address@hidden>
      Signed-off-by: Aidan Shribman <address@hidden>
      Signed-off-by: Orit Wasserman <address@hidden>
      Signed-off-by: Eric Blake <address@hidden>
      
      Reviewed-by: Luiz Capitulino <address@hidden>
      Reviewed-by: Eric Blake <address@hidden>

   commit arrived into master barnch, I can't compile qemu at all:

  savevm.c:2476:13: error: overflow in implicit constant conversion
  [-Werror=overflow]

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1036987/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]