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 594594

Summary: start domain failed with qemu-kvm-0.12.1.2-2.60.el6
Product: Red Hat Enterprise Linux 6 Reporter: dyuan
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: llim, tyan, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-21 08:54:46 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:

Description dyuan 2010-05-21 06:19:31 UTC
Description of problem:
start domain failed with qemu-kvm-0.12.1.2-2.60.el6.
it does work fine with qemu-kvm-0.12.1.2-2.54.el6.

Version-Release number of selected component (if applicable):
libvirt-0.8.1-6.el6.x86_64
kernel-2.6.32-28.el6.x86_64
selinux-policy-3.7.19-19.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. upgrade qemu-kvm
2. # service libvirtd restart
3. start domain
# virsh start demo58
error: Failed to start domain demo58
error: internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /mnt/vol/rhel5u5_x86_64.img: Invalid argument
  
Actual results:
start domain failed

Expected results:
start successfully

Additional info:

# tail -f /var/log/messages
May 21 14:21:04 dhcp-66-70-43 kernel: device vnet0 entered promiscuous mode
May 21 14:21:04 dhcp-66-70-43 kernel: virbr0: topology change detected, propagating
May 21 14:21:04 dhcp-66-70-43 kernel: virbr0: port 1(vnet0) entering forwarding state
May 21 14:21:04 dhcp-66-70-43 kernel: virbr0: port 1(vnet0) entering disabled state
May 21 14:21:04 dhcp-66-70-43 kernel: device vnet0 left promiscuous mode
May 21 14:21:04 dhcp-66-70-43 kernel: virbr0: port 1(vnet0) entering disabled state
May 21 14:21:04 dhcp-66-70-43 libvirtd: 14:21:04.402: error : qemudReadLogOutput:2251 : internal error Process exited while reading console log output: char device redirected to /dev/pts/1#012qemu: could not open disk image /mnt/vol/rhel5u5_x86_64.img: Invalid argument#012
May 21 14:21:04 dhcp-66-70-43 libvirtd: 14:21:04.470: error : SELinuxRestoreSecurityFileLabel:377 : internal error cannot restore selinux file label for /mnt/vol/rhel5u5_x86_64.img

Comment 2 dyuan 2010-05-21 07:23:57 UTC
# rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.60.el6.x86_64
qemu-img-0.12.1.2-2.60.el6.x86_64

# /usr/libexec/qemu-kvm -smp 1 -m 512M  -drive file=/mnt/vol/rhel5u5_i386.img,media=disk,if=ide,boot=on -name demo -usbdevice tablet -vnc :10 -monitor stdio
qemu: could not open disk image /mnt/vol/rhel5u5_i386.img: Invalid argument


# rpm -Uvh qemu-kvm-0.12.1.2-2.54.el6.x86_64.rpm qemu-img-0.12.1.2-2.54.el6.x86_64.rpm  --force
Preparing...                ########################################### [100%]
   1:qemu-img               ########################################### [ 50%]
   2:qemu-kvm               ########################################### [100%]

# rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.54.el6.x86_64
qemu-img-0.12.1.2-2.54.el6.x86_64

# /usr/libexec/qemu-kvm -smp 1 -m 512M  -drive file=/mnt/vol/rhel5u5_i386.img,media=disk,if=ide,boot=on -name demo -usbdevice tablet -vnc :10 -monitor stdio
QEMU 0.12.1 monitor - type 'help' for more information
(qemu)

Comment 3 dyuan 2010-05-21 08:54:46 UTC

*** This bug has been marked as a duplicate of bug 593909 ***