Bug 653343

Summary: Cannot hot-plug nic in windows VM when the vmem is larger
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 6.1CC: aarcange, gyue, juzhang, lihuang, llim, michen, mkenneth, ndai, plyons, pm-eus, snagar, tburke, virt-maint
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.113.el6_0.4 Doc Type: Bug Fix
Doc Text:
When running a virtual machine with 4 or more gigabytes of the virtual memory, an attempt to hot plug a network interface controller (NIC) failed with the following error message: Device '[device_name]' could not be initialized This update resolves this issue, and hot-plugging a NIC in a virtual machine with 4 or more gigabytes of the virtual memory no longer fails.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-10 16:09:33 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: 633699    
Bug Blocks:    

Description RHEL Program Management 2010-11-15 09:49:55 UTC
This bug has been copied from bug #633699 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 6 juzhang 2010-12-31 05:14:54 UTC
Reproduced on qemu-kvm-0.12.1.2-2.113.el6_0.3

/usr/libexec/qemu-kvm -M rhel6.0.0 -enable-kvm -m 3G -smp 4 -monitor stdio -rtc base=localtime -usbdevice tablet -drive file=/root/zhangjunyi/win2008r2-64.raw,if=none,format=raw,werror=stop,rerror=stop,id=drive-virtio0-0-0,boot=on,cache=none -device ide-drive,drive=drive-virtio0-0-0,id=virtio0-0-0 -netdev tap,id=hostnet0,vhost=on -device rtl8139,netdev=hostnet0,id=net0,mac=20:20:20:56:42:19 -cpu qemu64,+x2apic -vnc :10 -boot c
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) netdev_add tap,id=hostnet2
/etc/qemu-ifup: could not launch network script
Device 'tap' could not be initialized


Verified on qemu-kvm-0.12.1.2-2.113.el6_0.5,passed.
I tried the following configuration
1. THP on
2. THP off

Comment 8 Jaromir Hradilek 2011-01-10 15:38:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When running a virtual machine with 4 or more gigabytes of the virtual memory, an attempt to hot plug a network interface controller (NIC) failed with the following error message:

  Device '[device_name]' could not be initialized

This update resolves this issue, and hot-plugging a NIC in a virtual machine with 4 or more gigabytes of the virtual memory no longer fails.

Comment 10 errata-xmlrpc 2011-01-10 16:09:33 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/RHBA-2011-0012.html