Pior to commit 8b9f2118ca40b1de72d8f75b59a5fb4d347a69f7 ("ppc64: set
MSR_SF bit"), qemu-system-ppc64 was not setting the 64-bit mode bit in
MSR.Applying it on top of qemu 2.5 from Ubuntu 16.04.04, makes kvm-unit- tests happy. muriloo@jaspion1:~/sources/ubuntu$ dpkg-source -x qemu_2.5+dfsg-5ubuntu10.24.dsc muriloo@jaspion1:~/sources/ubuntu$ cd qemu-2.5+dfsg/ muriloo@jaspion1:~/sources/ubuntu/qemu-2.5+dfsg$ patch -p1 < ~/sources/qemu/0001-ppc64-set-MSR_SF-bit.patch patching file target-ppc/translate_init.c Hunk #1 succeeded at 9581 (offset -122 lines). muriloo@jaspion1:~/sources/ubuntu/qemu-2.5+dfsg$ ./configure --target-list=ppc64-softmmu && make -j$(nproc) muriloo@jaspion1:~/sources/ubuntu/qemu-2.5+dfsg$ cd ~/sources/kvm-unit-tests/build/ muriloo@jaspion1:~/sources/kvm-unit-tests/build$ ../configure --endian=little && make -j$(nproc) muriloo@jaspion1:~/sources/kvm-unit-tests/build$ sudo QEMU=/home/muriloo/sources/ubuntu/qemu-2.5+dfsg/ppc64-softmmu/qemu-system-ppc64 TESTNAME=emulator TIMEOUT=90s ACCEL= ./powerpc/run powerpc/emulator.elf -smp 1 [sudo] password for muriloo: timeout -k 1s --foreground 90s /home/muriloo/sources/ubuntu/qemu-2.5+dfsg/ppc64-softmmu/qemu-system-ppc64 -nodefaults -machine pseries,accel=kvm -bios powerpc/boot_rom.bin -display none -serial stdio -kernel powerpc/emulator.elf -smp 1 # -initrd /tmp/tmp.Tanwa3UNM4 PASS: emulator: 64bit: detected PASS: emulator: invalid: exception PASS: emulator: lswx: alignment PASS: emulator: lswi: alignment SUMMARY: 4 tests EXIT: STATUS=1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1723914 Title: ubuntu-kvm-unit test failed with emulator test on ppc64le To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1723914/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
