[Pkg-libvirt-maintainers] Bug#731815: Info received (virsh: Unable to start any VM with custom cpu model)
Thomas Rechberger
t.rechberger at gmail.com
Mon Oct 27 17:04:14 UTC 2014
LC_ALL=C virt-install --name test --memory 1024 --nodisk --pxe --cpu
host --debug
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:187) Launched
with command line: /usr/share/virt-manager/virt-install --name test
--memory 1024 --nodisk --pxe --cpu host --debug
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:195) Requesting
libvirt URI default
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:199) Received
libvirt URI qemu:///system
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (virt-install:193)
Requesting virt method 'default', hv type 'default'.
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (virt-install:432)
Received virt method 'kvm'
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (virt-install:433)
Hypervisor name is 'hvm'
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:476) DISPLAY is
not set: defaulting to nographics.
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (virt-install:551)
Guest.has_install_phase: True
Starting install...
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (guest:449)
Generated install XML:
<domain type="kvm">
<name>test</name>
<uuid>fea50d7c-2035-4471-99bd-5905290a9bd8</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch="x86_64">hvm</type>
<boot dev="network"/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode="custom" match="exact">
<model>Opteron_G3</model>
<vendor>AMD</vendor>
<feature policy="require" name="avx"/>
<feature policy="require" name="vme"/>
<feature policy="require" name="xsave"/>
<feature policy="require" name="perfctr_nb"/>
<feature policy="require" name="3dnowprefetch"/>
<feature policy="require" name="sse4.1"/>
<feature policy="require" name="sse4.2"/>
<feature policy="require" name="pclmuldq"/>
<feature policy="require" name="cmp_legacy"/>
<feature policy="require" name="skinit"/>
<feature policy="require" name="osxsave"/>
<feature policy="require" name="fxsr_opt"/>
<feature policy="require" name="cr8legacy"/>
<feature policy="require" name="ht"/>
<feature policy="require" name="pdpe1gb"/>
<feature policy="require" name="osvw"/>
<feature policy="require" name="f16c"/>
<feature policy="require" name="invtsc"/>
<feature policy="require" name="aes"/>
<feature policy="require" name="mmxext"/>
<feature policy="require" name="topoext"/>
<feature policy="require" name="bmi1"/>
<feature policy="require" name="ssse3"/>
<feature policy="require" name="wdt"/>
<feature policy="require" name="extapic"/>
<feature policy="require" name="movbe"/>
<feature policy="require" name="ibs"/>
</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>destroy</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<controller type="usb" index="0" model="ich9-ehci1"/>
<controller type="usb" index="0" model="ich9-uhci1">
<master startport="0"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<master startport="2"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<master startport="4"/>
</controller>
<interface type="bridge">
<source bridge="br0"/>
<mac address="52:54:00:5a:86:fb"/>
</interface>
<input type="mouse" bus="ps2"/>
<console type="pty"/>
</devices>
</domain>
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (guest:450)
Generated boot XML:
<domain type="kvm">
<name>test</name>
<uuid>fea50d7c-2035-4471-99bd-5905290a9bd8</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch="x86_64">hvm</type>
<boot dev="network"/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode="custom" match="exact">
<model>Opteron_G3</model>
<vendor>AMD</vendor>
<feature policy="require" name="avx"/>
<feature policy="require" name="vme"/>
<feature policy="require" name="xsave"/>
<feature policy="require" name="perfctr_nb"/>
<feature policy="require" name="3dnowprefetch"/>
<feature policy="require" name="sse4.1"/>
<feature policy="require" name="sse4.2"/>
<feature policy="require" name="pclmuldq"/>
<feature policy="require" name="cmp_legacy"/>
<feature policy="require" name="skinit"/>
<feature policy="require" name="osxsave"/>
<feature policy="require" name="fxsr_opt"/>
<feature policy="require" name="cr8legacy"/>
<feature policy="require" name="ht"/>
<feature policy="require" name="pdpe1gb"/>
<feature policy="require" name="osvw"/>
<feature policy="require" name="f16c"/>
<feature policy="require" name="invtsc"/>
<feature policy="require" name="aes"/>
<feature policy="require" name="mmxext"/>
<feature policy="require" name="topoext"/>
<feature policy="require" name="bmi1"/>
<feature policy="require" name="ssse3"/>
<feature policy="require" name="wdt"/>
<feature policy="require" name="extapic"/>
<feature policy="require" name="movbe"/>
<feature policy="require" name="ibs"/>
</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>
<devices>
<emulator>/usr/bin/kvm</emulator>
<controller type="usb" index="0" model="ich9-ehci1"/>
<controller type="usb" index="0" model="ich9-uhci1">
<master startport="0"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<master startport="2"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<master startport="4"/>
</controller>
<interface type="bridge">
<source bridge="br0"/>
<mac address="52:54:00:5a:86:fb"/>
</interface>
<input type="mouse" bus="ps2"/>
<console type="pty"/>
</devices>
</domain>
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:234) File
"/usr/share/virt-manager/virt-install", line 876, in <module>
sys.exit(main())
File "/usr/share/virt-manager/virt-install", line 870, in main
start_install(guest, continue_inst, options)
File "/usr/share/virt-manager/virt-install", line 588, in start_install
fail(e, do_exit=False)
File "/usr/share/virt-manager/virtinst/cli.py", line 234, in fail
logging.debug("".join(traceback.format_stack()))
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] ERROR (cli:235) internal
error: Cannot find suitable CPU model for given data
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:237)
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-install", line 560, in start_install
dom = guest.start_install(meter=meter, noboot=options.noreboot)
File "/usr/share/virt-manager/virtinst/guest.py", line 403, in
start_install
noboot)
File "/usr/share/virt-manager/virtinst/guest.py", line 467, in
_create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error: Cannot find suitable CPU model for given data
[Mon, 27 Oct 2014 17:55:06 virt-install 2697] DEBUG (cli:248) Domain
installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start test
otherwise, please restart your installation.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start test
otherwise, please restart your installation.
log from libvirtd in debug level:
Oct 27 17:49:03 kvm libvirtd: 2636: info : libvirt version: 1.2.9,
package: 3 (root 2014-10-14-16:53:26 bogon)
Oct 27 17:49:03 kvm libvirtd: 2636: warning : x86Decode:1576 : Preferred
CPU model Opteron_G3 not allowed by hypervisor; closest supported model
will be used
More information about the Pkg-libvirt-maintainers
mailing list