[vbox-dev] KVM & VirtualBox
Huihong Luo
huisinro at yahoo.com
Wed Dec 22 08:37:50 PST 2010
Another way to look at this is to use VBox's device emulation code for KVM, replacing current QEMU emulation. Either way, lots of work.
--- On Wed, 12/22/10, Sander van Leeuwen <sander.x.van.leeuwen at oracle.com> wrote:
From: Sander van Leeuwen <sander.x.van.leeuwen at oracle.com>
Subject: Re: [vbox-dev] KVM & VirtualBox
To: vbox-dev at virtualbox.org
Date: Wednesday, December 22, 2010, 5:33 AM
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20101222/df3ce319/attachment-0001.html
More information about the vbox-dev
mailing list