Re: [PATCH v2 2/2] kunit: enable hardware acceleration when available

2024-12-03 Thread Tamir Duberstein
On Tue, Nov 5, 2024 at 2:51 PM Tamir Duberstein wrote: > > This behavior is at least somewhat intentional[0]. I have filed a bug > with qemu[1]. If someone can conceive of a way to achieve this, I'd be > delighted to send a v3. > > [cut] > > Link: https://gitlab.com/qemu-project/qemu/-/issues/2656

Re: [PATCH v2 2/2] kunit: enable hardware acceleration when available

2024-11-05 Thread Tamir Duberstein
On Tue, Nov 5, 2024 at 8:36 AM Kristina Martsenko wrote: > > On 02/11/2024 12:09, Tamir Duberstein wrote: > > Use KVM or HVF if supported by the QEMU binary and available on the > > system. > > > > This produces a nice improvement on my Apple M3 Pro running macOS 14.7: > > > > Before: > > ./tools/

Re: [PATCH v2 2/2] kunit: enable hardware acceleration when available

2024-11-05 Thread Kristina Martsenko
On 02/11/2024 12:09, Tamir Duberstein wrote: > Use KVM or HVF if supported by the QEMU binary and available on the > system. > > This produces a nice improvement on my Apple M3 Pro running macOS 14.7: > > Before: > ./tools/testing/kunit/kunit.py exec --arch arm64 > [HH:MM:SS] Elapsed time: 10.145

Re: [PATCH v2 2/2] kunit: enable hardware acceleration when available

2024-11-05 Thread David Gow
On Sat, 2 Nov 2024 at 20:10, Tamir Duberstein wrote: > > Use KVM or HVF if supported by the QEMU binary and available on the > system. > > This produces a nice improvement on my Apple M3 Pro running macOS 14.7: > > Before: > ./tools/testing/kunit/kunit.py exec --arch arm64 > [HH:MM:SS] Elapsed tim

[PATCH v2 2/2] kunit: enable hardware acceleration when available

2024-11-02 Thread Tamir Duberstein
Use KVM or HVF if supported by the QEMU binary and available on the system. This produces a nice improvement on my Apple M3 Pro running macOS 14.7: Before: ./tools/testing/kunit/kunit.py exec --arch arm64 [HH:MM:SS] Elapsed time: 10.145s After: ./tools/testing/kunit/kunit.py exec --arch arm64 [H