|
From: | Michael Tokarev |
Subject: | Re: [PULL 00/51] Build system, i386 changes for 2023-09-07 |
Date: | Mon, 11 Sep 2023 13:44:09 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
11.09.2023 13:41, Michael Tokarev:
What can be done though is, instead of making kvm_arch_get_supported_cpuid et all a stubs, to replace them in .h file with an empty macro when some condition(s) are met. In other words, fold kvm_enabled() "inside" of kvm_arch_get_supported_cpuid() and use some assert_not_reached() there.
Which is exactly what Philippe did in "Re-introduce few KVM stubs for Clang debug builds". /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |