• P
    qemu: capabilities: Replace aliased machine type by copy of the canonical machine · 3b8feb47
    Peter Krempa 提交于
    The previous approac of just purging the alias combined with the fact
    that we filled in fake machine types in the test data meant that if a
    test case used an alias machine type such as 'pc' or 'q35' it would not
    properly resolve to the actual data returned by qemu.
    
    This started to be a problem since the CPU driver now looks at the
    default CPU reported with the machine type.
    
    This patch replaces the original approach of just removing the alias by
    replacing it with a copy of the machine type data which the type would
    alias to. This means that we are using the real data while we don't
    modify the test output after every qemu upgrade.
    
    Additionally this change will allow us to drop adding the fake machine
    types later.
    
    The test fallout is from actually excercising the CPU driver with
    actual data.
    Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
    Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
    3b8feb47
hostdev-mdev-display-ramfb.x86_64-latest.args 1.3 KB