[vbox-dev] KVM & VirtualBox
Sander van Leeuwen
sander.x.van.leeuwen at oracle.com
Wed Dec 22 05:33:27 PST 2010
Michael,
That sounds like a pointless exercise to me. First of all VirtualBox
isn't some QEmu extension like KVM
and the entire code is very tightly integrated. It's not possible
without rewriting 75% of the hypervisor.
Be my guest, but I don't know how many man years you've allocated for
this task. :-)
I also fail to see what you want to accomplish with that.
(MM)IO is handled in the instruction emulator, which calls the IOM*
functions, which end up calling
the registered device handlers. (src/VBox/VMM for IO handling,
src/VBox/Devices for the virtual device code)
Sander
On 12/22/2010 8:35 AM, Michael van der Kolff wrote:
> I was thinking of attempting to write a patch to make VirtualBox use
> KVM for its CPU (KVM only implements the CPU, it doesn't implement
> platform - that's someone else's job). So, I read alternately the
> doxygen documentation& the VBox source code (kvm-all.c from qemu
> shows how to handle all of the stuff that KVM can chuck back - simple
> once one sees how...). Anyway, I was looking to join the bits that do
> MMIO& IO, and the doxygen documentation& names, categorisation,
> etc... would seem to imply that IOMMMIO{Read/Write} are responsible
> for that - except it would seem that they aren't called anywhere right
> now.
>
> How exactly is MMIO handled in VirtualBox right now?
>
> Cheers,
>
> Michael
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
--
Kind regards / Mit freundlichen Gruessen / Met vriendelijke groet
--
Sander van Leeuwen | Senior Staff Engineer, VirtualBox
Oracle Virtualization
ORACLE Deutschland B.V. & Co. KG | Werkstrasse 24 | 71384 Weinstadt
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
More information about the vbox-dev
mailing list