Bug 706840

Summary: start guest with -no-kvm option lead to Segmentation fault on specific host
Product: Red Hat Enterprise Linux 5 Reporter: FuXiangChun <xfu>
Component: kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.7CC: amit.shah, juzhang, michen, mkenneth, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-23 08:41:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description FuXiangChun 2011-05-23 08:20:49 UTC
Description of problem:
 this bug only was found in both of the following hosts. intel-5550 and intel-x7550. No all hosts can reproduce this bug.
  
(gdb) bt
#0  tb_alloc_page (tb=0x2aababee4010, phys_pc=4311875568, phys_page2=18446744073709551615) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/exec.c:1131
#1  tb_link_phys (tb=0x2aababee4010, phys_pc=4311875568, phys_page2=18446744073709551615) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/exec.c:1221
#2  0x00000000004a274e in tb_gen_code (env=0xe5be90, pc=18446697165508169712, cs_base=4294901760, flags=68, cflags=<value optimized out>)
    at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/exec.c:917
#3  0x00000000004a55e3 in tb_find_fast (env1=<value optimized out>) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/cpu-exec.c:165
#4  cpu_x86_exec (env1=<value optimized out>) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/cpu-exec.c:582
#5  0x000000000040e519 in main_loop (argc=26, argv=0x7fffffffe718, envp=<value optimized out>) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/vl.c:4188
#6  main (argc=26, argv=0x7fffffffe718, envp=<value optimized out>) at /usr/src/debug/kvm-83-maint-snapshot-20090205/qemu/vl.c:6559

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

[root@intel-x7550-512-1 ~]#rpm -qa|grep kvm
kvm-83-232.el5
[root@intel-x7550-512-1 ~]# uname -r
2.6.18-262.el5

How reproducible:


Steps to Reproduce:
1./usr/libexec/qemu-kvm -M rhel5.6.0 -no-kvm -startdate now -name rhel4.9 -smp 2 -m 4G -uuid `uuidgen` -boot c -drive file=/root/testrun/rhel49.qcow2,media=disk,if=virtio,cache=none,boot=on,format=qcow2,werror=stop  -notify all -balloon none -net none -monitor stdio
2.
3.
  
Actual results:
(qemu) Segmentation fault

Expected results:
guest start successful

Additional info:

Comment 1 Amit Shah 2011-05-23 08:41:18 UTC
The -no-kvm option isn't supported.