Am Samstag, 2. August 2008 schrieb Robin Atwood: > On Friday 01 Aug 2008, Christian Borntraeger wrote: > > Am Donnerstag, 31. Juli 2008 schrieb Robin Atwood: > > > I guess I am doing something very dumb, but when I try to compile kvm-72 > > > on z900 architecture (actually Hercules) I immediately get a compile > > > error: > > > > > > zgentoo kvm-72 # ./configure --disable-gfx-check --disable-sdl > > > > Your userspace headers dont have all the necessary pieces... > > You want to add --with-patched-kernel, that should trigger an headers_sync > > to get the header files from the kernel. > > The correct headers are now found but later into the compile I get: > > In file included > from /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/exec.c:41: > /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/tcg/tcg.h:24:24: error: > tcg-target.h: No such file or directory > /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/tcg/tcg.h:37:2: error: > #error unsupported > <snip> > make[2]: *** [exec.o] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/i386-softmmu' > make[1]: *** [subdir-i386-softmmu] Error 2 > make[1]: Leaving directory > `/var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu' > make: *** [qemu] Error 2 > > There is no tcg-target.h for the s390 arch but why is i386-softmmu being > compiled?
Yes. Expect further breakage in kvm-userspace on s390. At the moment libkvm is the only part of kvm-userspace that is finished. Anything else is not yet done. At the moment you have to use kuli to start a guest. If you start kuli with: # kuli -k <yourguestkernel> -a "noinitrd" you will get a booting kernel until the no device found panic message you can use a file, disk or partition as a root device. If you have a copy of your distribution on lets say /dev/dasdb1 you can boot with: # kuli -k /boot/image-<xxx> -a "initrd root=/dev/vda" \ -d file=/dev/dasdb1 -i /boot/initrd-<xxx> Make sure to adopt the guest fstab to /dev/vda and so on. Christian -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
