Bug 1451113

Summary: virt-manager shows incorrect CPU list for aarch64
Product: [Fedora] Fedora Reporter: Jeremy Linton <jeremy.linton>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: berrange, crobinso, jeremy.linton, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 16:15:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
Dump of running guest none

Description Jeremy Linton 2017-05-15 20:08:01 UTC
Description of problem: virt-manager when setup with KVM shows incorrect CPU list. The dropdown lists "host-passthrough", "hypervisor default" and then a bunch of x86 CPUs. 


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. On aarch64 acpi (although this may not matter) machine, setup new VM using ISO
2. Select settings, cpu try to change the cpu type.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Cole Robinson 2017-07-14 23:45:50 UTC
Can you provide a VM XML config that shows this behavior on the CPU page? sudo virsh dumpxml $vmname

Comment 2 Jeremy Linton 2017-07-17 14:40:50 UTC
Created attachment 1299884 [details]
Dump of running guest

Comment 3 Cole Robinson 2017-07-17 16:15:03 UTC
Thanks, I reproduced. Showing x86 models was a virt-manager error, fixed now:

commit ca56f74ed7314487ce286ac5d00cd1bbaedb66f6
Author: Cole Robinson <crobinso>
Date:   Mon Jul 17 11:29:54 2017 -0400

    capabilities: Fix model list caching for different archs (bz 1451113)


That said, libvirt's virConnectGetCPUModelNames doesn't support aarch64, so you won't get any model names listed in virt-manager now either. That's a separate issue though. (note, you can still manually type a model name cortex-a57 or whatever, we just don't show a list)

Since that fix is just a UI tweak I'm closing as 'upstream', not really important enough to track explicitly backporting IMO