[GSoC 2024] Hardware Virtualization: Progress Report #2 | Haiku Project

Another month has gone by and we’re entering now the last month of GSoC! So, what did I get done this month?


This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/dalme/2024-07-24_gsoc_2024_hardware_virtualization_progress_report_2
18 Likes

Nice progress nevertheless, still hoping this could be finished at one point so we could all benifit from it, thanks for your work so far! :+1:

1 Like

Ahoy Daniel ( @dalmegnu ) !

Well, It’s a far better status, than as it was before your work … I mean as nothing existed in the hardware virtualization support in case Haiku … this way it’s a nice progress in my eyes as well :stuck_out_tongue_winking_eye:

Hurrah !


Baby-Groot__Stamp


So, I think, this way it’s more momentous to do such many small finery toward those you mentioned, than introduce SVM (AMD) part too, besides SVX (Intel)… so lot more important that implemented code should work well , is it true ?
… If I understood all well from your blog post

From introductory to report #2 - I summarized to grock it …

→ Port the NVMM driver

¤–> Frontend : complete
¤–> Backend for SVX (Intel) : complete, all the 16 IOCTL calls done,
¤–> Backend for SVM (AMD) : very early state

→ Port libnvmm

¤–> compiled successfully - port completed
¤–> test suite is ported and all tests pass

→ NVMM – extend with SLAT on Haiku natively

¤–> EPT tables support (Intel) :
support for them is complete and it works
page fault handler is integrated into Haiku’s virtual memory
subsystem

¤–> NPT tables support (AMD) : missing ?

→ Make QEMU port capable of accelerating virtual machines

¤–> QEMU supports NVMM acceleration already, no work needed
¤–> latest QEMU - with a patch -
+ detects NVMM acceleration availability, and compile
- actually it doesn’t work, something breaks

As I see more things completed
than
failed or missing -

Especially if we do not visit
your TODO list on Github :D, I agree that is something …

Have a good coding time and happy days of resting as well if your moods and feels it needs to later freshly sit back to your desk !..
Chase away your concerns !..

… and if you have no so much time after this 2024 GSOC period ends … you may want to complete it on next year’s summer !..

:cowboy_hat_face:

1 Like

Yes, your summary is correct.

This was my last year of uni, I’ll be a graduate by the end of September, so I don’t know if I would qualify for GSoC next year.

In any case there is a full month remaining and current plans are getting everything (except maybe SVM backend) done.

5 Likes

There is no requirement for being a student anymore, but you have to be “beginner in opensource contribution”, which is not very well defined. The idea is mainly that organizations don’t use GSoC to pay existing and already active contributors. So I think that wouldn’t be a problem (depending on what you do during that year, of course)

4 Likes

Well, it seems I was unintentionally cunny, as I just wrote …

There were no word about GSOC ! :stuck_out_tongue_winking_eye:
Some GSOC student completed their work … coming back as a contributor.

We hope so you - I mean GSOC assignees - may like Haiku during your coding period, and find a way to support Haiku and/or the services/applications added/improved by you to continue implementing things after your “official” challenging/learning period ends.

Of course we accept that also if our beloved project and associates is just a one time curve for you, guys.

For us every year and every season, moreover every month have surprises.
For example waddlesplash you mentioned earlier, as who would help you out with AMD hardware to help coding/testing SVM stuff, he is - in July - just sheds the patches of several areas, even more than doubled the patches of last month.
As I’ve seen, it happens sometimes, as
someone create a patch or two,
he reviews it/them and based on that he starts to refactor/clean(remove or fix)/complete/add new debug options/reduce log entries of that part of Haiku kernel/driver/service or even Haiku application.

It will be interesting monthly report of July 2024.

And of course,
we are awaiting your GSOC final reports, – from all of you, guys.
This year it was five very interesting and moving selections - some might personally differentiated how important for each Haiku users - by their usage - but all of them was expected long time here to be improved or implemented.

We are appreciated you selected our beloved, friendly project to your GSOC learning curve … this year, and generally every year…

There is documentation full of references about SVM:

https://arxiv.org/pdf/1805.09604

1 Like

Very good and detailed report!
Amazing progress, so happy to see the progress you make!

2 Likes

There were no word about GSOC ! :stuck_out_tongue_winking_eye:
Some GSOC student completed their work … coming back as a contributor.

Why would I wait until next summer, then? :stuck_out_tongue:

5 Likes

Gotcha !

:laughing: