<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body text="#000000" bgcolor="#FFFFFF">Hi Kashyap, <span>Richard,<br>
<br>
Before I moved on to new things I wanted to let you know that it took a
bit of package finesse and some time, but I was able to use the git repo
make it through <br>
libguestfs-test-tool without issue on this platform:<br>
<br>
Linux cubietruck 4.3.0-1-armmp-lpae #1 SMP Debian 4.3.5-1 (2016-02-06)
armv7l GNU/Linux<br>
<br>
The log is attached. I now have bigger brain about arm-kvm thanks to
your help.<br>
<br>
Cheers,<br>
<br>
Thomas<br>
</span><br>
<span>Richard W.M. Jones wrote:</span><br>
<blockquote cite="mid:20160222140638.GN1841@redhat.com" type="cite">
<pre wrap="">On Mon, Feb 22, 2016 at 12:59:47PM +0100, Kashyap Chamarthy wrote:
</pre>
<blockquote type="cite"><blockquote type="cite"><pre wrap="">root@cubietruck:~# /usr/bin/libguestfs-test-tool -V
libguestfs-test-tool 1.30.6
</pre></blockquote></blockquote>
<pre wrap=""><!---->[...]
</pre>
<blockquote type="cite"><blockquote type="cite"><pre wrap="">[00633ms] /usr/bin/qemu-system-arm \
-global virtio-blk-device.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-display none \
-M virt \
-cpu host \
-machine accel=kvm:tcg \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-0/appliance.d/kernel \
-dtb /var/tmp/.guestfs-0/appliance.d/dtb \
-initrd /var/tmp/.guestfs-0/appliance.d/initrd \
-device virtio-scsi-device,id=scsi \
-drive
file=/tmp/libguestfssaEUV0/scratch.1,cache=unsafe,format=raw,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none
\
-device scsi-hd,drive=appliance \
-device virtio-serial-device \
-serial stdio \
-chardev socket,path=/tmp/libguestfssaEUV0/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append 'panic=1 mem=500M console=ttyAMA0 udevtimeout=6000
udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1
TERM=xterm-256color'
qemu-system-arm: Warning: global kvm-pit.lost_tick_policy has invalid class
name
Alarm clock
</pre></blockquote></blockquote>
<pre wrap=""><!---->
The main problem is that the original poster's kernel doesn't boot on
top of qemu. I can't see from the logs what kernel they are trying to
use, but that's going to be a problem.
Strongly suggest:
(a) Switch to libguestfs from git, since the version you are using is
8 months old, and I completely changed how DTBs are handled in the
latest version.
(b) Don't run stuff as root.
(c) With the version from git, do:
./configure
rm -rf tmp/.guestfs-*
make clean
make
make quickcheck
and let us see the complete log of that.
Instructions for building libguestfs from source can be found here:
<a class="moz-txt-link-freetext" href="http://libguestfs.org/guestfs-building.1.html">http://libguestfs.org/guestfs-building.1.html</a>
Rich.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div><a
href="https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach"><span
style="color: rgb(51, 102, 153);"><br>
</span></a></div>
</div>
</body></html>