Bug 1511999

Summary: Implement "virsh cpu-baseline" for s390x
Product: Red Hat Enterprise Linux 8 Reporter: David Hildenbrand <dhildenb>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.1CC: hannsj_uhl, hpopal, jdenemar, rbalakri, thuth
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.1   
Hardware: s390x   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-20 00:30:57 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Hildenbrand 2017-11-10 15:38:19 UTC
Description of problem:

"virsh cpu-baseline" is currently not implemented.

Steps to Reproduce:
1. Create example.txt with


2. virsh cpu-baseline example.xml

Actual results:

"error: this function is not supported by the connection driver: cannot compute baseline CPU of s390x architecture"

Expected results:

A baselined CPU model in XML format.

Additional info:

For s390x, we have to baseline using qemu via qmp "query-cpu-model-baseline" to obtain the result. The QEMU part is already implemented. We can baseline two models at a time. Therefore, to baseline N CPU models, we need "N - 1" qmp queries.

Comment 4 Ademar Reis 2019-03-20 00:30:57 UTC

*** This bug has been marked as a duplicate of bug 1660904 ***