crosvm/protos/src
Daniel Verkamp 1972b6855a protos: add arch = x86 guards around CPUID helpers
The CPUID-related KVM structs are only available on x86; don't try to
compile the helper functions that use these structs on other platforms.

This is slightly nonsensical, since plugin is already only compiled on a
few specific x86 platforms, but it allows the unit tests to build on
other platforms (e.g. when using `cargo test --all-features`).

BUG=chromium:1112839
TEST=FEATURES=test emerge-kevin crosvm

Change-Id: I413ac757f27c987133bdb265f203f0d6eb3a0b21
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2347077
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2020-08-18 05:30:38 +00:00
..
cdisk_spec.proto Support composite disks. 2019-10-03 00:59:14 +00:00
lib.rs Support composite disks. 2019-10-03 00:59:14 +00:00
plugin.proto crosvm: add handling for hyperv exits 2020-03-05 19:01:24 +00:00
plugin.rs protos: add arch = x86 guards around CPUID helpers 2020-08-18 05:30:38 +00:00