[vbox-dev] KVM & VirtualBox

Michael van der Kolff mvanderkolff at gmail.com
Wed Dec 22 21:14:39 GMT 2010


You state "rewriting 75% of the hypervisor".  If you look at
${KRNL_SRC}/Documentation/kvm/api.txt, you'll see that it *is* a
hypervisor... With a rather simple API.  I was rather hoping that I
could find where to fit the plumbing on the VirtualBox side fairly
easily...

Cheers,

Michael

On Thu, Dec 23, 2010 at 12:33 AM, Sander van Leeuwen
<sander.x.van.leeuwen at oracle.com> wrote:
> 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
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>




More information about the vbox-dev mailing list