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 1077489

Summary: WinXP / Win2003.i386 hang during installation on AMD machine
Product: Red Hat Enterprise Linux 7 Reporter: CongLi <coli>
Component: qemu-kvmAssignee: Yvugenfi <yvugenfi>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: coli, dfleytma, hhuang, juzhang, michen, rbalakri, rhod, rkrcmar, shuang, virt-maint, xwei, yvugenfi
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: 2014-12-01 23:07:29 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:
Bug Depends On:    
Bug Blocks: 1069309    

Description CongLi 2014-03-18 05:14:59 UTC
Description of problem:
WinXP / Win2003.i386 hang during installation on AMD machine

Version-Release number of selected component (if applicable):
kernel-3.10.0-110.el7.x86_64
qemu-kvm-1.5.3-53.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install a WinXP guest:
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/winXP-32-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \
    -device virtio-net-pci,mac=9a:26:27:28:29:2a,id=idU8DNsf,netdev=idhf2a7c,bus=pci.0,addr=05  \

2.
3.

Actual results:
WinXP / Win2003.i386 hang during installation

Expected results:
WinXP / Win2003.i386 installation successful

Additional info:
1. WinXP / Win2003.i386 installation on Intel host successful

2. The build in bz1069309 doesn't help. (https://bugzilla.redhat.com/show_bug.cgi?id=1069309#c10)
kernel-3.10.0-108.el7.bz1056982.x86_64

3. QEMU CML (WinXP):
/home/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu \
    -S  \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc  \
    -nodefaults  \
    -vga cirrus  \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=winXP-32-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \
    -device virtio-net-pci,mac=9a:26:27:28:29:2a,id=idU8DNsf,netdev=idhf2a7c,bus=pci.0,addr=05  \
    -netdev tap,id=idhf2a7c,vhost=on  \
    -m 2048  \
    -smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
    -cpu 'Opteron_G4',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/ISO/WinXP/32/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -drive id=drive_winutils,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-cd,id=winutils,drive=drive_winutils,bootindex=2,bus=ide.0,unit=1 \
    -drive id=drive_virtio,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win.latest_prewhql.iso \
    -device ide-cd,id=virtio,drive=drive_virtio,bootindex=3,bus=ide.1,unit=0 \
    -drive id=drive_fl,if=none,cache=none,snapshot=off,readonly=off,aio=native,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/winXP-32/answer.vfd \
    -global isa-fdc.driveA=drive_fl \
    -vnc :7  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off \
    -enable-kvm \
    -monitor stdio \

4. top:
top - 14:34:35 up  4:54,  2 users,  load average: 0.11, 0.09, 0.14
Threads:   6 total,   0 running,   6 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.0 us,  0.4 sy,  0.0 ni, 98.4 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  32633884 total,  4592080 used, 28041804 free,        0 buffers
KiB Swap: 16457724 total,        0 used, 16457724 free.   773096 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                                              
11548 root      20   0 4826688 3.031g   6468 S  0.0  9.7   2:25.29 qemu                                                                                                                 
11552 root      20   0 4826688 3.031g   6468 S  0.0  9.7   5:49.47 qemu                                                                                                                 
11553 root      20   0 4826688 3.031g   6468 S  0.0  9.7   4:59.76 qemu                                                                                                                 
11554 root      20   0 4826688 3.031g   6468 S  0.0  9.7   2:08.21 qemu                                                                                                                 
11555 root      20   0 4826688 3.031g   6468 S  0.0  9.7   4:20.19 qemu                                                                                                                 
11557 root      20   0 4826688 3.031g   6468 S  0.0  9.7   0:00.01 qemu       

