• J
    domcaps: Add support for listing supported CPU models · 167280e7
    Jiri Denemark 提交于
    The patch adds <cpu> element to domain capabilities XML:
    
        <cpu>
            <mode name='host-passthrough' supported='yes'/>
            <mode name='host-model' supported='yes'/>
            <mode name='custom' supported='yes'>
                <model>Broadwell</model>
                <model>Broadwell-noTSX</model>
                ...
            </mode>
        </cpu>
    
    Applications can use it to inspect what CPU configuration modes are
    supported for a specific combination of domain type, emulator binary,
    guest architecture and machine type.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    167280e7
domain_capabilities.h 6.5 KB