Re: [KVM] About releasing vcpu when closing vcpu fd

2014-07-11 Thread Anshul Makkar
Hi Gu, Sorry, just wanted to check whether you are going to release patchset or it will take some more time. Thanks Anshul Makkar On Tue, Jul 1, 2014 at 4:07 AM, Gu Zheng wrote: > Hi Anshul, > On 06/30/2014 10:41 PM, Anshul Makkar wrote: > >> Hi, >> >> Currently as per the specs for cpu_hot(un)

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-07-04 Thread Anshul Makkar
Hi Gu Zheng, Will prefer to wait for the moment . There is no point doing duplicate things in parallel. Thanks Anshul Makkar On Wed, Jul 2, 2014 at 11:43 AM, Igor Mammedov wrote: > On Mon, 30 Jun 2014 16:41:07 +0200 > Anshul Makkar wrote: > >> Hi, >> >> Currently as per the specs for cpu_hot(

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-07-02 Thread Igor Mammedov
On Mon, 30 Jun 2014 16:41:07 +0200 Anshul Makkar wrote: > Hi, > > Currently as per the specs for cpu_hot(un)plug, ACPI GPE Block: IO > ports 0xafe0-0xafe3 where each bit corresponds to each CPU. > > Currently, EJ0 method in acpi-dsdt-cpu-hotplu.dsl doesn't do anything. > > Method(CPEJ, 2, No

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-06-30 Thread Gu Zheng
Hi Anshul, On 06/30/2014 10:41 PM, Anshul Makkar wrote: > Hi, > > Currently as per the specs for cpu_hot(un)plug, ACPI GPE Block: IO > ports 0xafe0-0xafe3 where each bit corresponds to each CPU. > > Currently, EJ0 method in acpi-dsdt-cpu-hotplu.dsl doesn't do anything. > > Method(CPEJ, 2, Not

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-06-30 Thread Anshul Makkar
Hi, Currently as per the specs for cpu_hot(un)plug, ACPI GPE Block: IO ports 0xafe0-0xafe3 where each bit corresponds to each CPU. Currently, EJ0 method in acpi-dsdt-cpu-hotplu.dsl doesn't do anything. Method(CPEJ, 2, NotSerialized) { // _EJ0 method - eject callback Sleep(200)

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-06-06 Thread Gleb Natapov
On Fri, Jun 06, 2014 at 03:02:59PM +0200, Anshul Makkar wrote: > IIRC, Igor was of the opinion that patch for vcpu deletion will be > incomplete till its handled properly in kvm i.e vcpus are destroyed > completely. http://comments.gmane.org/gmane.comp.emulators.kvm.devel/114347 > . > > So can th

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-06-06 Thread Anshul Makkar
Oh yes, sorry for the ambiguity. I meant proposal to "park" unplugged vcpus. Thanks for the suggesting the practical approach. Anshul Makkar On Fri, Jun 6, 2014 at 3:36 PM, Gleb Natapov wrote: > On Fri, Jun 06, 2014 at 03:02:59PM +0200, Anshul Makkar wrote: >> IIRC, Igor was of the opinion tha

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-06-06 Thread Anshul Makkar
IIRC, Igor was of the opinion that patch for vcpu deletion will be incomplete till its handled properly in kvm i.e vcpus are destroyed completely. http://comments.gmane.org/gmane.comp.emulators.kvm.devel/114347 . So can the above proposal where just vcpus can be disabled and reused in qemu is a

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-05-29 Thread Gleb Natapov
On Thu, May 29, 2014 at 01:40:08PM +0800, Gu Zheng wrote: > >> There was a patch(from Chen Fan, last august) about releasing vcpu when > >> closing vcpu fd , but > >> your comment said "Attempt where made to make it possible to destroy > >> individua

Re: [KVM] About releasing vcpu when closing vcpu fd

2014-05-28 Thread Gu Zheng
Hi Gleb, On 05/23/2014 05:43 PM, Gleb Natapov wrote: > CCing Paolo. > > On Tue, May 20, 2014 at 01:45:55PM +0800, Gu Zheng wrote: >> Hi Gleb, >> Excuse me for offline noisy. > You will get much quicker response if you'll post to the list :) Got it.:) > >> There was a patch(from Chen Fan, last