qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator
@ 2023-03-03  2:25 Haitao Shan
  2023-03-03 10:33 ` Daniel P. Berrangé
  0 siblings, 1 reply; 8+ messages in thread
From: Haitao Shan @ 2023-03-03  2:25 UTC (permalink / raw)
  To: qemu-devel

Hi, qemu maintainers and community members,

The following 6 patches implemented a new x86_64 CPU accelerator called
the Android Emulator hypervisor driver (AEHD).

The Android Emulator hypervisor driver is a hypervisor for Windows (7
or later), made by porting the KVM from the linux kernel 4.9-rc7. Its
initial purpose was to support the Android Emulator on the AMD
platforms as the old name "Android Emulator Hypervisor Driver for AMD
Processors" suggested. Despite the name, Intel processors have been
supported ever since its first release. Since Intel dropped HAXM support,
the android emulator is switching from HAXM to AEHD.
Refer to:
https://github.com/google/android-emulator-hypervisor-driver.

This patchset implements the user space support for the new
hypervisor. It was initially made by cloning and modifying the KVM
source codes. In order to support users who wanted to use the new
hypervisor to run generic OSes such as Windows and Ubuntu,  it was
periodically rebased to latest QEMU releases ever since QEMU v4.2.0.
Refer to: https://github.com/qemu-gvm/qemu-gvm.

Given that both the Windows driver and patched QEMU were out and
tested for a few years, we would like to see if we could submit our
work to the QEMU community. Users can have another choice of
hypervisor on Windows.

The patchset is tested on Windows 11 (64bit) with the AEHD 2.1 by
installing Ubuntu 22.04 and Windows 10 guests and playing with
savevm/loadvm. It is also tested on Linux (Ubuntu 22.04) and MacOS
(Intel and Apple Silicon), making sure it does not break others.

Any comments are welcome. Thanks!

Note:
The Android Emulator hypervisor driver will be maintained by
Google. However, there is no plan to rebase it to the latest KVM.

-- 
Haitao @Google


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator
@ 2024-12-10  9:08 startergo via
  0 siblings, 0 replies; 8+ messages in thread
From: startergo via @ 2024-12-10  9:08 UTC (permalink / raw)
  To: hshan@google.com
  Cc: berrange@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

I have tried the qemu_staging_virgl_aehd version on Win11 with macOS guest,
It looks like the AVX2 cpu feature is not passed correctly as it causes KP. See here for more details:

[MateuszKrawczuk/qemu at master_wip_aehd](https://github.com/MateuszKrawczuk/qemu/issues/2)

[-- Attachment #2: Type: text/html, Size: 960 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-12-10 14:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-03  2:25 [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator Haitao Shan
2023-03-03 10:33 ` Daniel P. Berrangé
2023-03-03 16:50   ` Haitao Shan
2023-03-03 17:12     ` Daniel P. Berrangé
2023-03-03 17:39       ` Haitao Shan
2023-04-04 11:55         ` Paolo Bonzini
2023-04-18 16:54           ` Haitao Shan
  -- strict thread matches above, loose matches on Subject: below --
2024-12-10  9:08 startergo via

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).