~satchmo/libvmm#12: 
Implement comparison operators for Cpuid

Status
REPORTED
Submitter
~satchmo
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
Proposal

~satchmo 3 years ago

This is holding back the test for cpuid clones:

TEST_CASE("x86 cpuids", "[.x86]") {
    ...

    SECTION("Copied cpuids") {
        if (kvm.check_extension(KVM_CAP_EXT_CPUID) > 0) {
            auto cpuids1 = kvm.supported_cpuids();
            auto cpuids2{cpuids1};
            auto cpuids3 = cpuids1;

            REQUIRE(cpuids1 == cpuids2 == cpuids3);
        }
    }
}
Register here or Log in to comment, or comment via email.