Bug 890149

Summary: Lots of device properties are different in the 'info qtree' output - RHEL6.3 host VS RHEL6.4 host (-M rhel6.3.0) - Non-default devices
Product: Red Hat Enterprise Linux 6 Reporter: Qunfang Zhang <qzhang>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: acathrow, amit.shah, areis, armbru, bsarathy, dyasny, juzhang, michen, mkenneth, rhod, shuang, virt-maint
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: 2012-12-26 17:08:19 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
'info qtree' output on rhel6.3 host with *non-default* parameters
none
'info qtree' output on rhel6.4 host (-M rhel6.3.0) with *non-default* paramters none

Description Qunfang Zhang 2012-12-25 10:23:05 UTC
Description of problem:


Version-Release number of selected component (if applicable):
RHEL6.4 host:
kernel2.6.32-348.el6.x86_64
qemu-kvm-0.12.1.2-2.346.el6.x86_64

RHEL6.3-z host:
kernel-2.6.32-279.19.1.el6.x86_64
qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Boot a guest on rhel6.3 host and attach as more devices as possible that 6.3 supported.
]# /usr/libexec/qemu-kvm -S -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name rhel6.1-64 -uuid 69f4aa4b-a575-348e-934b-0c27f138c735  -device sga -monitor stdio -rtc base=utc -no-shutdown -boot order=nc,menu=on -drive file=/home/disk.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/home/boot.iso,id=drive-cdrom,format=raw,if=none,werror=stop,rerror=stop,media=cdrom -device ide-drive,drive=drive-cdrom,id=cdrom  -netdev tap,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:8a:36:ae,bus=pci.0,addr=0x3 -netdev tap,id=hostnet1 -device e1000,netdev=hostnet1,id=net1,mac=52:54:00:8a:36:20,bus=pci.0,addr=0x4 -netdev tap,id=hostnet2 -device virtio-net-pci,netdev=hostnet2,id=net2,mac=52:54:00:8a:36:20,bus=pci.0,addr=0x5 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device intel-hda,id=sound0,bus=pci.0,addr=0x6 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x8 -chardev socket,id=channel0,host=127.0.0.1,port=12345,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=channel0,id=channel0,name=com.redhat.rhevm.vdsm -chardev spicevmc,id=charchannel1,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 -k en-us -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=input0 -device  usb-hub,bus=usb.0,port=2,id=hub -device usb-storage,bus=usb.0,port=2.4,drive=drive-usb-2-0,id=usb-2-0,removable=on  -drive file=/home/usb.qcow2,if=none,id=drive-usb-2-0,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads -device usb-kbd,id=kbd,port=2.1 -device usb-mouse,id=mouse,port=2.2 -device usb-ehci,id=ehci,bus=pci.0,addr=0x9 -device usb-storage,drive=drive-usb-0-0,id=usb-0-0,removable=on,bus=ehci.0,port=1  -drive  file=/home/usb-2.qcow2,if=none,id=drive-usb-0-0,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native -drive file=/home/disk-2.qcow2,if=none,id=drive-virtio0,format=qcow2,cache=none,rerror=stop,werror=stop -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0xa,drive=drive-virtio0,id=virtio0 -drive file=/home/scsi.qcow2,if=none,id=disk-scsi0,format=qcow2,werror=stop,rerror=stop,aio=native -device virtio-scsi-pci,id=bus1,bus=pci.0,addr=0xb -device scsi-hd,bus=bus1.0,drive=disk-scsi0,id=virtio-scsi-pci0  -drive file=/home/boot.iso,if=none,media=cdrom,id=drive-scsi0,readonly=on,format=raw -device virtio-scsi-pci,id=bus2,bus=pci.0,addr=0xc -device scsi-cd,bus=bus2.0,drive=drive-scsi0,id=virtio-scsi-pci1 -drive file=/home/floppy.img,if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0 -vnc :10 -vga std -watchdog i6300esb -watchdog-action pause 


2. On rhel6.3 host:
(qemu) info qtree

3. Boot the guest on rhel6.4 host with the same command line but append "-M rhel6.3.0"

4. On rhel6.4 host:
(qemu)info qtree

5. Compare the output on step 2 and step 4.

  
Actual results:
Lot's of properties are different, some properties showing up on 6.4 host but not on 6.3 host.
Some property values are changed on 6.4 host.
Here only highlight some of them, for detail please check attachment. 
(*Blue* front means "properties exists on 6.4 but not on 6.3;
 *Red* front means "property value changed on rhel6.4 host")

Highlight:
(1)virtio block device:
On rhel6.4 host with -M rhel6.3.0:  "dev-prop: ioeventfd = off"
On rhel6.3 host: dev-prop: ioeventfd = on

(2)switch guest from using std to qxl:
On rhel6.3 host:

dev: qxl-vga, id ""
......
        bar 0: mem at 0xffffffffffffffff [0x3fffffe] 
        bar 1: mem at 0xffffffffffffffff [0x3fffffe] 
        bar 2: mem at 0xffffffffffffffff [0x1ffe] 
        bar 3: i/o at 0xffffffffffffffff [0x1e] 
......

On rhel6.4 host:
dev: qxl-vga, id ""
......
        bar 0: mem at 0xf0000000 [0xf3ffffff] 
        bar 1: mem at 0xffffffffffffffff [0x3fffffe] 
        bar 2: mem at 0xf4000000 [0xf4003fff] 
        bar 3: i/o at 0xc020 [0xc03f] 
......

(3)Please check attachment for rhel6.4 host, lot's of properties showing up on rhel6.4 host, I marked them with blue front.

Expected results:


Additional info:

Comment 1 Qunfang Zhang 2012-12-25 10:24:12 UTC
Created attachment 668831 [details]
'info qtree' output on rhel6.3 host with *non-default* parameters

Comment 2 Qunfang Zhang 2012-12-25 10:24:51 UTC
Created attachment 668832 [details]
'info qtree' output on rhel6.4 host (-M rhel6.3.0) with  *non-default* paramters

Comment 4 Eduardo Habkost 2012-12-26 17:08:19 UTC
Unifying bugs. See bug 889995 comment #8.

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