[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC V2 10/10] cpus: reclaim allocated vCPU objects
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC V2 10/10] cpus: reclaim allocated vCPU objects |
Date: |
Mon, 8 Dec 2014 16:38:38 +0000 |
On 8 December 2014 at 15:38, Igor Mammedov <address@hidden> wrote:
> On Mon, 8 Dec 2014 10:50:21 +0000
> Peter Maydell <address@hidden> wrote:
>> Why can't the kernel handle our just destroying the vcpu and
>> later recreating it if necessary? That seems the more logical
>> approach than trying to keep fds hanging around in userspace
>> for reuse.
>
> It's somewhat complex approach and it was suggested on KVM list to go
> parking route. for more details see thread
> https://www.mail-archive.com/address@hidden/msg102839.html
If the kernel can't cope with userspace creating and destroying
vCPUs dynamically then that seems like a kernel bug to me.
It seems better to me to fix that directly rather than make
non-x86 architectures change things around to help with working
around that bug...
thanks
-- PMM
Re: [Qemu-devel] [RFC V2 10/10] cpus: reclaim allocated vCPU objects, Gu Zheng, 2014/12/08