| Summary: | Can not install Windows guest in virtio disk with correct driver | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | wangyimiao <yimwang> | ||||
| Component: | libvirt | Assignee: | Osier Yang <jyang> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.7 | CC: | ccui, dallan, dyuan, llim, mzhan, veillard, yoyzhang | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| 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-06-08 10:13:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Please attach the domain log /var/lib/libvirt/qemu/win_virtio.log Did you seen any error reported on syslog related to libvirt or quemu (check /var/log/messages) Daniel Created attachment 500315 [details]
win_virtio.log
# tail -f /var/log/messages
May 22 20:06:48 yimwang dhclient: DHCPREQUEST on br0 to 10.66.127.2 port 67 (xid=0xa1bb535)
May 22 20:06:48 yimwang dhclient: DHCPACK from 10.66.127.2 (xid=0xa1bb535)
May 22 20:06:48 yimwang dhclient: bound to 10.66.5.181 -- renewal in 37377 seconds.
May 22 20:37:03 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:37:03 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:37:03 yimwang kernel: device vnet1 left promiscuous mode
May 22 20:37:03 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:41:04 yimwang kernel: device vnet1 entered promiscuous mode
May 22 20:41:04 yimwang kernel: virbr0: topology change detected, propagating
May 22 20:41:04 yimwang kernel: virbr0: port 1(vnet1) entering forwarding state
May 22 20:45:50 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:45:50 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:45:50 yimwang kernel: device vnet1 left promiscuous mode
May 22 20:45:50 yimwang kernel: virbr0: port 1(vnet1) entering disabled state
May 22 20:45:50 yimwang libvirtd: 20:45:50.189: error : qemuMonitorCommandWithHandler:362 : cannot send monitor command 'info balloon': Connection reset by peer
May 22 20:45:50 yimwang libvirtd: 20:45:50.190: error : qemuMonitorTextGetBalloonInfo:682 : operation failed: could not query memory balloon allocation
May 22 20:46:00 yimwang kernel: device vnet1 entered promiscuous mode
May 22 20:46:00 yimwang kernel: virbr0: topology change detected, propagating
May 22 20:46:00 yimwang kernel: virbr0: port 1(vnet1) entering forwarding state
Can you please attach guest log too? libvirtd log here is not useful, though it has errors. guest log 'win_virtio.log' please sees the attachment 500315 [details] in comment 3. Install RHEL OS for guest domain with 'virtio' disk,it will be works fine. |
Description of problem: Can not install Windows guest in virtio disk with correct driver. Version-Release number of selected component (if applicable): libvirt-0.8.2-20.el5 kvm-qemu-img-83-232.el5 kernel-2.6.18-259.el5 virtio-win-1.0.1-3.52454.el5 How reproducible: 5/5 Steps to Reproduce: 1.Download and install latest virtio-win rpm package on host first. # rpm -qa|grep virtio virtio-win-1.0.1-3.52454.el5 2.Dumpxml domain guest XML. # virsh dumpxml win_virtio <domain type='kvm' id='15'> <name>win_virtio</name> <uuid>6785f9df-12e9-3f5a-32b3-39de72020e12</uuid> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>2</vcpu> <os> <type arch='x86_64' machine='rhel5.4.0'>hvm</type> <boot dev='cdrom'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/images/win_virtio.img'/> <target dev='vda' bus='virtio'/> <alias name='virtio0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='block' device='cdrom'> <driver name='qemu' type='raw'/> <source dev='/dev/sr0'/> <target dev='hdc' bus='ide'/> <readonly/> <alias name='ide1-cd0'/> <address type='drive' controller='0' bus='1' unit='0'/> </disk> <disk type='file' device='floppy'> <driver name='qemu' type='raw'/> <source file='/usr/share/virtio-win/virtio-drivers-1.0.1-52454.vfd'/> <target dev='fda' bus='fdc'/> <alias name='floppy0'/> <address type='drive' controller='0' bus='0' unit='0'/> </disk> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='fdc' index='0'/> <interface type='network'> <mac address='52:54:00:e7:7e:04'/> <source network='default'/> <target dev='vnet1'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/5'/> <target port='0'/> </serial> <console type='pty' tty='/dev/pts/5'> <source path='/dev/pts/5'/> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='5901' autoport='yes' keymap='en-us'/> <sound model='ac97'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </sound> <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> </devices> <seclabel type='dynamic' model='selinux'> <label>system_u:system_r:svirt_t:s0:c772,c873</label> <imagelabel>system_u:object_r:svirt_image_t:s0:c772,c873</imagelabel> </seclabel> </domain> 3.Create disk image. # qemu-img create /var/lib/libvirt/images/win_virtio.img 15G 4. Define XML and Start to install windows guest win2003_x86. # virsh start win_virtio Domain win_virtio started 5.Follow install page to install windows domain guest. Actual results: Can not install Windows guest in virtio disk with correct driver. After finished copy files,guest restart. Then guest repeat at 4 steps again and again.Can not to finish install. Expected results: Installed should be successful.