Re: [Qemu-devel] vCPU hotplug roadmap

2013-01-30 Thread Igor Mammedov
On Wed, 30 Jan 2013 14:02:16 +0100 Andreas Färber wrote: > Am 30.01.2013 13:49, schrieb Eduardo Habkost: > > On Wed, Jan 30, 2013 at 11:58:56AM +0100, Andreas Färber wrote: [...] > > http://article.gmane.org/gmane.comp.emulators.qemu/186778 > > ...and I have been working on making it even simpl

Re: vCPU hotplug roadmap

2013-01-30 Thread Andreas Färber
Am 30.01.2013 13:49, schrieb Eduardo Habkost: > On Wed, Jan 30, 2013 at 11:58:56AM +0100, Andreas Färber wrote: >> * CPU class_init for -cpu host requires KVM init (imammedo) >> [suggestion by ehabkost to use kvm_arch_vcpu_init, WIP by afaerber] > > I don't know what you mean by "use kvm_arch_vc

Re: vCPU hotplug roadmap (was: Minutes for KVM call 2013-01-15)

2013-01-30 Thread Eduardo Habkost
driver=Haswell-x86_64-cpu id=qdevid` > [You can try this today and see it failing / not working.] > > Pros: > * QMP/HMP command available today and known to users (afaerber) > * Unified command for device and CPU hot-plug (imammedo) > * Would allow first doing thread-lev

vCPU hotplug roadmap (was: Minutes for KVM call 2013-01-15)

2013-01-30 Thread Andreas Färber
express topologies (ehabkost) === device_add === `device_add driver=Haswell-x86_64-cpu id=qdevid` [You can try this today and see it failing / not working.] Pros: * QMP/HMP command available today and known to users (afaerber) * Unified command for device and CPU hot-plug (imammedo) * Would

vCPU hotplug

2012-01-31 Thread Vinod Chegu
Dear All, I am using version 1.0 of qemu-kvm along with 3.2.x host+guest kernels on an X86_64 server. I was unable to trigger a hotplug of a vCPU from the qemu's monitor prompt (tripped over an assertion in qemu). Tried to look through the recent archives and noticed a couple of proposed fix

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

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

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_h

Re: [PATCH] Fix bug for vcpu hotplug

2010-08-15 Thread Avi Kivity
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 init done. Please copy q

[PATCH] Fix bug for vcpu hotplug

2010-08-05 Thread Liu, Jinsong
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 init done. Signed-off-by: Liu, Jinsong fix-vcpu-hotplug.patch Descript

RE: vcpu hotplug support

2010-01-21 Thread Liu, Jinsong
Avi Kivity wrote: > On 01/21/2010 01:54 PM, Liu, Jinsong wrote: >> Avi, >> >> I just send 2 patches for KVM vcpu hotplug support. >> 1 is seabios patch: Setup vcpu add/remove infrastructure, including >> madt bios_info and dsdt 2 is qemu-kvm patch: Debug vcpu

Re: vcpu hotplug support

2010-01-21 Thread Avi Kivity
On 01/21/2010 01:54 PM, Liu, Jinsong wrote: Avi, I just send 2 patches for KVM vcpu hotplug support. 1 is seabios patch: Setup vcpu add/remove infrastructure, including madt bios_info and dsdt 2 is qemu-kvm patch: Debug vcpu add The patches look reasonable (of course I'd like t

vcpu hotplug support

2010-01-21 Thread Liu, Jinsong
Avi, I just send 2 patches for KVM vcpu hotplug support. 1 is seabios patch: Setup vcpu add/remove infrastructure, including madt bios_info and dsdt 2 is qemu-kvm patch: Debug vcpu add Thanks, Jinsong-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a

RE: [PATCH] kvm: qemu: support ioperm for vcpu hotplug

2008-11-12 Thread Han, Weidong
Guillaume Thouvenin wrote: > On Tue, 11 Nov 2008 16:28:04 - > Avi Kivity <[EMAIL PROTECTED]> wrote: > > >> @@ -450,6 +454,10 @@ static void *ap_main_loop(void *_env) >> kvm_create_vcpu(kvm_context, env->cpu_index); >> kvm_qemu_init_env(env); >> >> +/* do ioperm for io ports of

Re: [PATCH] kvm: qemu: support ioperm for vcpu hotplug

2008-11-12 Thread Guillaume Thouvenin
On Tue, 11 Nov 2008 16:28:04 - Avi Kivity <[EMAIL PROTECTED]> wrote: > @@ -450,6 +454,10 @@ static void *ap_main_loop(void *_env) > kvm_create_vcpu(kvm_context, env->cpu_index); > kvm_qemu_init_env(env); > > +/* do ioperm for io ports of assigned devices */ > +LIST_FOREACH

RE: [PATCH] kvm: qemu: support ioperm for assigned io ports when vcpu hotplug

2008-11-10 Thread Han, Weidong
Avi Kivity wrote: > Han, Weidong wrote: >> From 39ca008b144e1e729223b1302fcdd7a435370487 Mon Sep 17 00:00:00 >> 2001 From: Weidong Han <[EMAIL PROTECTED]> >> Date: Mon, 10 Nov 2008 14:33:43 +0800 >> Subject: [PATCH] support ioperm for vcpu hotplug >> &g

Re: [PATCH] kvm: qemu: support ioperm for assigned io ports when vcpu hotplug

2008-11-10 Thread Avi Kivity
Han, Weidong wrote: From 39ca008b144e1e729223b1302fcdd7a435370487 Mon Sep 17 00:00:00 2001 From: Weidong Han <[EMAIL PROTECTED]> Date: Mon, 10 Nov 2008 14:33:43 +0800 Subject: [PATCH] support ioperm for vcpu hotplug Track ioperm settings, when a new VCPU comes online, issue

[PATCH] kvm: qemu: support ioperm for assigned io ports when vcpu hotplug

2008-11-09 Thread Han, Weidong
>From 39ca008b144e1e729223b1302fcdd7a435370487 Mon Sep 17 00:00:00 2001 From: Weidong Han <[EMAIL PROTECTED]> Date: Mon, 10 Nov 2008 14:33:43 +0800 Subject: [PATCH] support ioperm for vcpu hotplug Track ioperm settings, when a new VCPU comes online, issue ioperm. Signed-off-by: We