All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix QEMU HVM hotplug race in QEMU traditional (Xen 4.1, Xen 4.2, and Xen 4.3) (v1).
@ 2013-05-13 16:56 Konrad Rzeszutek Wilk
  2013-05-13 16:56 ` [PATCH 1/3] piix4acpi, xen, vcpu hotplug: Split the notification from the changes Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-05-13 16:56 UTC (permalink / raw)
  To: Ian.Jackson, xen-devel, stefano.stabellini

Hey Ian and Stefano,

Please see this thread: http://lists.xen.org/archives/html/xen-devel/2013-05/msg01053.html
for the debug patches and some of the discussion.

These three patches fix an race that has been in QEMU traditional for a long time.

The guts of the bug is that if you have a guest with these options:

vcpus=1
maxvcpus=32

and do 'xl vcpu-set <guest> 32' the guest OS only seems to hotplug 13 or 14 of the vCPUs.
To hotplug the rest I have to play games by offlining/onlining arbitrary number of 
them.

Or I can do 'xl vcpu-set <guest> 8', then '16', '24', etc. In groups of eight.

These patches fix this and should be considered for backport.
 hw/piix4acpi.c | 18 ++++++++-------
 monitor.c      |  4 ++--
 sysemu.h       |  4 +++-
 xenstore.c     | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
 4 files changed, 81 insertions(+), 18 deletions(-)

Konrad Rzeszutek Wilk (3):
      piix4acpi, xen, vcpu hotplug: Split the notification from the changes.
      piix4acpi, xen: Clarify that the qemu_set_irq calls just do an IRQ pulse.
      piix4acpi, xen, hotplug: Fix race with ACPI AML code and hotplug.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH] qemu-traditional - ACPI vCPU hotplug fixes for Xen 4.3 (v2).
@ 2013-05-14 17:48 Konrad Rzeszutek Wilk
  2013-05-14 17:48 ` [PATCH 1/3] piix4acpi, xen, vcpu hotplug: Split the notification from the changes Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 13+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-05-14 17:48 UTC (permalink / raw)
  To: xen-devel, stefano.stabellini, Ian.Jackson

Please see the three patches that fix the ACPI AML and QEMU race.
They have been Ack-ed by both George (for inclusion in Xen 4.3) and
by Stefano. They should be candidates for back-port in older hypervisors.


Konrad Rzeszutek Wilk (3):
      piix4acpi, xen, vcpu hotplug: Split the notification from the changes.
      piix4acpi, xen: Clarify that the qemu_set_irq calls just do an IRQ pulse.
      piix4acpi, xen, hotplug: Fix race with ACPI AML code and hotplug.

 hw/piix4acpi.c |   18 ++++++++------
 monitor.c      |    4 +-
 sysemu.h       |    4 ++-
 xenstore.c     |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 78 insertions(+), 18 deletions(-)

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

end of thread, other threads:[~2013-05-14 17:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 16:56 [PATCH] Fix QEMU HVM hotplug race in QEMU traditional (Xen 4.1, Xen 4.2, and Xen 4.3) (v1) Konrad Rzeszutek Wilk
2013-05-13 16:56 ` [PATCH 1/3] piix4acpi, xen, vcpu hotplug: Split the notification from the changes Konrad Rzeszutek Wilk
2013-05-13 17:01   ` Stefano Stabellini
2013-05-14  9:14     ` George Dunlap
2013-05-14 13:22       ` Konrad Rzeszutek Wilk
2013-05-13 16:56 ` [PATCH 2/3] piix4acpi, xen: Clarify that the qemu_set_irq calls just do an IRQ pulse Konrad Rzeszutek Wilk
2013-05-13 17:01   ` Stefano Stabellini
2013-05-13 16:56 ` [PATCH 3/3] piix4acpi, xen, hotplug: Fix race with ACPI AML code and hotplug Konrad Rzeszutek Wilk
2013-05-13 17:17   ` Stefano Stabellini
2013-05-13 18:20     ` Konrad Rzeszutek Wilk
2013-05-13 19:28       ` Konrad Rzeszutek Wilk
2013-05-14 13:55         ` Stefano Stabellini
  -- strict thread matches above, loose matches on Subject: below --
2013-05-14 17:48 [PATCH] qemu-traditional - ACPI vCPU hotplug fixes for Xen 4.3 (v2) Konrad Rzeszutek Wilk
2013-05-14 17:48 ` [PATCH 1/3] piix4acpi, xen, vcpu hotplug: Split the notification from the changes Konrad Rzeszutek Wilk

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.