[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~
>
- [RFC v11 29/55] target/arm: cpu: fix style, (continued)
- [RFC v11 29/55] target/arm: cpu: fix style, Claudio Fontana, 2021/03/23
- [RFC v11 27/55] target/arm: move sve_exception_el out of TCG helpers, Claudio Fontana, 2021/03/23
- [RFC v11 35/55] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM, Claudio Fontana, 2021/03/23
- [RFC v11 31/55] target/arm: remove kvm include file for PSCI and arm-powerctl, Claudio Fontana, 2021/03/23
- [RFC v11 33/55] target/arm: cleanup cpu includes, Claudio Fontana, 2021/03/23
- [RFC v11 32/55] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/, Claudio Fontana, 2021/03/23
- [RFC v11 40/55] Revert "target/arm: Restrict v8M IDAU to TCG", Claudio Fontana, 2021/03/23
- [RFC v11 39/55] tests: do not run qom-test on all machines for ARM KVM-only, Claudio Fontana, 2021/03/23
- [RFC v11 42/55] target/arm: move kvm post init initialization to kvm cpu accel, Claudio Fontana, 2021/03/23
- [RFC v11 41/55] target/arm: create kvm cpu accel class, Claudio Fontana, 2021/03/23
- [RFC v11 36/55] tests: restrict TCG-only arm-cpu-features tests to TCG builds, Claudio Fontana, 2021/03/23
- [RFC v11 37/55] tests: do not run test-hmp on all machines for ARM KVM-only, Claudio Fontana, 2021/03/23
- [RFC v11 38/55] tests: device-introspect-test: cope with ARM TCG-only devices, Claudio Fontana, 2021/03/23
- [RFC v11 44/55] target/arm: move TCG gt timer creation code in tcg/, Claudio Fontana, 2021/03/23
- [RFC v11 28/55] target/arm: refactor exception and cpu code, Claudio Fontana, 2021/03/23