From: matt_sykes on
Hi all

Does anyone have any experience using driver verifier inside a VM
(VMware specifically)?

I am thinking that although its quicker to change a VM image than re-
ghost a machine (for testing on multiple platforms) there might well
be many issues using Verifier inside a VM. After a brief attempt I
had a lot of BSODs regarding the use of user mode handles in the
kernel, whcih makes snese since the VM kernel IS in usermode. I didnt
get any further than that though.

Thanks in advance.

From: Scott Noone on
> Does anyone have any experience using driver verifier inside a VM
> (VMware specifically)?

Do this all the time. Works great, the only issue is that the Verifier
overhead can sometimes be felt a lot worse.

> had a lot of BSODs regarding the use of user mode handles in the
> kernel, whcih makes snese since the VM kernel IS in usermode.

You're misunderstanding. That's a legitimate Verifier bugcheck that needs to
be fixed, see:

http://analyze-v.com/?p=404

-scott

--
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com



"matt_sykes" <zzebowa(a)hotmail.com> wrote in message
news:2acbad91-96dc-4c5a-b160-28f90c1f2d11(a)q30g2000yqd.googlegroups.com...
> Hi all
>
> Does anyone have any experience using driver verifier inside a VM
> (VMware specifically)?
>
> I am thinking that although its quicker to change a VM image than re-
> ghost a machine (for testing on multiple platforms) there might well
> be many issues using Verifier inside a VM. After a brief attempt I
> had a lot of BSODs regarding the use of user mode handles in the
> kernel, whcih makes snese since the VM kernel IS in usermode. I didnt
> get any further than that though.
>
> Thanks in advance.
>
From: matt_sykes on
On 4 May, 14:11, "Scott Noone" <sno...(a)osr.com> wrote:
> > Does anyone have any experience using driver verifier inside a VM
> > (VMware specifically)?
>
> Do this all the time. Works great, the only issue is that the Verifier
> overhead can sometimes be felt a lot worse.
>
> > had a lot of BSODs regarding the use of user mode handles in the
> > kernel, whcih makes snese since the VM kernel IS in usermode.
>
> You're misunderstanding. That's a legitimate Verifier bugcheck that needs to
> be fixed, see:
>
> http://analyze-v.com/?p=404
>
> -scott
>
> --
> Scott Noone
> Consulting Associate
> OSR Open Systems Resources, Inc.http://www.osronline.com
>
> "matt_sykes" <zzeb...(a)hotmail.com> wrote in message
>
> news:2acbad91-96dc-4c5a-b160-28f90c1f2d11(a)q30g2000yqd.googlegroups.com...
>
>
>
> > Hi all
>
> > Does anyone have any experience using driver verifier inside a VM
> > (VMware specifically)?
>
> > I am thinking that although its quicker to change a VM image than re-
> > ghost a machine (for testing on multiple platforms) there might well
> > be many issues using Verifier inside a VM.    After a brief attempt I
> > had a lot of BSODs regarding the use of user mode handles in the
> > kernel, whcih makes snese since the VM kernel IS in usermode.  I didnt
> > get any further than that though.
>
> > Thanks in advance.- Hide quoted text -
>
> - Show quoted text -

Interesting. Thanks, I will take a look at that (didnt see these
BSODs though outside a VM environment).
From: Pavel A. on
"matt_sykes" <zzebowa(a)hotmail.com> wrote in message
news:769d445f-c1e9-42ed-a165->>

>> > had a lot of BSODs regarding the use of user mode handles in the
>> > kernel, whcih makes snese since the VM kernel IS in usermode.

Kernel mode is kernel mode even in VM.

Verifier catches you when you call ZwClose instead of NtClose, or other Zw
functions on user handles.
IIRC, only Win7 or Vista SP2 verfier checks this; XP verifier does not.

Good luck,
-- pa