Because I had access to a ppc64el system (wily) that I could fairly
easily test this on, I went ahead and verified ppc64el with the following.
## get qemu/kvm setup
$ sudo apt-get update
$ sudo apt-get install qemu-system-ppc64
$ sudo chmod 666 /dev/kvm # i know, but rather than dealing with log out or sg
$ sudo ppc64_cpu --smt=off
$ sudo modprobe kvm_hv
Because I had access to a ppc64el system (wily) that I could fairly
easily test this on, I went ahead and verified ppc64el with the following.
## get qemu/kvm setup
$ sudo apt-get update
$ sudo apt-get install qemu-system-ppc64
$ sudo chmod 666 /dev/kvm # i know, but rather than dealing with log out or sg
$ sudo ppc64_cpu --smt=off
$ sudo modprobe kvm_hv
$ burl="http:// ports.ubuntu. com/dists/ trusty- proposed/ main/installer- ppc64el/ current/ images/ wily-netboot/ ubuntu- installer/"
$ wget "$burl/ ppc64el/ vmlinux" -O kernel ppc64el/ initrd. gz" -O initrd
$ wget "$burl/
$ md5sum kernel initrd 40a752de521d6e0 8a kernel 223212d3c2434f9 39 initrd
685aafad26b0867
de554fab88e5422
$ ls -l kernel initrd
-rw-rw-r-- 1 ubuntu ubuntu 21925967 Dec 9 20:50 initrd
-rw-rw-r-- 1 ubuntu ubuntu 22323480 Dec 9 20:50 kernel
$ qemu-img create -f qcow2 disk.img 4G
$ PRESEED_URL=http:// some.url net-pci, netdev= net00 -netdev type=user,id=net00 \ file=disk. img,cache= unsafe \ proposed= true nomodeset fb=false priority=critical console=hvc0 locale=en_US url=$PRESEED_URL"
$ qemu-system-ppc64 -echr 0x05 -enable-kvm -m 1024 -nographic \
-device virtio-
-drive if=virtio,
-no-reboot -kernel kernel -initrd initrd \
-append "apt-setup/
## now boot system net-pci, netdev= net00 -netdev type=user,id=net00 \ file=disk. img,cache= unsafe
$ mv disk.img disk.img.pristine
$ chmod ugo-w disk.img.pristine
$ qemu-img create -f qcow2 -b disk.img.pristine disk.img
$ qemu-system-ppc64 -echr 0x05 -enable-kvm -m 1024 -nographic \
-device virtio-
-drive if=virtio,
## Then boot the system, removing the '-kernel and -initrd'
## verify that I'm running the right kernel
ubuntu@ubuntu:~$ uname -r -$(uname -r) 4.2.0-23- generic: /boot/vmlinux- 4.2.0-23- generic
4.2.0-23-generic
ubuntu@ubuntu:~$ lsb_release -sc
trusty
ubuntu@ubuntu:~$ dpkg -S /boot/vmlinu?
linux-image-