Bug 1121993

Summary: hotplug vcpu during win8.1-64 guest booting cause desktop resolution change
Product: Red Hat Enterprise Linux 6 Reporter: mazhang <mazhang>
Component: qemu-kvmAssignee: Ademar Reis <areis>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: acathrow, bsarathy, juzhang, michen, mkenneth, qzhang, virt-maint, xfu
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-07-22 19:51:09 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:
Attachments:
Description Flags
snapshot of guest none

Description mazhang 2014-07-22 10:10:41 UTC
Description of problem:
Hotplug vcpu during win8.1-64 guest booting cause desktop resolution change.

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

Host:
qemu-kvm-0.12.1.2-2.430.el6.x86_64
gpxe-roms-qemu-0.9.7-6.11.el6.noarch
qemu-kvm-debuginfo-0.12.1.2-2.430.el6.x86_64
qemu-img-0.12.1.2-2.430.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.430.el6.x86_64
kernel-2.6.32-492.el6.x86_64

Guest:
win8.1-64

How reproducible:
always

Steps to Reproduce:
1.Boot guest:
/usr/libexec/qemu-kvm \
-machine rhel5.4.0,dump-guest-core=off \<--rhel5.4.0/rhel5.5.0 hit this problem
-cpu Opteron_G4 \
-m 8G \
-smp 4,sockets=2,cores=8,threads=8,maxcpus=240 \
-enable-kvm \
-name rhel6.6 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-chardev socket,id=seabios,path=/tmp/seabios0,server,nowait \
-device isa-debugcon,chardev=seabios,iobase=0x402 \
-monitor unix:/tmp/monitor0,server,nowait -device sga \
-vga qxl \
-spice port=5900,disable-ticketing \
-usb \
-device usb-tablet,id=tablet0 \
-drive file=/usr/share/virtio-win/virtio-win.iso,if=none,media=cdrom,id=drive-ide1,readonly=on,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide1,id=ide1 \
-drive file=/home/win8.1-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-netdev tap,id=hostnet1 \
-device e1000,netdev=hostnet1,id=net1 \

2.Hotplug cpu during guest booting.
(qemu) cpu_set 4 online

3.

Actual results:
After guest boot up desktop will change to low resolution and gray.

Expected results:
Guest desktop works well.

Additional info:
machine type is rhel5.4.0/rhel5.5.0 could hit this problem, rhel6.6.0 works well.

Comment 1 mazhang 2014-07-22 10:11:47 UTC
Created attachment 919857 [details]
snapshot of guest