Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with compiling winkvm #2

Open
rishi-rranjan opened this issue Apr 9, 2014 · 7 comments
Open

Problem with compiling winkvm #2

rishi-rranjan opened this issue Apr 9, 2014 · 7 comments

Comments

@rishi-rranjan
Copy link

I am trying to compile winkvm as per instruction at https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I grep'ed the code but I don't see these
identifier. Can you please let me know where can Ifind the definition of these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared identifier c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared identifier c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

@ddk50
Copy link
Owner

ddk50 commented Apr 9, 2014

Hi

Currently, those definitions are not used in both kvmctldll or the driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan notifications@github.com:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the definition of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@rishi-rranjan
Copy link
Author

Thanks. I also realized that after going through the code. Will confirm if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com wrote:

Hi

Currently, those definitions are not used in both kvmctldll or the driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan notifications@github.com:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the definition of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-39929400
.

@ddk50
Copy link
Owner

ddk50 commented Apr 9, 2014

Note that:

  1. WinKVM supports only Intel VT-x, not supports AMD-SVM.
  2. You have to run WinKVM on a single core CPU machine. it not supports SMP
    environments.
    You have to change the boot.int flie in Windows in order to be single core
    mode as follow URL:
    http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/question-to-processor-definition-in-windows-xp/58c0919a-edcb-430a-969a-0664cd970dad?m

2014-04-09 14:18 GMT+09:00 rishi-rranjan notifications@github.com:

Thanks. I also realized that after going through the code. Will confirm if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com wrote:

Hi

Currently, those definitions are not used in both kvmctldll or the
driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan notifications@github.com:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the definition
of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929400>
.

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-39929465
.

@rishi-rranjan
Copy link
Author

Hi John,
I did see the note on Single core CPU.

After removing the lines from User.c, compilation succeeded but it did not
generate winkvmstab.sys. winkvmuser.exe was generated in vcproj/bin.

On Tue, Apr 8, 2014 at 10:28 PM, John Smith notifications@github.comwrote:

Note that:

  1. WinKVM supports only Intel VT-x, not supports AMD-SVM.
  2. You have to run WinKVM on a single core CPU machine. it not supports SMP
    environments.
    You have to change the boot.int flie in Windows in order to be single core
    mode as follow URL:

http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/question-to-processor-definition-in-windows-xp/58c0919a-edcb-430a-969a-0664cd970dad?m

2014-04-09 14:18 GMT+09:00 rishi-rranjan notifications@github.com:

Thanks. I also realized that after going through the code. Will confirm
if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com wrote:

Hi

Currently, those definitions are not used in both kvmctldll or the
driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan notifications@github.com:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the definition
of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929400>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929465>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-39929872
.

@ddk50
Copy link
Owner

ddk50 commented Apr 10, 2014

How about in the Debug directory?
It will be generated, when you build VC++ project.

2014-04-09 22:49 GMT+09:00 rishi-rranjan notifications@github.com:

Hi John,
I did see the note on Single core CPU.

After removing the lines from User.c, compilation succeeded but it did not
generate winkvmstab.sys. winkvmuser.exe was generated in vcproj/bin.

On Tue, Apr 8, 2014 at 10:28 PM, John Smith notifications@github.comwrote:

Note that:

  1. WinKVM supports only Intel VT-x, not supports AMD-SVM.
  2. You have to run WinKVM on a single core CPU machine. it not supports
    SMP
    environments.
    You have to change the boot.int flie in Windows in order to be single
    core
    mode as follow URL:

http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/question-to-processor-definition-in-windows-xp/58c0919a-edcb-430a-969a-0664cd970dad?m

2014-04-09 14:18 GMT+09:00 rishi-rranjan notifications@github.com:

Thanks. I also realized that after going through the code. Will
confirm
if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com
wrote:

Hi

Currently, those definitions are not used in both kvmctldll or the
driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan notifications@github.com:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors. I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the
definition
of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929400>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929465>

.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929872>
.

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-39965492
.

@rishi-rranjan
Copy link
Author

I did look into all the directories but did not see winkvmstab.sys. I am
using Visual Studio 2013 so project was updated by Vidual Studio. I am
looking at the VS solution file to see why it did not generate the driver.

On Wed, Apr 9, 2014 at 6:13 PM, John Smith notifications@github.com wrote:

