Re: [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator

2023-04-18 Thread Haitao Shan
On Tue, Apr 4, 2023 at 4:55 AM Paolo Bonzini wrote: > > On 3/3/23 18:39, Haitao Shan wrote: > >> No, we're always open to new proposals. It merely means that it > >> might be harder to justify why the new hypervisor is a net benefit > >> for QEMU, when ther

Re: [PATCH 5/6] Add the aehd-i8259 device type.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 2:09 AM Philippe Mathieu-Daudé wrote: > > On 3/3/23 03:26, Haitao Shan wrote: > > The aehd-i8259 device type represents the AEHD in kernel PICs. > > The irqchips should be always in kernel when AEHD is used. > > > > Signed-off-by: Haitao Sh

Re: [PATCH 6/6] Add the AEHD implementation.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 2:15 AM Philippe Mathieu-Daudé wrote: > > On 3/3/23 03:26, Haitao Shan wrote: > > Implement the AEHD accelerator including the AEHD AccelClass, > > AccelCPUClass, AccelOpsClass. > > > > Signed-off-by: Haitao Shan > > --- > >

Re: [PATCH 3/6] Add the aehd-apic device type.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 1:59 AM Philippe Mathieu-Daudé wrote: > > Hi Haitao, > > On 3/3/23 03:26, Haitao Shan wrote: > > The aehd-apic device type represents the AEHD in kernel APIC. > > The irqchips should be always in kernel when AEHD is used. > >

Re: [PATCH 1/6] Add the Android Emulator hypervisor driver (AEHD) accelerator.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 9:29 AM Daniel P. Berrangé wrote: > > On Fri, Mar 03, 2023 at 09:24:16AM -0800, Haitao Shan wrote: > > On Fri, Mar 3, 2023 at 2:19 AM Philippe Mathieu-Daudé > > wrote: > > > > > > On 3/3/23 08:33, Michael S. Tsirkin wrote: > > &g

Re: [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 9:12 AM Daniel P. Berrangé wrote: > > On Fri, Mar 03, 2023 at 08:50:18AM -0800, Haitao Shan wrote: > > On Fri, Mar 3, 2023 at 2:34 AM Daniel P. Berrangé > > wrote: > > > > > > On Thu, Mar 02, 2023 at 06:25:59PM -0800, Haitao Shan

Re: [PATCH 1/6] Add the Android Emulator hypervisor driver (AEHD) accelerator.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 2:25 AM Philippe Mathieu-Daudé wrote: > > On 3/3/23 11:19, Philippe Mathieu-Daudé wrote: > > On 3/3/23 08:33, Michael S. Tsirkin wrote: > >> On Thu, Mar 02, 2023 at 06:26:12PM -0800, Haitao Shan wrote: > >>> Add the configure support fo

Re: [PATCH 1/6] Add the Android Emulator hypervisor driver (AEHD) accelerator.

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 2:19 AM Philippe Mathieu-Daudé wrote: > > On 3/3/23 08:33, Michael S. Tsirkin wrote: > > On Thu, Mar 02, 2023 at 06:26:12PM -0800, Haitao Shan wrote: > >> Add the configure support for the Android Emulator hypervisor driver > >> accelerator. T

Re: [PATCH 1/6] Add the Android Emulator hypervisor driver (AEHD) accelerator.

2023-03-03 Thread Haitao Shan
On Thu, Mar 2, 2023 at 11:33 PM Michael S. Tsirkin wrote: > > On Thu, Mar 02, 2023 at 06:26:12PM -0800, Haitao Shan wrote: > > Add the configure support for the Android Emulator hypervisor driver > > accelerator. The Android Emulator hypervisor driver is a Windows > > dr

Re: [PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator

2023-03-03 Thread Haitao Shan
On Fri, Mar 3, 2023 at 2:34 AM Daniel P. Berrangé wrote: > > On Thu, Mar 02, 2023 at 06:25:59PM -0800, Haitao Shan wrote: > > 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 > >

[PATCH 3/6] Add the aehd-apic device type.

2023-03-02 Thread Haitao Shan
The aehd-apic device type represents the AEHD in kernel APIC. The irqchips should be always in kernel when AEHD is used. Signed-off-by: Haitao Shan --- MAINTAINERS | 2 + hw/i386/aehd/apic.c | 204 +++ hw/i386/aehd/meson.build | 4 + hw/i386

[PATCH 6/6] Add the AEHD implementation.

2023-03-02 Thread Haitao Shan
Implement the AEHD accelerator including the AEHD AccelClass, AccelCPUClass, AccelOpsClass. Signed-off-by: Haitao Shan --- hw/i386/x86.c |2 +- include/exec/ram_addr.h |2 - include/sysemu/aehd.h | 87 ++ include/sysemu/hw_accel.h

[PATCH 2/6] Add a few AEHD headers.

2023-03-02 Thread Haitao Shan
aehd-interface.h AEHD DeviceIoControl Definitions aehd.h AEHD generic header with only aehd_enabled defined. To be expanded later by following patches. Signed-off-by: Haitao Shan --- MAINTAINERS | 10 + include/sysemu/aehd

[PATCH 1/6] Add the Android Emulator hypervisor driver (AEHD) accelerator.

2023-03-02 Thread Haitao Shan
Add the configure support for the Android Emulator hypervisor driver accelerator. The Android Emulator hypervisor driver is a Windows driver made by porting the KVM from kernel 4.9-rc7. Signed-off-by: Haitao Shan --- accel/Kconfig | 3 +++ docs/about/build-platforms.rst | 2

[PATCH 5/6] Add the aehd-i8259 device type.

2023-03-02 Thread Haitao Shan
The aehd-i8259 device type represents the AEHD in kernel PICs. The irqchips should be always in kernel when AEHD is used. Signed-off-by: Haitao Shan --- hw/i386/aehd/i8259.c | 165 +++ hw/i386/aehd/meson.build | 1 + hw/i386/pc.c | 2

[PATCH 4/6] Add the aehd-ioapic device type.

2023-03-02 Thread Haitao Shan
The aehd-ioapic device type represents the AEHD in kernel IO-APIC. The irqchips should be always in kernel when AEHD is used. Signed-off-by: Haitao Shan --- hw/i386/aehd/ioapic.c | 164 hw/i386/aehd/meson.build| 1 + hw/i386/pc.c

[PATCH 0/6] Adding the Android Emulator hypervisor driver accelerator

2023-03-02 Thread Haitao Shan
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