On Thu, Feb 20, 2014 at 10:23:42AM +0000, Richard W.M. Jones wrote: > I am now running a full libguestfs test which will take several hours, > but it looks as if -- even if this test fails -- it won't be because > of lack of emulation / missing instructions in qemu.
The tests ran. I hit two bugs, but neither seems to be related to qemu emulation. Please push these patches into upstream qemu :-) One bug is in btrfs and is related to page size being different (and much larger) on ppc64. The second bug is kind of interesting. If you add ~ 256 disks (using virtio-scsi), then it looks as if the firmware crashes. The total console output is below. It looks as if "c >" is some kind of prompt. qemu spins using 100% of CPU after this. ---------------------------------------------------------------------- Populating /vdevice methods Populating /vdevice/vty@30000000 Populating /vdevice/nvram@71000000 C0580\b\b\b\b\bC05A0\b\b\b\b\bPopulating /pci@800000020000000 ^M Adapters on 0800000020000000 00 0000 (D) : 106b 003f serial bus [ usb-ohci ] 00 0800 (D) : 1af4 1004 virtio [ scsi ] Populating /pci@800000020000000/scsi@1 SCSI: Looking for devices 100000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 101000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 102000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 103000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 104000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 105000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 106000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 107000000000000 DISK : "QEMU QEMU HARDDISK 1.7." 108000000000000 DISK : "QEMU QEMU HARDDISK 1.7." C0600\b\b\b\b\bC0640\b\b\b\b\bC0690\b\b\b\b\bC06A0\b\b\b\b\bC06A8\b\b\b\b\bC06B0\b\b\b\b\bC06B8\b\b\b\b\bC06C0\b\b\b\b\b ( 700 ) Program Exception [ 2e51cb00 ] R0 .. R7 R8 .. R15 R16 .. R23 R24 .. R31 000000002dca41ec 000000002dcfe058 0000000000000000 0000000000000006 000000002e5198e0 000000002e5a91c0 0000000000000000 000000002dcb3900 000000002dcbcb00 000000002dcb7b38 000000002dca0d10 000000002e51a050 000000002e51cb00 000000002dd121f0 000000002dcbabd8 000000002dcb5e48 000000002dcfe050 00000000000003d0 0000000000000056 0000000000000003 000000002e51cb00 0000000000000000 000000002dcf2e4e ffffffffffffffff 0000000000000007 0000000000000000 000000002e5b0751 000000002e516010 0000000000000003 0000000000000000 000000002dca0c30 000000002e50fae0 CR / XER LR / CTR SRR0 / SRR1 DAR / DSISR 84000088 000000002dca1d40 000000002dcb7b38 0000000000000000 0000000000000000 000000002dcb7b38 8000000000080000 00000000 c > \x1b7 ---------------------------------------------------------------------- Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)