Re: Support Android hypervisors

2024-02-23 Thread RR NN
{
  "emoji": "",
  "version": 1
}

Re: Support Android hypervisors

2024-02-22 Thread Alex Bennée
RR NN  writes:

> Android Virtualization Framework (AVF) supports "KVM(pKVM)"

Does the user-space API change for pKVM? As far as I'm aware the
userspace API is the same.

> also Qualcomm's "Gunyah"

Feel free to review:

  
https://patchew.org/QEMU/20240109090039.1636383-1-quic._5fsvadd...@quicinc.com/

> and MediaTek's "GenieZone" as
> the hypervisor. Please Add these hypervisors to QEMU.

Generally the QEMU community hasn't the bandwidth to implement every
requested feature so we rely on those with an interest to step forward
and work on the code.

That said it doesn't look like the kernel side of UAPI is anywhere close
to getting merged:

  https://lore.kernel.org/lkml/20240129083302.26044-1-yi-de...@mediatek.com/

I should also note that proprietary hypervisors locked to specific SoC's
make it even more challenging for open source developers to work on it.
I for one wouldn't want to try and get a hypervisor working if I
couldn't see the code and get it up and running under QEMU's emulation.

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro



Re: Support Android hypervisors

2024-02-21 Thread Trilok Soni
On 2/21/2024 9:37 PM, RR NN wrote:
> Android Virtualization Framework (AVF) supports "KVM(pKVM)" also Qualcomm's
> "Gunyah" and MediaTek's "GenieZone" as the hypervisor. Please Add these
> hypervisors to QEMU.

I don't understand this comment. Do you want QEMU to work as VMM as well
for these Hypervisors? AVF works w/ CrosVM as VMM. 

Recently Vatsa had submitted RFC for supporting QEMU w/ Gunyah. You can check
that as an example. 

-- 
---Trilok Soni