Windows VMM/Host switching code

Discussions related to using the OSE version of VirtualBox.
Post Reply
dsehr
Posts: 2
Joined: 4. Feb 2009, 21:35

Windows VMM/Host switching code

Post by dsehr »

Hello,

I don't know if this is the right forum to ask this question, but here goes.

I gather that VirtualBox installs code to save and restore guest ring 0 state on host context switches, etc. I have found where VirtualBox saves and restores the guest ring 0 state. I could use a pointer to how VirtualBox registers the save/restore code, as it does not seem to be done in the device driver, as I would have expected.

Any suggestions where to look?

Thanks in advance.

David
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Are you asking where the machine state is stored when you save it's state as a shutdown? That's in the VM folder. There will be a .sav file in the snapshots folder. That file is restored when the VM is resumed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dsehr
Posts: 2
Joined: 4. Feb 2009, 21:35

Post by dsehr »

Actually, I'm more looking for an overview of the SW architecture and pointers to the code that sets up the register saving and restoring when transitioning between the virtual machines and the host OS.

Thanks again,

David
Post Reply