* ARM hypervisors
@ 2024-03-05 13:39 RR NN
2024-03-05 13:59 ` Peter Maydell
0 siblings, 1 reply; 5+ messages in thread
From: RR NN @ 2024-03-05 13:39 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 54 bytes --]
Hello
ARM hypervisors (pKVM, Gunyah) can run x86 OSs?
[-- Attachment #2: Type: text/html, Size: 97 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ARM hypervisors
2024-03-05 13:39 ARM hypervisors RR NN
@ 2024-03-05 13:59 ` Peter Maydell
2024-03-05 19:14 ` RR NN
2024-03-06 2:21 ` Trilok Soni
0 siblings, 2 replies; 5+ messages in thread
From: Peter Maydell @ 2024-03-05 13:59 UTC (permalink / raw)
To: RR NN; +Cc: qemu-devel
On Tue, 5 Mar 2024 at 13:40, RR NN <rnn59437@gmail.com> wrote:
>
> Hello
> ARM hypervisors (pKVM, Gunyah) can run x86 OSs?
No. A hypervisor uses the host CPU's virtualization extensions
to allow the guest code to run directly on the host CPU. This
is why they're fast. This also means that they only work when
the guest CPU is the same architecture as the host CPU.
So you can run an x86 OS on an x86 host CPU, or an Arm
OS on an Arm host CPU using a hypervisor, but you can't run
a guest of the "wrong" architecture.
thanks
-- PMM
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ARM hypervisors
2024-03-05 13:59 ` Peter Maydell
@ 2024-03-05 19:14 ` RR NN
2024-03-05 19:15 ` RR NN
2024-03-06 2:21 ` Trilok Soni
1 sibling, 1 reply; 5+ messages in thread
From: RR NN @ 2024-03-05 19:14 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
Awesome, thanks for the info!
On Tue, Mar 5, 2024, 17:29 Peter Maydell <peter.maydell@linaro.org> wrote:
> On Tue, 5 Mar 2024 at 13:40, RR NN <rnn59437@gmail.com> wrote:
> >
> > Hello
> > ARM hypervisors (pKVM, Gunyah) can run x86 OSs?
>
> No. A hypervisor uses the host CPU's virtualization extensions
> to allow the guest code to run directly on the host CPU. This
> is why they're fast. This also means that they only work when
> the guest CPU is the same architecture as the host CPU.
> So you can run an x86 OS on an x86 host CPU, or an Arm
> OS on an Arm host CPU using a hypervisor, but you can't run
> a guest of the "wrong" architecture.
>
> thanks
> -- PMM
>
[-- Attachment #2: Type: text/html, Size: 1094 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ARM hypervisors
2024-03-05 19:14 ` RR NN
@ 2024-03-05 19:15 ` RR NN
0 siblings, 0 replies; 5+ messages in thread
From: RR NN @ 2024-03-05 19:15 UTC (permalink / raw)
To: peter.maydell; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
💖
RR reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app>
On Tue, Mar 5, 2024, 22:44 RR NN <rnn59437@gmail.com> wrote:
> Awesome, thanks for the info!
>
> On Tue, Mar 5, 2024, 17:29 Peter Maydell <peter.maydell@linaro.org> wrote:
>
>> On Tue, 5 Mar 2024 at 13:40, RR NN <rnn59437@gmail.com> wrote:
>> >
>> > Hello
>> > ARM hypervisors (pKVM, Gunyah) can run x86 OSs?
>>
>> No. A hypervisor uses the host CPU's virtualization extensions
>> to allow the guest code to run directly on the host CPU. This
>> is why they're fast. This also means that they only work when
>> the guest CPU is the same architecture as the host CPU.
>> So you can run an x86 OS on an x86 host CPU, or an Arm
>> OS on an Arm host CPU using a hypervisor, but you can't run
>> a guest of the "wrong" architecture.
>>
>> thanks
>> -- PMM
>>
>
[-- Attachment #2: Type: text/vnd.google.email-reaction+json, Size: 40 bytes --]
{
"emoji": "💖",
"version": 1
}
[-- Attachment #3: Type: text/html, Size: 1763 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ARM hypervisors
2024-03-05 13:59 ` Peter Maydell
2024-03-05 19:14 ` RR NN
@ 2024-03-06 2:21 ` Trilok Soni
1 sibling, 0 replies; 5+ messages in thread
From: Trilok Soni @ 2024-03-06 2:21 UTC (permalink / raw)
To: qemu-devel
On 3/5/2024 5:59 AM, Peter Maydell wrote:
> On Tue, 5 Mar 2024 at 13:40, RR NN <rnn59437@gmail.com> wrote:
>>
>> Hello
>> ARM hypervisors (pKVM, Gunyah) can run x86 OSs?
>
> No. A hypervisor uses the host CPU's virtualization extensions
> to allow the guest code to run directly on the host CPU. This
> is why they're fast. This also means that they only work when
> the guest CPU is the same architecture as the host CPU.
> So you can run an x86 OS on an x86 host CPU, or an Arm
> OS on an Arm host CPU using a hypervisor, but you can't run
> a guest of the "wrong" architecture.
As explained above you can't run x86 Guest OS w/ above Hypervisors.
You can use the qemu/crosvm w/ above Hypervisors to do the ARM64
guest OS. You may be able to use Pixel device as well w/ the pKVM.
I also suggest that you don't do the "reactions" with gmail. It
doesn't help this conversation.
Let us know what exactly you would like to experiment with above
Hypervisors.
--
---Trilok Soni
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-06 2:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 13:39 ARM hypervisors RR NN
2024-03-05 13:59 ` Peter Maydell
2024-03-05 19:14 ` RR NN
2024-03-05 19:15 ` RR NN
2024-03-06 2:21 ` Trilok Soni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).