Skip to content
  • David Gibson's avatar
    ba3b40de
    Suppress test warnings about missing Spectre/Meltdown mitigations with TCG · ba3b40de
    David Gibson authored
    
    
    The new pseries-4.0 machine type defaults to enabling Spectre/Meltdown
    mitigations.  Unfortunately those mitigations aren't implemented for TCG
    because we're not yet sure if they're necessary or how to implement them.
    We don't fail fatally, but we do warn in this case, because it is quite
    plausible that Spectre/Meltdown can be exploited through TCG (at least for
    the guest to get access to the qemu address space).
    
    This create noise in our testcases though.  So, modify the affected tests
    to explicitly disable the mitigations to suppress these warnings.
    
    Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
    ba3b40de
    Suppress test warnings about missing Spectre/Meltdown mitigations with TCG
    David Gibson authored
    
    
    The new pseries-4.0 machine type defaults to enabling Spectre/Meltdown
    mitigations.  Unfortunately those mitigations aren't implemented for TCG
    because we're not yet sure if they're necessary or how to implement them.
    We don't fail fatally, but we do warn in this case, because it is quite
    plausible that Spectre/Meltdown can be exploited through TCG (at least for
    the guest to get access to the qemu address space).
    
    This create noise in our testcases though.  So, modify the affected tests
    to explicitly disable the mitigations to suppress these warnings.
    
    Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Loading