Bug 521247

Summary: emulated pcnet nic in qemu-kvm has wrong PCI subsystem ID for Windows XP driver
Product: Red Hat Enterprise Linux 5 Reporter: Buck Huppmann <buckh>
Component: kvmAssignee: Michael S. Tsirkin <mst>
Status: CLOSED ERRATA QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: gyue, mjenner, tburke, tools-bugs, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-171.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 579725 580140 (view as bug list) Environment:
Last Closed: 2011-01-13 23:11:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 579725, 580140, 580948    

Description Buck Huppmann 2009-09-04 13:53:50 UTC
Description of problem:
Note:  This is not a problem on Debian, with kvm-72, but
apparently is on Red Hat, with kvm-83.  It may not even be
your bug, but just a serendipitous bug in the Debian ver-
sion that just happens to do what Windows expects/is conf-
figured to expect, and, since i can fix this pretty easily,
i'm mostly just throwing it out here in case it's useful
reference for somebody else, as i doubt that this is a re-
gression

A Windows(TM) XP image created using GHOST that boots up
fine on physical hardware (and on Debian, as noted previous-
ly) fails to detect the emulated pcnet NIC as the Allied Tele-
syn NIC for which it has a driver configured, so networking
fails, unless you manually configure the NIC to use the

This seems to be because the emulated pcnet NIC reports a
PCI subsystem ID of 20000000, whereas the driver wants 00000000,
and that's what Debian's KVM/QEMU gives it, as well

Version-Release number of selected component (if applicable):
kvm-83-105.el5

How reproducible:
Try to run a Windows XP image configured with the Allied
Telesyn driver (details below) with -net nic,model=pcnet

Steps to Reproduce:
1. /usr/libexec/qemu-kvm -net nic,model=pcnet
2.
3.
  
Actual results:
NIC not found by WinXP driver

Expected results:
NIC found by WinXP driver

Additional info:
Driver is
  Allied Telesyn AT-2450T/AT/BT/FT PCI 10Mb
  atnicm51.sys
  version 4.47.0, 7/2/2004

Comment 9 errata-xmlrpc 2011-01-13 23:11:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0028.html