Ah, it makes sense now. Thanks guys.
Warm regards,
Amir
From: Peter Maydell
Sent: 19 April 2021 15:29
To: Amir Naseredini
Cc: Thomas Huth; qemu-discuss@nongnu.org
Subject: Re: x86 -> x86 translation
On Mon, 19 Apr 2021 at 15:27, Amir Naseredini wrote:
>
On 19/04/2021 16.23, Amir Naseredini wrote:
Interesting. But is the `KVM` running an `id` function or is the translation
just quite similar to the original code (but not certainly the same)?
Well, KVM is (mostly) not translating the code at all, but running the guest
code in a "virtual machin
On Mon, 19 Apr 2021 at 15:27, Amir Naseredini wrote:
>
> Interesting. But is the `KVM` running an `id` function or is the translation
> just quite similar to the original code (but not certainly the same)?
KVM is not translating anything. It is using the host
CPU's virtualization support, so tha
Interesting. But is the `KVM` running an `id` function or is the translation
just quite similar to the original code (but not certainly the same)?
Warm regards,
Amir
From: Thomas Huth
Sent: 19 April 2021 15:18
To: Amir Naseredini; qemu-discuss@nongnu.org
On Mon, 19 Apr 2021 at 14:47, Amir Naseredini wrote:
>
> Hi,
>
> Quick question. Is the x86 -> x86 in QEMU an `id` function?
No; we do not special case guest-and-host-same in TCG emulation.
(for slightly more technical detail see the answer to this stack
overflow question:
https://stackoverflow.
On 19/04/2021 12.34, Amir Naseredini wrote:
Hi,
Quick question. Is the x86 -> x86 in QEMU an `id` function?
Hi,
the "normal" emulation in QEMU (called TCG - tiny code generator) is
certainly not an identical translation. If you want to run the original code
as close as possible to 1:1 "tra
Hi,
Quick question. Is the x86 -> x86 in QEMU an `id` function?
Warm regards,
Amir