On 07.12.2011, at 16:25, Sasha Levin <levinsasha928@xxxxxxxxx> wrote: > On Wed, 2011-12-07 at 16:00 +0100, Alexander Graf wrote: >> On 07.12.2011, at 15:25, Avi Kivity <avi@xxxxxxxxxx> wrote: >> >>> On 12/07/2011 04:22 PM, Sasha Levin wrote: >>>> On Wed, 2011-12-07 at 16:11 +0200, Avi Kivity wrote: >>>>> On 12/07/2011 10:29 AM, Sasha Levin wrote: >>>>>> I also got another one, but it's **completely untested** (not even >>>>>> compiled). Alex, Matt, any chance one of you can loan a temporary ppc >>>>>> shell for the upcoming tests of KVM tool/ppc KVM? >>>>>> >>>>> >>>>> qemu offers free ppc shells >>>> >>>> qemu would let me nest a guest inside a ppc guest on my x86? >>> >>> On supervisor mode only (trap-and-emulate virtualization); I don't think >>> qemu emulates ppc hypervisor mode. >> >> Yup, that should work for PR KVM. I'm not sure Matt's patches work in that mode though. >> >> So you should be able to run qemu-system-ppc64 -M pseries -nographic to emulate a ppc box and then do the same in the guest with -enable-kvm. >> >> If that works, you can try with kvm tool in the first guest :). > > Tried that, got the following (qemu-kvm-1.0 on qemu-kvm.git): > > LINK ppc64-softmmu/qemu-system-ppc64 > ../libhw64/i8259.o: In function `kvm_i8259_set_irq': > /root/work/src/qemu-kvm/hw/i8259.c:707: undefined reference to `apic_set_irq_delivered' > ../libhw64/i8259.o: In function `pic_read_irq': > /root/work/src/qemu-kvm/hw/i8259.c:240: undefined reference to `timer_acks' > /root/work/src/qemu-kvm/hw/i8259.c:241: undefined reference to `timer_ints_to_push' > collect2: ld returned 1 exit status > make[1]: *** [qemu-system-ppc64] Error 1 > make: *** [subdir-ppc64-softmmu] Error 2 > > What am I doing wrong? You're probably using the wrong tree :). The qemu-kvm fork used to work a while back, but I don't autotest it. Try again with git://git.qemu.org/qemu.git and make sure to have libfdt installed :) Alex > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html