How about in the Debug directory?
It will be generated, when you build VC++ project.

2014-04-09 22:49 GMT+09:00 rishi-rranjan notifications@github.com:

Hi John,
I did see the note on Single core CPU.

After removing the lines from User.c, compilation succeeded but it did
not
generate winkvmstab.sys. winkvmuser.exe was generated in vcproj/bin.

On Tue, Apr 8, 2014 at 10:28 PM, John Smith <notifications@github.com
wrote:

Note that:

  1. WinKVM supports only Intel VT-x, not supports AMD-SVM.
  2. You have to run WinKVM on a single core CPU machine. it not supports
    SMP
    environments.
    You have to change the boot.int flie in Windows in order to be single
    core
    mode as follow URL:

http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/question-to-processor-definition-in-windows-xp/58c0919a-edcb-430a-969a-0664cd970dad?m

2014-04-09 14:18 GMT+09:00 rishi-rranjan notifications@github.com:

Thanks. I also realized that after going through the code. Will
confirm
if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com
wrote:

Hi

Currently, those definitions are not used in both kvmctldll or the
driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan <notifications@github.com
:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following errors.
I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the
definition
of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929400>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929465>

.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929872>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39965492>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-40033973
.

@ddk50
Copy link
Owner

ddk50 commented Apr 10, 2014

Ok, I'll check later.

2014-04-10 10:19 GMT+09:00 rishi-rranjan notifications@github.com:

I did look into all the directories but did not see winkvmstab.sys. I am
using Visual Studio 2013 so project was updated by Vidual Studio. I am
looking at the VS solution file to see why it did not generate the driver.

On Wed, Apr 9, 2014 at 6:13 PM, John Smith notifications@github.com
wrote:

How about in the Debug directory?
It will be generated, when you build VC++ project.

2014-04-09 22:49 GMT+09:00 rishi-rranjan notifications@github.com:

Hi John,
I did see the note on Single core CPU.

After removing the lines from User.c, compilation succeeded but it did
not
generate winkvmstab.sys. winkvmuser.exe was generated in vcproj/bin.

On Tue, Apr 8, 2014 at 10:28 PM, John Smith <notifications@github.com
wrote:

Note that:

  1. WinKVM supports only Intel VT-x, not supports AMD-SVM.
  2. You have to run WinKVM on a single core CPU machine. it not
    supports
    SMP
    environments.
    You have to change the boot.int flie in Windows in order to be
    single
    core
    mode as follow URL:

http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/question-to-processor-definition-in-windows-xp/58c0919a-edcb-430a-969a-0664cd970dad?m

2014-04-09 14:18 GMT+09:00 rishi-rranjan notifications@github.com:

Thanks. I also realized that after going through the code. Will
confirm
if
it works.
On Apr 8, 2014 10:16 PM, "John Smith" notifications@github.com
wrote:

Hi

Currently, those definitions are not used in both kvmctldll or
the
driver.
You can just remove these lines and compile it

Thanks,
Kazushi

2014-04-09 14:05 GMT+09:00 rishi-rranjan <
notifications@github.com
:

I am trying to compile winkvm as per instruction at
https://github.com/ddk50/winkvm.

Compilation of kvmctldll and KVM drivers goers through fine.

But when I try to compile WinKVM driver, I get following
errors.
I
grep'ed
the code but I don't see these
identifier. Can you please let me know where can Ifind the
definition
of
these?

Error 1 error C2065: 'WINKVM_GET_HUGE_NONPAGEAREA' :
undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 137 1 winkvmuser
Error 2 error C2065: 'WINKVM_INIT_TESTMAP' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 250 1 winkvmuser
Error 3 error C2065: 'WINKVM_RELEASE_TESTMAP' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 275 1 winkvmuser
Error 4 error C2065: 'WINKVM_TESTMAP' : undeclared identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 300 1 winkvmuser
Error 5 error C2065: 'WINKVM_EXECUTE_TEST' : undeclared
identifier
c:\sw\winkvm\vcproj\user\winkvmuser\user.c 563 1 winkvmuser

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929400>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929465>

.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39929872>
.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-39965492>

.

Reply to this email directly or view it on GitHub<
https://github.com/ddk50/winkvm/issues/2#issuecomment-40033973>
.

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-40034295
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants