[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-23 Thread Gleb Natapov
On Mon, Nov 22, 2010 at 05:00:18PM -0600, Anthony Liguori wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. The purpose of these commands are to implement

[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Anthony Liguori
On 11/22/2010 05:00 PM, Anthony Liguori wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. The purpose of these commands are to implement CPU hard limits using an

[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Chris Wright
* Anthony Liguori (aligu...@us.ibm.com) wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. In the past SIGSTOP has introduced time skew. Have you verified

[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Anthony Liguori
On 11/22/2010 05:04 PM, Chris Wright wrote: * Anthony Liguori (aligu...@us.ibm.com) wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. In the past

[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Chris Wright
* Anthony Liguori (aligu...@linux.vnet.ibm.com) wrote: On 11/22/2010 05:04 PM, Chris Wright wrote: * Anthony Liguori (aligu...@us.ibm.com) wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that

[Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Anthony Liguori
On 11/22/2010 05:56 PM, Chris Wright wrote: * Anthony Liguori (aligu...@linux.vnet.ibm.com) wrote: On 11/22/2010 05:04 PM, Chris Wright wrote: * Anthony Liguori (aligu...@us.ibm.com) wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to

Re: [Qemu-devel] Re: [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-22 Thread Avi Kivity
On 11/23/2010 01:04 AM, Chris Wright wrote: * Anthony Liguori (aligu...@us.ibm.com) wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. In the past SIGSTOP