Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1130441

Summary: Failed to start domain with a 'server' type interface
Product: Red Hat Enterprise Linux 6 Reporter: hongming <honzhang>
Component: libvirtAssignee: Ján Tomko <jtomko>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6CC: dyuan, jiahu, mzhan, rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-20 12:22:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hongming 2014-08-15 08:51:53 UTC
Description of problem:
Failed to start domain with a tcp type interface , the following error 
occurs
error: Failed to start domain rhel6.5
error: internal error Process exited while reading console log output: char device redirected to /dev/pts/4
2014-08-15T08:49:43.256335Z qemu-kvm: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:31:d9:af,bus=pci.0,addr=0x3: Property 'rtl8139.netdev' can't find value 'hostnet0'

Version-Release number of selected component (if applicable):
libvirt-0.10.2-43.el6.x86_64
qemu-kvm-0.12.1.2-2.427.el6.x86_64

How reproducible:
100%

Steps to Reproduce:

# virsh dumpxml rhel6.5|grep interface -A3
    <interface type='server'>
      <source address='127.0.0.1' port='5558'/>
    </interface>

# virsh start rhel6.5
error: Failed to start domain rhel6.5
error: internal error Process exited while reading console log output: char device redirected to /dev/pts/4
2014-08-15T08:49:43.256335Z qemu-kvm: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:31:d9:af,bus=pci.0,addr=0x3: Property 'rtl8139.netdev' can't find value 'hostnet0'


Actual results:
Failed to start domain with a tcp type interface 

Expected results:
Successfully start the domain 

Additional info:
It works fine in rhel7.From the qemu-kvm manual , it should be supported in rhel6.

man qemu-kvm
......
       -net socket[,vlan=n][,name=name][,fd=h][,listen=[host]:port][,connect=host:port]
        Connect the VLAN n to a remote VLAN in another QEMU virtual machine using a TCP socket connection. If listen is specified, QEMU waits for incoming
connections on port (host is optional). connect is used to connect to another QEMU instance using the listen option. fd=h specifies an already opened TCP socket.

           Example:

                   # launch a first QEMU instance
                   qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \
                   -net socket,listen=:1234
                   # connect the VLAN 0 of this instance to the VLAN 0
                   # of the first instance
                   qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \
                   -net socket,connect=127.0.0.1:1234

Comment 2 Ján Tomko 2015-01-20 12:22:50 UTC
Although -netdev socket is not backported to RHEL6 and only works via -net, libvirt has been formatting it as -netdev at least since RHEL-6.2.

Works upstream and on RHEL-7, closing as WONTFIX.