Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualization HW features

Avi Kivity
2008-09-09T13:23:31Z

Yang, Sheng wrote:
>> it should go into intel_64.c and intel.c
>>
>> YH
>>
>
> Yeah, I've considered that, but seems duplicate for both files? The feature
> detection code is the same. Any way to merge them?
>

You could add another file (intel-vt.c) and #include or link it from
both intel.c and intel_64.c.

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