Re: [Qemu-devel] [PATCH v3 0/3] Add HAX support

2016-12-08 Thread Yu Ning
As a HAXM developer at Intel, I just want to come out and show our support for Vincent's upstreaming effort. We'd love to see HAXM support code land in upstream QEMU, and will do what is necessary to make that happen. We've been working on the issues that Vincent raised and have made some

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

2017-01-08 Thread Yu Ning
h just a FIXME comment, but... Yu Ning, can you tell us what user_event_pending is for? :) My hunch is that we should call hax_raise_event after setting cpu->exit_request, like hax_raise_event(); /* write user_event_pending before exit_request */ smp_wmb();

[Qemu-devel] [PATCH] hax: Fix memory mapping de-duplication logic

2017-04-28 Thread Yu Ning
h is not supported by HAXM kernel module at this time. Signed-off-by: Yu Ning <yu.n...@linux.intel.com> --- target/i386/hax-mem.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/target/i386/hax-mem.c b/target/i386/hax-mem.c index 2884040..af09034 100644

Re: [Qemu-devel] HAXM is now open source

2017-11-15 Thread Yu Ning
On 11/15/2017 3:13, John Snow wrote: On 11/14/2017 06:09 AM, Thomas Huth wrote: That's great news! I hope this all will help to promote QEMU on Windows and macOS quite a bit! However, during the past months, I noticed a couple of times that users ask on IRC or the qemu-discuss mailing list

Re: [Qemu-devel] [PATCH] Add a blog post about HAXM acceleration on Windows

2017-11-22 Thread Yu Ning
On 11/23/2017 1:03, Thomas Huth wrote: On 22.11.2017 15:52, Yu Ning wrote: On 11/22/2017 20:25, Thomas Huth wrote: [...] Would it be OK to remove the qemu-debian-wheezy-gui-with-haxm.png from the blog post? Yes, I'm fine with removing it.  Sorry I haven't installed Jekyll and didn't test

Re: [Qemu-devel] [PATCH] Add a blog post about HAXM acceleration on Windows

2017-11-22 Thread Yu Ning
On 11/22/2017 20:25, Thomas Huth wrote: On 22.11.2017 09:10, Yu Ning wrote: From: Yu Ning <yu.n...@intel.com> Following my announcement of the open source release of HAXM, I was asked to write a blog post for normal Windows users to advertise the use of "-accel hax": https

Re: [Qemu-devel] [PATCH] Add a blog post about HAXM acceleration on Windows

2017-11-28 Thread Yu Ning
On 11/29/2017 9:25, Fam Zheng wrote: On Tue, 11/28 13:57, Eric Blake wrote: On 11/22/2017 04:43 AM, no-re...@patchew.org wrote: Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/15/2017 22:18, Paolo Bonzini wrote: On 15/11/2017 09:25, Yu Ning wrote: On 11/15/2017 3:13, John Snow wrote: On 11/14/2017 06:09 AM, Thomas Huth wrote: That's great news! I hope this all will help to promote QEMU on Windows and macOS quite a bit! However, during the past months, I

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/17/2017 16:30, Thomas Huth wrote: On 17.11.2017 09:17, Yu Ning wrote: [...] Is there a preferred document format for the QEMU blog, e.g. Markdown? Yes, we're using markdown of Jekyll (https://jekyllrb.com/docs/posts/). Please clone the qemu-web repository (see https://git.qemu.org/?p

Re: [Qemu-devel] [PATCH] hax-interface: Add BSD license

2017-11-17 Thread Yu Ning
On 11/17/2017 2:00, Eduardo Habkost wrote: On Thu, Nov 16, 2017 at 07:47:44AM +0100, Stefan Weil wrote: Am 16.11.2017 um 07:50 schrieb yu.n...@linux.intel.com: From: Yu Ning <yu.n...@intel.com> hax-interface.h defines the interface between the HAXM kernel module and the HAX

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/17/2017 16:53, Kamil Rytarowski wrote: On 14.11.2017 09:54, Yu Ning wrote: Hello, As some of you may have noticed, since QEMU 2.9.0, an accelerator known as “hax” has been available for Windows and macOS builds of QEMU, thanks to the hard work of Vincent Palatin and help from

[Qemu-devel] HAXM is now open source

2017-11-14 Thread Yu Ning
Hello, As some of you may have noticed, since QEMU 2.9.0, an accelerator known as “hax” has been available for Windows and macOS builds of QEMU, thanks to the hard work of Vincent Palatin and help from this community (Paolo Bonzini, Stefan Weil, et al.). The accelerator requires a host

Re: [Qemu-devel] [PATCH] hax-interface: Add BSD license

2017-11-19 Thread Yu Ning
On 11/20/2017 5:31, Eduardo Habkost wrote: On Fri, Nov 17, 2017 at 05:03:27PM +0800, Yu Ning wrote: On 11/17/2017 2:00, Eduardo Habkost wrote: On Thu, Nov 16, 2017 at 07:47:44AM +0100, Stefan Weil wrote: Am 16.11.2017 um 07:50 schrieb yu.n...@linux.intel.com: From: Yu Ning <y

[Qemu-devel] [PATCH] hax-interface: Add BSD license

2017-11-15 Thread yu . ning
From: Yu Ning <yu.n...@intel.com> hax-interface.h defines the interface between the HAXM kernel module and the HAXM QEMU accelerator. The same code can be found in the following files of the HAXM kernel module: include/hax_interface.h include/vcpu_state.h core/include/vm.h These

Re: [Qemu-devel] [PATCH] hax: Support guest RAM sizes of 4GB or more

2018-01-22 Thread Yu Ning
A gentle ping. Patchwork link: http://patchwork.ozlabs.org/patch/859715/ On 1/12/2018 18:22, Yu Ning wrote: From: Yu Ning <yu.n...@intel.com> Since HAX_VM_IOCTL_ALLOC_RAM takes a 32-bit size, it cannot handle RAM blocks of 4GB or larger, which is why HAXM can only run guests with les

[Qemu-devel] [PATCH] hax: Support guest RAM sizes of 4GB or more

2018-01-12 Thread Yu Ning
From: Yu Ning <yu.n...@intel.com> Since HAX_VM_IOCTL_ALLOC_RAM takes a 32-bit size, it cannot handle RAM blocks of 4GB or larger, which is why HAXM can only run guests with less than 4GB of RAM. Solve this problem by utilizing the new HAXM API, HAX_VM_IOCTL_ADD_RAMBLOCK, which takes a 64-bi

Re: [Qemu-devel] [PATCH] hax: Support guest RAM sizes of 4GB or more

2018-02-07 Thread Yu Ning
On 2/7/2018 7:36, Paolo Bonzini wrote: Queued, thanks. Sorry for the delay! That's okay, thanks! Yu Paolo

Re: [Qemu-devel] Debugging on HAXM

2018-04-12 Thread Yu Ning
)? The main person working on HAXM is Yu Ning. Anthony and Glauber are only listed because they are the authors of the KVM support (and HAXM support in turn is based on KVM). That is correct, and thanks Paolo for the introduction.  In fact I just reviewed a HAXM pull request from Alexandro on GitHub, so

[Qemu-devel] New HAXM maintainer

2019-05-27 Thread Yu Ning
Hello, I am leaving Intel, and will soon lose access to my Intel email accounts. Effective today, I am no longer maintainer of the HAXM open source project (https://github.com/intel/haxm). Colin Xu (colin DOT xu AT intel DOT com) will take my place, and he will be helped by Henry Yuan (hang