walt wrote: > On Thu, 2009-04-23 at 11:42 -0600, Cam Macdonell wrote: >> Avi Kivity wrote: >>> After a lengthy testing phase, qemu-kvm.git has replaced >>> kvm-userspace.git as the source repository for kvm userspace development. >>> >>> Differences from kvm-userspace.git are as follows: >>> - everything under qemu/ has been moved to the top-level directory >>> - everything not under qemu/ has been moved under a new top-level >>> directory, kvm/ >>> - all qemu subversion commits have been rewritten to be compatible with >>> what will become the master qemu git repository >>> - all branches and tags have been converted >>> - qemu-kvm.git builds standalone (does not require kvm.git) >>> >> Hi Avi, >> >> When I run configure on a clean copy I get this error: >> >> KVM support no - (field 'arch' has incomplete type, field 'arch' >> has incomplete type) >> >> I think it's caused by the include/asm and include-compat/asm symlinks >> not being created until the kvm/configure script runs... > > I see now that running 'make' fixed the problem, and when I went back > and repeated 'configure' everything started working correctly. No idea > why running kvm/configure by hand gave me such bad results yesterday > but everything's working now. > I'm getting closer to a working qemu-kvm, but there are still a few messy parts. The magic dance goes like this: cd qemu-kvm/kvm ln -s .. qemu (or apply patch below) ./configure -whatever make Still, this is unintuitive. As both top-level configure and Makefile already differ from upstream, I see no reason not tweaking them also in way that ./configure && make from the top-level directory behaves as expected again. May look into this later (and the other warnings the build threw at me), now I've to understand an ugly shadow page table inconsistency of kvm... Jan -------> Subject: [PATCH] qemu-kvm: build system Add link to qemu Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> --- kvm/qemu | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 120000 kvm/qemu diff --git a/kvm/qemu b/kvm/qemu new file mode 120000 index 0000000..a96aa0e --- /dev/null +++ b/kvm/qemu @@ -0,0 +1 @@ +.. \ No newline at end of file -- 1.5.6
Attachment:
signature.asc
Description: OpenPGP digital signature