From: Paolo Bonzini <pbonzini@redhat.com>
To: William Heath <wgheath@gmail.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: Re: Question about suspended virtual machine resources on a kvm hypervisor
Date: Tue, 11 Mar 2014 09:37:17 +0100 [thread overview]
Message-ID: <531ECB3D.5070508@redhat.com> (raw)
In-Reply-To: <CAAcUL6nHWA0uaOXefv=upJ=6Ht2ymJLwZfuNvUDMJvaQJWzqbQ@mail.gmail.com>
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
prev parent reply other threads:[~2014-03-11 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 20:33 Question about suspended virtual machine resources on a kvm hypervisor William Heath
2014-03-11 7:49 ` Paolo Bonzini
2014-03-11 8:10 ` William Heath
2014-03-11 8:37 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531ECB3D.5070508@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=wgheath@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.