Bug 876475

Summary: CPU topology is missing in capabilities XML when libvirt fails to detect host CPU model
Product: [Fedora] Fedora Reporter: Igor Lvovsky <ilvovsky>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 18CC: acathrow, asegundo, berrange, clalancette, crobinso, dallan, danken, dougsland, dyasny, dyuan, honzhang, itamar, jforbes, jyang, laine, libvirt-maint, lpeer, mprivozn, mzhan, rwu, shireesh, veillard, virt-maint, ybronhei, yupzhang
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 866999 Environment:
Last Closed: 2013-01-06 20:13:38 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: 866999    
Bug Blocks: 868972, 881006    

Comment 1 Michal Privoznik 2012-11-14 09:27:10 UTC
Pushed to maintainer branch. Cole can you include this in next build? Thanks.


commit 165518d5087a5be9080959332f2abd536f1b55d9
Author:     Jiri Denemark <jdenemar>
AuthorDate: Tue Oct 16 21:11:29 2012 +0200
Commit:     Michal Privoznik <mprivozn>
CommitDate: Tue Nov 13 16:19:46 2012 +0100

    qemu: Always format CPU topology
    
    When libvirt cannot find a suitable CPU model for host CPU (easily
    reproducible by running libvirt in a guest), it would not provide CPU
    topology in capabilities XML either. Even though CPU topology is known
    and can be queried by virNodeGetInfo. With this patch, CPU topology will
    always be provided in capabilities XML regardless on the presence of CPU
    model.
    (cherry picked from commit f1c70100409562c3f402392aa667732e5f89a2c4)
    
    Conflicts:
    
        src/qemu/qemu_capabilities.c
        src/qemu/qemu_command.c
    
        The new code uses capabilities caching.

v0.10.2.1-4-g165518d

Comment 5 Cole Robinson 2012-11-26 21:56:13 UTC
Yep, I'll add to the next stable release.

Comment 6 Fedora Update System 2012-12-10 00:47:28 UTC
libvirt-0.10.2.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/libvirt-0.10.2.2-1.fc18