Bug 1140233 - libvirt-1.2.8 + qemu-2.1.0 / smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed
Summary: libvirt-1.2.8 + qemu-2.1.0 / smbios.c:825: smbios_get_tables: Assertion `smbi...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-10 14:23 UTC by Frank Reppin
Modified: 2016-01-02 21:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-01-02 21:18:23 UTC
Embargoed:


Attachments (Terms of Use)
more logs (4.36 KB, application/octet-stream)
2014-09-10 14:24 UTC, Frank Reppin
no flags Details

Description Frank Reppin 2014-09-10 14:23:14 UTC
Description of problem:

Cannot start VM due to 'incorrect' vcpu settings
since upgrading qemu-kvm from 2.0.0 to 2.1.0


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

libvirt-1.2.8
qemu-2.1.0


How reproducible:

Everytime...
It used to work with qemu-kvm 2.0.0 and older - but somehow
the upgrade to 2.1.0 broke it.

Changing/Correcting

  <vcpu placement='static'>1</vcpu>

to

  <vcpu placement='static'>4</vcpu>

fixes this in my case.

Additional info:

Although this might look like something not even related
to libvirt it's interesting to note that libvirt allows
for such configurations.
Removing the <vcpu> declaration alltogether (using virsh edit)
and saving the XML comes back with the 'wrong' not working
<vcpu> declaration - leading to this error message from qemu.

Please see

  http://lists.gnu.org/archive/html/qemu-discuss/2014-08/msg00036.html
  http://permalink.gmane.org/gmane.comp.emulators.qemu/287169

for other examples of this issue.

Please also see attached zipfile for additional log/information:

1) lscpu output
2) uname -a output
3) cat /proc/cpuinfo output
4) this VM libvirtd logfile
5) dumpxml of the VM in question

Thankyou!

Comment 1 Frank Reppin 2014-09-10 14:24:57 UTC
Created attachment 936197 [details]
more logs

Comment 2 Cole Robinson 2014-09-10 14:30:10 UTC
Relevant XML:

  <vcpu placement='static'>1</vcpu>
  <cpu>
    <topology sockets='1' cores='4' threads='2'/>
  </cpu>

Comment 3 Cole Robinson 2016-01-02 21:18:23 UTC
This was a long since fixed qemu issue


Note You need to log in before you can comment on or make changes to this bug.