From: "Alex Bennée" <alex.bennee@linaro.org>
To: tugouxp <13824125580@163.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Did the "TCG" emulation mode has a full capability compare with the "KVM" emulation mode?
Date: Mon, 24 Jun 2024 09:57:40 +0100 [thread overview]
Message-ID: <877ceera4b.fsf@draig.linaro.org> (raw)
In-Reply-To: <62981bf0.8f16.190495cbb92.Coremail.13824125580@163.com> (tugouxp's message of "Mon, 24 Jun 2024 16:28:52 +0800 (CST)")
tugouxp <13824125580@163.com> writes:
> Hello folks:
> I have a puzzle on qemu major two emuation implentions on whole system emulation, that is ,except the emuation speed,
> did the TCG work mode has any weakness than "KVM" work mode on whole system emulations(including kernek and
> user-space)?
It depends on the guest architecture. Some are more complete than
others. The x86 emulation for example doesn't cover all the modern x86
extensions although there have been some improvements to its vector
handling recently.
One thing TCG can do that KVM can't is emulate code running at higher
priority than kernel-mode. For example for ARM we can emulate the
EL3/Root domain and secure and confidential realms. In KVM you can only
run a guest EL1 kernel and its user space.
> is there any work that kvm can do but TCG cant?
>
> of course kvm is much faster than TCG, but my question just about the funtion, not care about speed.
>
> thanks for your kindly help!
> BRs
> zilong.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2024-06-24 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 8:28 Did the "TCG" emulation mode has a full capability compare with the "KVM" emulation mode? tugouxp
2024-06-24 8:57 ` Alex Bennée [this message]
2024-06-24 9:06 ` tugouxp
2024-06-24 9:23 ` Alex Bennée
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=877ceera4b.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=13824125580@163.com \
--cc=qemu-devel@nongnu.org \
/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.