From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH] unbreak booting with virtio Date: Sat, 01 Aug 2009 10:20:59 +0200 Message-ID: <4A73FAEB.5060803@gnu.org> References: <1249064349-799-1-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Glauber Costa , "kvm@vger.kernel.org" , "avi@redhat.com" To: Alexander Graf Return-path: Received: from mail-fx0-f217.google.com ([209.85.220.217]:40229 "EHLO mail-fx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752573AbZHAIVA (ORCPT ); Sat, 1 Aug 2009 04:21:00 -0400 Received: by fxm17 with SMTP id 17so1750294fxm.37 for ; Sat, 01 Aug 2009 01:21:00 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 07/31/2009 09:55 PM, Alexander Graf wrote: > > On 31.07.2009, at 20:19, Glauber Costa wrote: > >> Since commit 89e671e3, extboot is broken due to wrong checksum >> >> The problem is that printf "\\$sum" syntax will require an octal >> representation, so the fix I'm proposing is to convert it first. > > Is there no easy way to tell printf we're on decimal? I don't have a > Linux system handy atm, but I thought \90 was in fact a 90. > > Either way, my only complaint would be to introduce a dependency on bc. printf `printf '\\%o' $sum` Paolo