All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1.
@ 2014-08-05 22:12 asavah
  2014-08-06  7:17 ` David Cruz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: asavah @ 2014-08-05 22:12 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

qemu (kvm) 2.1.0 (built from sources) fails to start if number of cores
is greater than 1.

relevant part of commandline arguments:

/usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
-smp 1,maxcpus=4,sockets=1,cores=4,threads=1

the error reported is:

qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
2014-08-05 21:45:35.825+0000: shutting down

however setting 4 sockets with 1 core each allows me to start the
machine just fine.

the system is debian wheezy
Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux

libvirt 1.2.7 (built from sources)

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1353149

Title:
  qemu 2.1.0 fails to start if number of cores is greater than 1.

Status in QEMU:
  New

Bug description:
  qemu (kvm) 2.1.0 (built from sources) fails to start if number of
  cores is greater than 1.

  relevant part of commandline arguments:

  /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
  i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
  -smp 1,maxcpus=4,sockets=1,cores=4,threads=1

  the error reported is:

  qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
  2014-08-05 21:45:35.825+0000: shutting down

  however setting 4 sockets with 1 core each allows me to start the
  machine just fine.

  the system is debian wheezy
  Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux

  libvirt 1.2.7 (built from sources)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1353149/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1.
  2014-08-05 22:12 [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1 asavah
@ 2014-08-06  7:17 ` David Cruz
  2014-08-06  7:27 ` [Qemu-devel] [Bug 1353149] " Andrey Korolyov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David Cruz @ 2014-08-06  7:17 UTC (permalink / raw)
  To: qemu-devel

I can confirm this in Centos 7, also.

Qemu 2.1.0 with latest libvirt.

David Cruz

2014-08-06 0:12 GMT+02:00 asavah <irherder@gmail.com>:
> Public bug reported:
>
> qemu (kvm) 2.1.0 (built from sources) fails to start if number of cores
> is greater than 1.
>
> relevant part of commandline arguments:
>
> /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
> i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
> -smp 1,maxcpus=4,sockets=1,cores=4,threads=1
>
> the error reported is:
>
> qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
> 2014-08-05 21:45:35.825+0000: shutting down
>
> however setting 4 sockets with 1 core each allows me to start the
> machine just fine.
>
> the system is debian wheezy
> Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux
>
> libvirt 1.2.7 (built from sources)
>
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1353149
>
> Title:
>   qemu 2.1.0 fails to start if number of cores is greater than 1.
>
> Status in QEMU:
>   New
>
> Bug description:
>   qemu (kvm) 2.1.0 (built from sources) fails to start if number of
>   cores is greater than 1.
>
>   relevant part of commandline arguments:
>
>   /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
>   i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
>   -smp 1,maxcpus=4,sockets=1,cores=4,threads=1
>
>   the error reported is:
>
>   qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
>   2014-08-05 21:45:35.825+0000: shutting down
>
>   however setting 4 sockets with 1 core each allows me to start the
>   machine just fine.
>
>   the system is debian wheezy
>   Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux
>
>   libvirt 1.2.7 (built from sources)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1353149/+subscriptions
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1353149] Re: qemu 2.1.0 fails to start if number of cores is greater than 1.
  2014-08-05 22:12 [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1 asavah
  2014-08-06  7:17 ` David Cruz
