Source: cowdancer Version: 0.61 Tags: patch Hi,
kvm is able to run i386 on a amd64 host. I'm using the attached patch on a debian lenny amd64 server with qemubuilder 0.47 without problems. ( the patch is for 0.61, just compile tested ) Regards Stefan
diff -uNrp cowdancer-0.61.orig/qemuarch.c cowdancer-0.61/qemuarch.c --- cowdancer-0.61.orig/qemuarch.c 2009-11-06 15:48:24.000000000 +0100 +++ cowdancer-0.61/qemuarch.c 2010-06-28 15:37:40.000000000 +0200 @@ -140,6 +140,8 @@ const char* qemu_arch_qemu(const char* a */ if(!strcmp(host_arch,arch) && !(system("which kvm"))) return "kvm"; + else if(!strcmp(host_arch, "amd64") && !(system("which kvm"))) + return "kvm"; else if((!strcmp(host_arch, "i386")) && (!strcmp(arch, "i386"))) return "qemu"; else Binärdateien cowdancer-0.61.orig/.qemuarch.c.swp and cowdancer-0.61/.qemuarch.c.swp sind verschieden.
signature.asc
Description: OpenPGP digital signature