testing drivers on virtualbox?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
maxgru
Posts: 5
Joined: 22. Aug 2009, 15:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp,vista,win7

testing drivers on virtualbox?

Post by maxgru »

hi!

after installing current version of virtualbox i were really impressed by its performance,above all the gfx performance.

i would like to use virtualbox for testing purpose but i ran into problems as soon as i tryed to load a self programmed driver/kernelmodule.neither official way with sc manager worked nor ZwLoadDriver implemented with direct syscalls.

host os is windows xp sp3,guest os are win xp sp3,vista sp2.

are there any limitations in vb when it comes to kernelmode?on other vm software(virtualpc or vmware) the driver works flawless but they dont offer that good performance =/

any help is very appreciated

max
dmcgraw
Volunteer
Posts: 808
Joined: 24. Jun 2008, 17:16
Primary OS: Ubuntu 8.10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Ubuntu 9.10
Location: St. Louis, MO, USA

Re: testing drivers on virtualbox?

Post by dmcgraw »

I am not sure I understand exactly what you are trying to do.

But if you are trying to test graphics drivers in a VirtualBox VM, it won't work. The VM only sees a virtual graphics card, not the graphics card in the host.
maxgru
Posts: 5
Joined: 22. Aug 2009, 15:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp,vista,win7

Re: testing drivers on virtualbox?

Post by maxgru »

i'm not testing gfx drivers,its more security related (SSDT/IDT hooking)...i dont want to test drivers for the virtual hardware which gets emulated by vb.
petrossa
Volunteer
Posts: 101
Joined: 17. May 2008, 18:20
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: OSx86, Linuxes, vista, win 7
Location: france, menton
Contact:

Re: testing drivers on virtualbox?

Post by petrossa »

anyhow, the test results will not tell you much. The results will only show how good the VBOX machine emulator is. :shock:
maxgru
Posts: 5
Joined: 22. Aug 2009, 15:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp,vista,win7

Re: testing drivers on virtualbox?

Post by maxgru »

petrossa wrote:anyhow, the test results will not tell you much. The results will only show how good the VBOX machine emulator is. :shock:
i just dont want to bsod my real computer all the time :D
petrossa
Volunteer
Posts: 101
Joined: 17. May 2008, 18:20
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: OSx86, Linuxes, vista, win 7
Location: france, menton
Contact:

Re: testing drivers on virtualbox?

Post by petrossa »

Still if it doesn't bsod the vbox that doesn't mean it won't bsod the real one. If you are building drivers you'll have to swallow bsod's. Comes with the territory,separates men from boys. :lol:
maxgru
Posts: 5
Joined: 22. Aug 2009, 15:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp,vista,win7

Re: testing drivers on virtualbox?

Post by maxgru »

yes,thats true.but i can use the vb for post mortem debugging and dont need to ruin my local computer ;P

but thats not the topic of this thread...so anybody knows wether vb is preventing loading drivers in general?
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: testing drivers on virtualbox?

Post by baf »

Well No. VirtualBox tries to behave like a real computer presenting it's virtual hardware and possibly some usb units to the guest.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
maxgru
Posts: 5
Joined: 22. Aug 2009, 15:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp,vista,win7

Re: testing drivers on virtualbox?

Post by maxgru »

baf wrote:Well No. VirtualBox tries to behave like a real computer presenting it's virtual hardware and possibly some usb units to the guest.
yes,that seems to be the purpose of a vm :) but its a little bit curious that it doesnt work with virtualbox but does with virtualpc and vmware :[

maybee someone of the stuff who is involved in developement can answer me :o
Post Reply