Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1219191
Summary: | Regression: libvirt-1.2.15-1.el7 adds -cpu qemu32 to command line when no <cpu> or os/@arch is specified | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libvirt | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | crobinso, dyuan, jdenemar, knoel, lhuang, rbalakri |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.15-2.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 06:30:13 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: | 910269, 1194593 |
Description
Richard W.M. Jones
2015-05-06 19:27:43 UTC
Sent a patch upstream: https://www.redhat.com/archives/libvir-list/2015-May/msg00176.html *** Bug 1219198 has been marked as a duplicate of this bug. *** The upstream commit is: https://libvirt.org/git/?p=libvirt.git;a=commit;h=8910e063dbafc09695b2100c80213be569abb7ef Posted on rhvirt-patches: http://post-office.corp.redhat.com/archives/rhvirt-patches/2015-May/thread.html#00173 Note this bug blocks all testing of virt-v2v & virt-p2v. Reassigning to Cole since he did the fix. The bug is fixed and included in libvirt 1.2.15-2 and I have confirmed that it fixes the libguestfs build, so there is nothing further for development to do here. i can reproduce this issue with libvirt-1.2.15-1.el7.x86_64: 1. prepare a guest which not specified arch: # lscpu Architecture: x86_64 ... # cat /tmp/tmp.xml <domain type='kvm'> <name>rhel7.0-rhel</name> <uuid>67c7a123-5415-4136-af62-a2ee098ba6cd</uuid> <maxMemory slots='16' unit='KiB'>25600000</maxMemory> <memory unit='KiB'>2072576</memory> <currentMemory unit='KiB'>2072576</currentMemory> <vcpu placement='static'>4</vcpu> <iothreads>1</iothreads> <iothreadids> <iothread id='1'/> </iothreadids> <cputune> <iothreadpin iothread='1' cpuset='1'/> </cputune> <os> <type>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <cpu> <numa> <cell id='0' cpus='0-1' memory='512000' unit='KiB'/> <cell id='1' cpus='2-3' memory='512000' unit='KiB'/> </numa> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <pm> <suspend-to-mem enabled='no'/> <suspend-to-disk enabled='no'/> </pm> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/fs/r7_ext4.raw'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> <interface type='network'> <mac address='52:54:00:af:19:fb'/> <source network='default'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/r6.agent'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='spice' autoport='yes'/> <sound model='ich6'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </sound> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <redirdev bus='usb' type='pty'> </redirdev> <redirdev bus='usb' type='spicevmc'> </redirdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </memballoon> <memory model='dimm'> <source> <nodemask>0</nodemask> <pagesize unit='KiB'>4</pagesize> </source> <target> <size unit='KiB'>524288</size> <node>0</node> </target> </memory> <memory model='dimm'> <source> <nodemask>0</nodemask> <pagesize unit='KiB'>4</pagesize> </source> <target> <size unit='KiB'>524288</size> <node>0</node> </target> </memory> </devices> </domain> # virsh create /tmp/tmp.xml Domain rhel7.0-rhel created from /tmp/tmp.xml 2. recheck the xml and qemu command line: # virsh dumpxml rhel7.0-rhel |grep arch <type arch='i686' machine='pc-i440fx-rhel7.2.0'>hvm</type> 3. ps aux|grep rhel7.0-rhel ... -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu qemu32 ... And verify this issue with libvirt-1.2.17-2.el7.x86_64: 1 # virsh create /tmp/tmp.xml Domain rhel7.0-rhel created from /tmp/tmp.xml 2. check xml # virsh dumpxml rhel7.0-rhel |grep arch <type arch='x86_64' machine='pc-i440fx-rhel7.2.0'>hvm</type> 3. check qemu command line, no qemu32 here: # ps aux|grep qemu qemu 10949 33.6 5.6 2738100 402780 ? Sl 16:40 0:18 /usr/libexec/qemu-kvm -name rhel7.0-rhel -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -m size=1024000k,slots=16,maxmem=25600000k -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -object iothread,id=iothread1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |