RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1051886 - Compile drivers with Visual Studio 2013
Summary: Compile drivers with Visual Studio 2013
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Yvugenfi@redhat.com
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-12 14:19 UTC by Yvugenfi@redhat.com
Modified: 2015-03-05 05:33 UTC (History)
9 users (show)

Fixed In Version: virtio-win-prewhql-0.1-87
Doc Type: Bug Fix
Doc Text:
Cause: In previous version the part of virtio-win drivers were build with VS2012 Consequence: Since Microsoft released a new version on Visual Studio, designed to work with the latest Windows Driver Kit (WDK) 8.1 we have to update our build system to use VS2013 instead of VS2012. Fix: Update project files as well as build scripts to use VS2013. Result: Now virtio-win build system uses VS2013 instead of VS2012 in order to produce virtio-win drivers.
Clone Of:
Environment:
Last Closed: 2015-03-05 05:33:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0289 0 normal SHIPPED_LIVE virtio-win bug fix and enhancement update 2015-03-05 10:32:54 UTC

Description Yvugenfi@redhat.com 2014-01-12 14:19:28 UTC
Description of problem:
In order to support Windows 2012R2 and Windows 8.1 correctly move driver builds to Visual Studio 2013.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 Mike Cao 2014-07-22 06:50:25 UTC
I saw <MinimumRequiredVersion>6.0</MinimumRequiredVersion> was added as a fix 
But I have an question about the file 
in Line #471 and line ##364
I saw them are same .<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Vista Release|Win32'">
)

Why add <MinimumRequiredVersion>6.0</MinimumRequiredVersion> under the ItemDefinitionGroup under line #471 instead of #364?

Thanks,
Mike

Comment 8 Yvugenfi@redhat.com 2014-07-22 08:45:43 UTC
The file is not edited manually. This is how Visual Studio decided to change it. I am puzzled why all this section on line 364 exists.

Comment 9 Mike Cao 2014-07-22 09:25:53 UTC
(In reply to Yan Vugenfirer from comment #8)
> The file is not edited manually. This is how Visual Studio decided to change
> it. I am puzzled why all this section on line 364 exists.

Looks the section of #364 and #471 are dup .

BTW .I saw 'rem call ..\tools\callVisualStudio.bat' in buildall.bat ,while the 'tools' should be replace to 'Tools' as there is no 'tools' folder (but looks windows is not sensitive to the characters case .)

I check the buildall.bat and callVisualStudio.bat ,I can not find a way to prove it is compiled by vs 2013

Any idea how to verify it, thanks ,
Mike

Comment 10 Yvugenfi@redhat.com 2014-07-22 09:32:22 UTC
When the compilation runs, you can check devenv.exe process and verify its location. It should belong to VS2013.

Comment 11 Mike Cao 2014-07-24 11:36:16 UTC
I tried using BuildAll.bat for both mm79 and mm 99 on win8.1 guest with *VS2012*  installed , Both of the two builds can be compiled successfully and use the devenv belongs to vs2012

Any ideas about it ? the scripts can be used on vs2012 as well ?

Thanks,
Mike

Comment 12 Yvugenfi@redhat.com 2014-07-24 13:34:21 UTC
Inside of tools directory you have "callVisualStudio.bat" and "getVisualStudioCmdLine.vbs" - they should call correct VS according to the parameters passed from "buildall.bat":

"call ..\tools\callVisualStudio.bat 12" - is VS2013.
"call ..\tools\callVisualStudio.bat 11" - is VS2012. 



Best regards,
Yan.

Comment 13 Mike Cao 2014-07-25 03:03:14 UTC
(In reply to Yan Vugenfirer from comment #12)
> Inside of tools directory you have "callVisualStudio.bat" and
> "getVisualStudioCmdLine.vbs" - they should call correct VS according to the
> parameters passed from "buildall.bat":
> 
> "call ..\tools\callVisualStudio.bat 12" - is VS2013.
> "call ..\tools\callVisualStudio.bat 11" - is VS2012. 
> 

Code check for buildall.bat 

in commit 1fe66b4c1ccc0ee0826330b778848a9fea700a5e ,it shows "call ..\tools\callVisualStudio.bat 11" 

Verified this issue on virtio-win-prewhql-87 src code , it shows "call ..\tools\callVisualStudio.bat 12"

Based on above ,this issue has been fixed ald ,
Move status to verified 

Mike

Comment 14 Mike Cao 2014-07-25 03:12:16 UTC
Move status to verified according to comment #13

Comment 17 Mike Cao 2014-12-26 07:29:15 UTC
This comment is used for testing python-bugzilla

Comment 18 Mike Cao 2014-12-26 07:39:10 UTC
This status is changed by the scripts , change the status to Verified again

Comment 20 errata-xmlrpc 2015-03-05 05:33:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0289.html


Note You need to log in before you can comment on or make changes to this bug.