Bug 1040002

Summary: Fail to install windows guest if guest's vmem larger than host memory
Product: Red Hat Enterprise Linux 6 Reporter: Mike Cao <bcao>
Component: qemu-kvmAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.6CC: bcao, bsarathy, chayang, hhuang, juzhang, knoel, michen, mkenneth, pbonzini, qzhang, rbalakri, rhod, riel, rkrcmar, virt-maint, xigao
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1040735 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-10 09:14:11 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:
Attachments:
Description Flags
screenshot none

Description Mike Cao 2013-12-10 13:37:12 UTC
Description of problem:


Version-Release number of selected component (if applicable):
2.6.32-431.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6.x86_64
seabios-0.6.1.2-28.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
environment:
/dev/sdb1 --> 60GB SSD --> mkswap /dev/sdb1 ; swapon /dev/sdb1
/dev/sdc1 ---> 60GB SSD --> mkswap /dev/sdc1 ; swapon /dev/sdc1
# free -g
             total       used       free     shared    buffers     cached
Mem:             7          7          0          0          0          0
-/+ buffers/cache:          7          0
Swap:          113          5        108

Scenario 1 :
1.install guest with -m=2G .
2.After installation completed ,boot it w/ -m=12G

Scenario 2:
1.install guest with -m=12G


senario 3:
1.configure the hosts swap to 120GB using SSD Disk (both normal one and raid0)
   1.1 modprobe raid456
   1.2 swapoff -a
   1.3 mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=2 /dev/sdb1 /dev/sdc1 -c 4096
2.Start VM with 100G
CLI:screen /usr/libexec/qemu-kvm -M rhel6.5.0 -cpu Penryn -enable-kvm -m 100G -smp 4,cores=4 -name bcao_svvp -uuid 6d5911b6-ca4e-40d2-8488-43ad6f7150ed -rtc base=localtime,clock=host,driftfix=slew -drive file=test.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk0 -device virtio-blk-pci,drive=drive-disk0,id=disk0 -drive file=en_windows_server_2012_r2_x64_dvd_2707946.iso,if=none,media=cdrom,id=aa -device ide-drive,id=aa1,drive=aa,bootindex=1 -drive file=/usr/share/virtio-win/virtio-win.iso,media=cdrom,if=none,id=bb -device ide-drive,id=bb1,drive=bb -netdev tap,vhost=on,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=nic1,mac=00:52:0b:ca:bc:7b -vnc :1 -vga cirrus -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=1 -global PIIX_PM.disable_s4=1 -monitor stdio -boot dc
3.

Actual results:
Guest failed to install/start 

Expected results:
guest should work fine

Additional info:
screenshot will be attached

Comment 1 Mike Cao 2013-12-10 13:43:55 UTC
Created attachment 834766 [details]
screenshot

Comment 3 Ronen Hod 2014-07-29 12:48:31 UTC
Mike,

Can you please try it with RHEL7. I think that we will never get to it on RHEL6, but it is worth fixing.

Comment 6 Mike Cao 2014-08-04 08:24:25 UTC
(In reply to Ronen Hod from comment #3)
> Mike,
> 
> Can you please try it with RHEL7. I think that we will never get to it on
> RHEL6, but it is worth fixing.

Hi, Ronen

I can not reproduce the original issue on RHEL7 host 
qemu-kvm-1.5.3-66.el7.x86_64
seabios-bin-1.7.2.2-12.el7.x86_64

I am trying to try some svvp tests by using this configuration on RHEL7 hosts ,same jobs passed as well 

Mike

Comment 7 Mike Cao 2014-08-04 08:25:52 UTC
(In reply to Mike Cao from comment #6)
> (In reply to Ronen Hod from comment #3)
> > Mike,
> > 
> > Can you please try it with RHEL7. I think that we will never get to it on
> > RHEL6, but it is worth fixing.
> 
> Hi, Ronen
> 
> I can not reproduce the original issue on RHEL7 host 
> qemu-kvm-1.5.3-66.el7.x86_64
> seabios-bin-1.7.2.2-12.el7.x86_64
> 
> I am trying to try some svvp tests by using this configuration on RHEL7
> hosts ,same jobs passed as well 

s/same/some
> 
> Mike

Comment 8 Ronen Hod 2014-09-10 09:14:11 UTC
(In reply to Mike Cao from comment #6)
> (In reply to Ronen Hod from comment #3)
> > Mike,
> > 
> > Can you please try it with RHEL7. I think that we will never get to it on
> > RHEL6, but it is worth fixing.
> 
> Hi, Ronen
> 
> I can not reproduce the original issue on RHEL7 host 
> qemu-kvm-1.5.3-66.el7.x86_64
> seabios-bin-1.7.2.2-12.el7.x86_64
> 
> I am trying to try some svvp tests by using this configuration on RHEL7
> hosts ,same jobs passed as well 
> 
> Mike

OK. Since RHEL7 is doing better (good news), we will satisfy with this, and I am closing this bug.