<div>Thank Richard<br></div><div>Will you please help me to remove the 32 bit test from /usr/bin/virt-resize.?? </div><div>Whether I have to add any option to this command or how to run this command??</div><div><br></div><br>
<div class="gmail_quote">On Mon, Aug 16, 2010 at 7:41 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Aug 16, 2010 at 07:20:09PM +0530, Rajiv Rajaian wrote:<br>
> And I have tried to resize the KVM guest image with virt-resize command. But<br>
> I'm getting the error as  "virt-resize: sorry this program does not work on<br>
> a 32 bit host" since Im su<br>
> Whether libguest doesnt have any support fo 32 bit processors?? Or can u<br>
> please suggest me any other versions of libguestfs that would support 32 bit<br>
> processor.<br>
<br>
</div>The problem isn't with libguestfs -- libguestfs works just fine with<br>
32 and 64 bit processors.  The problem is virt-resize: It does some<br>
calculations using long integers, and these aren't possible in 32 bit<br>
Perl (or more precisely, 32 bit Perl will convert these calculations<br>
to double, which means they won't be accurate).<br>
<br>
You can try removing the 32 bit test from /usr/bin/virt-resize.  It<br>
should run, but the results of the resize aren't guaranteed to work.<br>
<br>
The only other issue I'm aware of with libguestfs and 32 bit<br>
processors is that not many 32 bit processors had support for hardware<br>
virt, so it'll be a bit slow (but should still work).<br>
<br>
One of these days I'll rewrite virt-resize in OCaml ...<br>
<div class="im"><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>libguestfs lets you edit virtual machines.  Supports shell scripting,<br>
bindings from many languages.  <a href="http://et.redhat.com/~rjones/libguestfs/" target="_blank">http://et.redhat.com/~rjones/libguestfs/</a><br>
See what it can do: <a href="http://et.redhat.com/~rjones/libguestfs/recipes.html" target="_blank">http://et.redhat.com/~rjones/libguestfs/recipes.html</a><br>
</blockquote></div><br>