Skip to contentSkip to conversation

CPU hotplug

Qemu-devel Stefan Priebe 4 participants 11 messages Aug 30, 2012

lore
Share & tools
lore
#0 lore raw

Hello list,

what is the status of CPU hotplug support?

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

Greets,
Stefan

#1 lore raw
Quoted 7 lines · On Thu, 30 Aug 2012 11:06:21 +0200 Stefan Priebe <[email protected]> wrote:

Hello list,

what is the status of CPU hotplug support?

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

it's work in progress and not implemented upstream yet.
You could try RHEl6.3 if you'd like to play with tech-preview feature.

Quoted 3 lines

Greets,
Stefan

I'll create cpu hotplug page on qemu wiki to track status and todo list if no one objects to it.

Signature · 2 lines
Regards,
  Igor
#2 lore raw
In reply to Stefan Priebe

Hello,

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

Don't know why that patch is not in upstream - Bo Yang?

Regards,
Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#3 lore raw
Quoted 8 lines · Andreas Färber

Hello,

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

The same is for debian/ubuntu: http://bugs.debian.org/680551

/mjt

#4 lore raw
In reply to Andreas Färber

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 10 lines

Hello,

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

Don't know why that patch is not in upstream - Bo Yang?

But this just disables CPU Hotelzug and does Not fix it?

Stefan

#5 lore raw

Am 30.08.2012 18:35, schrieb Stefan Priebe:

Quoted 10 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 6 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#6 lore raw

Am 30.08.2012 18:43, schrieb Andreas Färber:

Quoted 7 lines

Am 30.08.2012 18:35, schrieb Stefan Priebe:

Quoted 6 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 4 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Mhm RHEL 6.3 claims to support this?
Dynamic virtual CPU allocation
=>
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.3_Release_Notes/virtualization.html

Greets,
Stefan

#7 lore raw
Quoted 11 lines · On Thu, 30 Aug 2012 19:23:14 +0200 Stefan Priebe <[email protected]> wrote:

Am 30.08.2012 18:43, schrieb Andreas Färber:

Quoted 10 lines

Am 30.08.2012 18:35, schrieb Stefan Priebe:

Quoted 9 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 6 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Mhm RHEL 6.3 claims to support this?

it's not officially supported, it's just tech-preview. That allows to play with hotplug and uncover possible guest issues early.

Quoted 7 lines

Dynamic virtual CPU allocation
=>
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.3_Release_Notes/virtualization.html

Greets,
Stefan

Signature · 2 lines
Regards,
  Igor
#8 lore raw

Am 30.08.2012 20:40, schrieb Igor Mammedov:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 6 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Mhm RHEL 6.3 claims to support this?

it's not officially supported, it's just tech-preview. That allows to play with hotplug and uncover possible guest issues early.

Yes, but does this mean that is doesn't work at RHEL too? i wasn't able to get it working any guest or host at all.

Greets,
Stefan

#9 lore raw
Quoted 15 lines · On Thu, 30 Aug 2012 20:45:10 +0200 Stefan Priebe <[email protected]> wrote:

Am 30.08.2012 20:40, schrieb Igor Mammedov:

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 10 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 6 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Mhm RHEL 6.3 claims to support this?

it's not officially supported, it's just tech-preview. That allows to play with hotplug and uncover possible guest issues early.

Yes, but does this mean that is doesn't work at RHEL too? i wasn't able to get it working any guest or host at all.

It works with RHEL 6.3 host/guest combo. Extra testing is greatly appreciated.

Quoted 3 lines

Greets,
Stefan

Signature · 2 lines
Regards,
  Igor
#10 lore raw

Am 30.08.2012 20:56, schrieb Igor Mammedov:

Quoted 18 lines
Quoted 15 lines · On Thu, 30 Aug 2012 20:45:10 +0200 Stefan Priebe <[email protected]> wrote:

Am 30.08.2012 20:40, schrieb Igor Mammedov:

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 10 lines

Am 30.08.2012 um 17:41 schrieb Andreas Färber <[email protected]>:

Quoted 6 lines

Am 30.08.2012 11:06, schrieb Stefan Priebe:

Quoted 2 lines

I tried latest 1.2rc1 kvm-qemu with vanilla kernel v3.5.2 but the VM just crashes when sending cpu_set X online through qm monitor.

For SLES we're carrying a patch by Kamalesh Babulal that prevents this (BNC#747339).

But this just disables CPU [hotplug] and does Not fix it?

It fixes the crash. Hotplug needs to be implemented first, and this has been taking several months already (for x86, to be specific).

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Mhm RHEL 6.3 claims to support this?

it's not officially supported, it's just tech-preview. That allows to play with hotplug and uncover possible guest issues early.

Yes, but does this mean that is doesn't work at RHEL too? i wasn't able to get it working any guest or host at all.

It works with RHEL 6.3 host/guest combo. Extra testing is greatly appreciated.

mhm OK. I'm using Debian Squeeze with qemu-kvm 1.2rc1 and vanilla kernel 3.5.2 as guest AND host.

This just results in the known crash.

Stefan