5. kvm_stat -l:
kvm_ack_irq                    0         0
kvm_age_page                   0         0
kvm_apic                       0         0
kvm_apic_accept_irq            0         0
kvm_apic_ipi                   0         0
kvm_async_pf_completed         0         0
kvm_async_pf_doublefault         0         0
kvm_async_pf_not_present         0         0
kvm_async_pf_ready             0         0
kvm_cpuid                      0         0
kvm_cr                         0         0
kvm_emulate_insn               0         0
kvm_entry                      0         0
kvm_eoi                        0         0
kvm_exit                       0         0
kvm_exit(CLGI)                 0         0
kvm_exit(CPUID)                0         0
kvm_exit(CR0_SEL_WRITE)         0         0
kvm_exit(EXCP_BASE)            0         0
kvm_exit(FERR_FREEZE)          0         0
kvm_exit(GDTR_READ)            0         0
kvm_exit(GDTR_WRITE)           0         0
kvm_exit(HLT)                  0         0
kvm_exit(ICEBP)                0         0
kvm_exit(IDTR_READ)            0         0
kvm_exit(IDTR_WRITE)           0         0
kvm_exit(INIT)                 0         0
kvm_exit(INTR)                 0         0
kvm_exit(INVD)                 0         0
kvm_exit(INVLPG)               0         0
kvm_exit(INVLPGA)              0         0
kvm_exit(IOIO)                 0         0
kvm_exit(IRET)                 0         0
kvm_exit(LDTR_READ)            0         0
kvm_exit(LDTR_WRITE)           0         0
kvm_exit(MONITOR)              0         0
kvm_exit(MSR)                  0         0
kvm_exit(MWAIT)                0         0
kvm_exit(MWAIT_COND)           0         0
kvm_exit(NMI)                  0         0
kvm_exit(NPF)                  0         0
kvm_exit(PAUSE)                0         0
kvm_exit(POPF)                 0         0
kvm_exit(PUSHF)                0         0
kvm_exit(RDPMC)                0         0
kvm_exit(RDTSC)                0         0
kvm_exit(RDTSCP)               0         0
kvm_exit(READ_CR0)             0         0
kvm_exit(READ_CR3)             0         0
kvm_exit(READ_CR4)             0         0
kvm_exit(READ_CR8)             0         0
kvm_exit(READ_DR0)             0         0
kvm_exit(READ_DR1)             0         0
kvm_exit(READ_DR2)             0         0
kvm_exit(READ_DR3)             0         0
kvm_exit(READ_DR4)             0         0
kvm_exit(READ_DR5)             0         0
kvm_exit(READ_DR6)             0         0
kvm_exit(READ_DR7)             0         0
kvm_exit(RSM)                  0         0
kvm_exit(SHUTDOWN)             0         0
kvm_exit(SKINIT)               0         0
kvm_exit(SMI)                  0         0
kvm_exit(STGI)                 0         0
kvm_exit(SWINT)                0         0
kvm_exit(TASK_SWITCH)          0         0
kvm_exit(TR_READ)              0         0
kvm_exit(TR_WRITE)             0         0
kvm_exit(VINTR)                0         0
kvm_exit(VMLOAD)               0         0
kvm_exit(VMMCALL)              0         0
kvm_exit(VMRUN)                0         0
kvm_exit(VMSAVE)               0         0
kvm_exit(WBINVD)               0         0
kvm_exit(WRITE_CR0)            0         0
kvm_exit(WRITE_CR3)            0         0
kvm_exit(WRITE_CR4)            0         0
kvm_exit(WRITE_CR8)            0         0
kvm_exit(WRITE_DR0)            0         0
kvm_exit(WRITE_DR1)            0         0
kvm_exit(WRITE_DR2)            0         0
kvm_exit(WRITE_DR3)            0         0
kvm_exit(WRITE_DR4)            0         0
kvm_exit(WRITE_DR5)            0         0
kvm_exit(WRITE_DR6)            0         0
kvm_exit(WRITE_DR7)            0         0
kvm_fpu                        0         0
kvm_hv_hypercall               0         0
kvm_hypercall                  0         0
kvm_inj_exception              0         0
kvm_inj_virq                   0         0
kvm_invlpga                    0         0
kvm_ioapic_set_irq             0         0
kvm_mmio                       0         0
kvm_msi_set_irq                0         0
kvm_msr                        0         0
kvm_nested_intercepts          0         0
kvm_nested_intr_vmexit         0         0
kvm_nested_vmexit              0         0
kvm_nested_vmexit_inject         0         0
kvm_nested_vmrun               0         0
kvm_page_fault                 0         0
kvm_pic_set_irq                0         0
kvm_pio                        0         0
kvm_pv_eoi                     0         0
kvm_set_irq                    0         0
kvm_skinit                     0         0
kvm_track_tsc                  0         0
kvm_try_async_get_page         0         0
kvm_update_master_clock         0         0
kvm_userspace_exit             0         0
kvm_write_tsc_offset           0         0
vcpu_match_mmio                0         0

6.cpuinfo:
processor	: 23
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 1
model name	: AMD Opteron(TM) Processor 6234                 
stepping	: 2
microcode	: 0x6000626
cpu MHz		: 2400.049
cache size	: 2048 KB
physical id	: 1
siblings	: 12
core id		: 5
cpu cores	: 6
apicid		: 75
initial apicid	: 43
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips	: 4799.73
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb