Re: [RFC] KVM Source layout Proposal to accommodate new CPU architecture

Avi Kivity
2007-09-30T10:52:38Z

Zhang, Xiantao wrote:
> Zhang, Xiantao wrote:
>
>>> Hi Avi,
>>> So you mean IA64 can adopt the similar method as well?
>>>
>
>
>> What method do you mean exactly?
>>
> Put all arch-specific files into arch/ia64/kvm as you described in
> future KVM infrastructure.
>
>> The powerpc people had some patches to make kvm_main arch independent.
>> We should work on that base.
>> To avoid a dependency on the x86 merge, we can start by working withing
>> drivers/kvm/, for example creating drivers/kvm/x86.c and
>> drivers/kvm/ia64.c. Later patches can move these to arch/*/.
>>
> It may work on x86 side. But for IA64, we have several source files and
> assembly files to implement a VMM module, which contains the
> virtualization logic of CPU, MMU and other platform devices. (In KVM
> forum, Anthony had presented IA64/KVM architecture which is a bit
> different with x86 side due to different approaches for VT.).If we put
> all such these arch-specific files in one directory, it looks very
> strange!
>

ia64/ subdirectory is also fine.

--
error compiling committee.c: too many arguments to function