@ 2014-08-06  7:27 ` Andrey Korolyov
  2014-08-06  9:31 ` asavah
  2015-07-22 15:58 ` Andrey Korolyov
  3 siblings, 0 replies; 5+ messages in thread
From: Andrey Korolyov @ 2014-08-06  7:27 UTC (permalink / raw)
  To: qemu-devel

-smp 1,maxcpus=4,sockets=1,cores=4,threads=1

should be

-smp 4,maxcpus=4,sockets=1,cores=4,threads=1

although more human-friendly error is more appropriate there (better
than a silent fallback to either 1- or 4- core topology)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1353149

Title:
  qemu 2.1.0 fails to start if number of cores is greater than 1.

Status in QEMU:
  New

Bug description:
  qemu (kvm) 2.1.0 (built from sources) fails to start if number of
  cores is greater than 1.

  relevant part of commandline arguments:

  /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
  i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
  -smp 1,maxcpus=4,sockets=1,cores=4,threads=1

  the error reported is:

  qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
  2014-08-05 21:45:35.825+0000: shutting down

  however setting 4 sockets with 1 core each allows me to start the
  machine just fine.

  the system is debian wheezy
  Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux

  libvirt 1.2.7 (built from sources)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1353149/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1353149] Re: qemu 2.1.0 fails to start if number of cores is greater than 1.
  2014-08-05 22:12 [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1 asavah
  2014-08-06  7:17 ` David Cruz
  2014-08-06  7:27 ` [Qemu-devel] [Bug 1353149] " Andrey Korolyov
@ 2014-08-06  9:31 ` asavah
  2015-07-22 15:58 ` Andrey Korolyov
  3 siblings, 0 replies; 5+ messages in thread
From: asavah @ 2014-08-06  9:31 UTC (permalink / raw)
  To: qemu-devel

I forgot to mention that VM was created and managed remotely via virt-manager 0.9.5 from another host.
I used custom cpu topology.

however this config worked fine on qemu 2.0.0 with virt-manager 0.9.5

just tried virt-manager 1.0.1 - it creates the proper argument -smp
4,maxcpus=4,sockets=1,cores=4,threads=1

so this was a virt-manager bug already fixed upstream.

this bug can be closed :)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1353149

Title:
  qemu 2.1.0 fails to start if number of cores is greater than 1.

Status in QEMU:
  New

Bug description:
  qemu (kvm) 2.1.0 (built from sources) fails to start if number of
  cores is greater than 1.

  relevant part of commandline arguments:

  /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
  i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
  -smp 1,maxcpus=4,sockets=1,cores=4,threads=1

  the error reported is:

  qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
  2014-08-05 21:45:35.825+0000: shutting down

  however setting 4 sockets with 1 core each allows me to start the
  machine just fine.

  the system is debian wheezy
  Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux

  libvirt 1.2.7 (built from sources)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1353149/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1353149] Re: qemu 2.1.0 fails to start if number of cores is greater than 1.
  2014-08-05 22:12 [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1 asavah
                   ` (2 preceding siblings ...)
  2014-08-06  9:31 ` asavah
@ 2015-07-22 15:58 ` Andrey Korolyov
  3 siblings, 0 replies; 5+ messages in thread
From: Andrey Korolyov @ 2015-07-22 15:58 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1353149

Title:
  qemu 2.1.0 fails to start if number of cores is greater than 1.

Status in QEMU:
  Fix Released

Bug description:
  qemu (kvm) 2.1.0 (built from sources) fails to start if number of
  cores is greater than 1.

  relevant part of commandline arguments:

  /usr/bin/qemu-system-x86_64 -name test3 -S -machine pc-
  i440fx-2.1,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime mlock=off
  -smp 1,maxcpus=4,sockets=1,cores=4,threads=1

  the error reported is:

  qemu-system-x86_64: /home/asavah/pkgbuild/qemu-2.1.0/hw/i386/smbios.c:825: smbios_get_tables: Assertion `smbios_smp_sockets >= 1' failed.
  2014-08-05 21:45:35.825+0000: shutting down

  however setting 4 sockets with 1 core each allows me to start the
  machine just fine.

  the system is debian wheezy
  Linux hostname 3.16.0-hostname2 #2 SMP Mon Aug 4 17:02:16 EEST 2014 x86_64 GNU/Linux

  libvirt 1.2.7 (built from sources)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1353149/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-22 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 22:12 [Qemu-devel] [Bug 1353149] [NEW] qemu 2.1.0 fails to start if number of cores is greater than 1 asavah
2014-08-06  7:17 ` David Cruz
2014-08-06  7:27 ` [Qemu-devel] [Bug 1353149] " Andrey Korolyov
2014-08-06  9:31 ` asavah
2015-07-22 15:58 ` Andrey Korolyov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.