Re: [Qemu-devel] Re: [PATCH] Fix bug for vcpu hotplug

2010-08-19 Thread Anthony Liguori
On 08/19/2010 10:34 AM, Avi Kivity wrote: On 08/19/2010 06:24 PM, Anthony Liguori wrote: On 08/18/2010 02:33 AM, Avi Kivity wrote: On 08/18/2010 10:17 AM, Liu, Jinsong wrote: During test, we found qemu-kvm has a bug result in guestos shutdown when vcpu hotadd. This patch is to fix the bug,

Re: [Qemu-devel] Re: [PATCH] Fix bug for vcpu hotplug

2010-08-19 Thread Avi Kivity
On 08/19/2010 06:24 PM, Anthony Liguori wrote: On 08/18/2010 02:33 AM, Avi Kivity wrote: On 08/18/2010 10:17 AM, Liu, Jinsong wrote: During test, we found qemu-kvm has a bug result in guestos shutdown when vcpu hotadd. This patch is to fix the bug, allow hotplug for sysbus qdev. --- a/hw/qd

Re: [Qemu-devel] Re: [PATCH] Fix bug for vcpu hotplug

2010-08-19 Thread Anthony Liguori
On 08/18/2010 02:33 AM, Avi Kivity wrote: On 08/18/2010 10:17 AM, Liu, Jinsong wrote: During test, we found qemu-kvm has a bug result in guestos shutdown when vcpu hotadd. This patch is to fix the bug, allow hotplug for sysbus qdev. --- a/hw/qdev.c +++ b/hw/qdev.c @@ -108,6 +108,7 @@ DeviceSt

[Qemu-devel] Re: [PATCH] Fix bug for vcpu hotplug

2010-08-18 Thread Avi Kivity
On 08/18/2010 10:17 AM, Liu, Jinsong wrote: During test, we found qemu-kvm has a bug result in guestos shutdown when vcpu hotadd. This patch is to fix the bug, allow hotplug for sysbus qdev. --- a/hw/qdev.c +++ b/hw/qdev.c @@ -108,6 +108,7 @@ DeviceState *qdev_create(BusState *bus, const char

[Qemu-devel] RE: [PATCH] Fix bug for vcpu hotplug

2010-08-18 Thread Liu, Jinsong
Avi Kivity wrote: > On 08/06/2010 06:36 AM, Liu, Jinsong wrote: >> Recently seabios implement vcpu hotplug infrastructure. >> During test, we found qemu-kvm has a bug result in guestos shutdown >> when vcpu hotadd. This patch is to fix the bug, mark >> bus->allow_hotplug as 1 after qdev_hotplug i