search for: read_blo

Displaying 2 results from an estimated 2 matches for "read_blo".

Did you mean: read_blk
2017 Nov 16
0
Re: [Qemu-devel] [qemu-img] support for XVA
...0A{=0A = my $h =3D shift;=0A close ($h->{fh});=0A}=0A=0Asub get_size=0A{=0A my= $h =3D shift;=0A my $i =3D $estimated_size;=0A # Allow user to overr= ide the estimate by setting size=3D parameter.=0A $i =3D $config{size} i= f exists $config{size};=0A return $i;=0A}=0A=0Asub read_block=0A{=0A = my $h =3D shift;=0A my $bnum =3D shift;=0A my $offset =3D $block{$bnu= m}{offset};=0A my $size =3D $block{$bnum}{size};=0A seek ($h->{fh}, $= offset, 0);=0A my $ret =3D "";=0A my $i =3D 0;=0A while ($size > 0= ) {=0A my $n =3D read ($h->{...
2017 Nov 15
10
Re: [Qemu-devel] [qemu-img] support for XVA
2017-11-15 21:29 GMT+01:00 Richard W.M. Jones <rjones@redhat.com>: > Gandalf, is there an XVA file publically available (pref. not > too big) that we can look at? I can try to provide one, but it's simple: # tar tvf 20160630_124823_aa72_.xva.gz | head -n 50 ---------- 0/0 42353 1970-01-01 01:00 ova.xml ---------- 0/0 1048576 1970-01-01 01:00 Ref:175/00000000