From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Question about suspended virtual machine resources on a kvm hypervisor Date: Tue, 11 Mar 2014 09:37:17 +0100 Message-ID: <531ECB3D.5070508@redhat.com> References: <531EC00D.4000900@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm To: William Heath Return-path: Received: from mail-ee0-f51.google.com ([74.125.83.51]:63990 "EHLO mail-ee0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379AbaCKIhV (ORCPT ); Tue, 11 Mar 2014 04:37:21 -0400 Received: by mail-ee0-f51.google.com with SMTP id c13so3590422eek.10 for ; Tue, 11 Mar 2014 01:37:20 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Il 11/03/2014 09:10, William Heath ha scritto: > So is the CPU re-allocated to other virtual machines that need them? In KVM, virtual CPUs are just threads; if a thread does not want to run, the Linux scheduler does not give it any CPU. If the virtual machine monitor you're using is QEMU, the virtual CPU threads of a suspended VM will be waiting on a condition variable until the VM is resumed. > I take it then that RAM and disk usage are not reallocated? No. But RAM can be swapped out, for both suspended and running VMs. Paolo