Re: [Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-11 Thread Paolo Bonzini
On 11/11/2016 12:25, Vincent Palatin wrote: > On Wed, Nov 9, 2016 at 6:32 PM, Paolo Bonzini wrote: >> >> >> On 09/11/2016 18:19, Vincent Palatin wrote: > Please try removing this block and instead starting QEMU with > -mem-prealloc. If it works, remove hax_populate_ram and just set

Re: [Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-11 Thread Vincent Palatin
On Wed, Nov 9, 2016 at 6:32 PM, Paolo Bonzini wrote: > > > On 09/11/2016 18:19, Vincent Palatin wrote: >>> > Please try removing this block and instead starting QEMU with >>> > -mem-prealloc. If it works, remove hax_populate_ram and just set >>> > mem_prealloc to 1 in hax_accel_init. >> it's not

Re: [Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-09 Thread Paolo Bonzini
On 09/11/2016 18:19, Vincent Palatin wrote: >> > Please try removing this block and instead starting QEMU with >> > -mem-prealloc. If it works, remove hax_populate_ram and just set >> > mem_prealloc to 1 in hax_accel_init. > it's not working, later hax_set_ram() is unhappy about what it is > fin

Re: [Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-09 Thread Vincent Palatin
On Tue, Nov 8, 2016 at 9:37 PM, Paolo Bonzini wrote: > >> diff --git a/cpu-exec.c b/cpu-exec.c >> index 4188fed..4bd238b 100644 >> --- a/cpu-exec.c >> +++ b/cpu-exec.c > > All this should not be needed anymore with unrestricted guest support. Removed in v2 > >> diff --git a/cpus.c b/cpus.c >> in

Re: [Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-08 Thread Paolo Bonzini
> diff --git a/cpu-exec.c b/cpu-exec.c > index 4188fed..4bd238b 100644 > --- a/cpu-exec.c > +++ b/cpu-exec.c All this should not be needed anymore with unrestricted guest support. > diff --git a/cpus.c b/cpus.c > index fc78502..6e0f572 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -35,6 +35,7 @@ >

[Qemu-devel] [PATCH 3/3] Plumb the HAXM-based hardware acceleration support

2016-11-08 Thread Vincent Palatin
Use the Intel HAX is kernel-based hardware acceleration module for Windows and MacOSX (similar to KVM on Linux). Based on the "target-i386: Add Intel HAX to android emulator" patch from David Chou Signed-off-by: Vincent Palatin --- Makefile.target | 1 + configure |