qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v11 32/55] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_ar


From: Claudio Fontana
Subject: Re: [RFC v11 32/55] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/
Date: Thu, 25 Mar 2021 16:14:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

On 3/24/21 11:35 PM, Richard Henderson wrote:
> On 3/23/21 9:46 AM, Claudio Fontana wrote:
>>   target/arm/kvm-stub.c             | 24 ------------------------
> 
> Can you really get rid of this?

calls in machine.c are protected by if (kvm_enabled()), so as long as the proto 
is in sight we can remove those.
Futher refactoring of kvm/tcg for machines could improve this further (we still 
have it mixed on x86 too).

> If so, I think this should be a separate step.

Ok, can split up,

Claudio

> 
> 
>> --- a/target/arm/kvm/meson.build
>> +++ b/target/arm/kvm/meson.build
>> @@ -1,3 +1,8 @@
>>   arm_ss.add(when: 'CONFIG_TCG', if_false: files(
>>     'helper-stubs.c',
>>   ))
>> +
>> +arm_ss.add(when: 'CONFIG_KVM', if_true: files(
>> +  'kvm.c',
>> +  'kvm64.c',
>> +))
>> \ No newline at end of file
> 
> Watch the whitespace warnings.
> 
> 
> r~
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]