Gleb Natapov wrote: > On Fri, Mar 13, 2009 at 10:15:22AM +0800, Zhang, Xiantao wrote: >> We also hacked the source like the patch. But the issue is not >> caused by it. We are still trying to figure the reason out. Thanks! >> Xiantao >> > > With the patch below I am able to compile kvm-userspace on IA64 and > run linux guest. >Network doesn't work since there is some kind of > problem with PCI interrupts. They are not delivered to a guest. Network should work before kvm-82, and not sure latest irq-bits changes has some side-impact for ipf side. You can reference ioapic_map_irq in ipf.c, and the mapping should match the PRT of bios. > @@ -29,7 +29,7 @@ > > #define TARGET_LONG_BITS 64 > > -#define TARGET_PAGE_BITS 16 > +#define TARGET_PAGE_BITS 14 If the host kernel's page size is 64k ,bits should be 16, and 16k with 14. We may reference kernel's page size here. > #define ELF_MACHINE EM_IA_64 > > @@ -40,13 +40,14 @@ > #include "cpu-defs.h" > > #include "softfloat.h" > +#define CPUState struct CPUIA64State > + > typedef struct CPUIA64State { > CPU_COMMON; > uint32_t hflags; > int mp_state; > } CPUIA64State; > > -#define CPUState CPUIA64State > #define cpu_gen_code cpu_ia64_gen_code > #define cpu_init cpu_ia64_init > #define cpu_signal_handler cpu_ia64_signal_handler -- 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