Bug 589452
Summary: | The guest was hung after Migration via a compressed file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Golita Yue <gyue> |
Component: | qemu-kvm | Assignee: | Juan Quintela <quintela> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | lihuang, michen, ndai, tburke, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-01 10:14:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Golita Yue
2010-05-06 08:08:52 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Can you retry w/o compression? HOST: # uname -r 2.6.32-23.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.48.el6.x86_64 Guest: Windows 2003 R2 sp2 32bit, Windows 2003 64bit , Windows 2008 r2, Windows 7 32bit, windows 7 64bit, steps: 1.start the guest with :-smp 1 2.Do migration via compressed file. actual results: the guest was hung inthe qemu monitor #info status VM status: running additional info: 1.start the guest with:-smp 2 2.Do migration via compressed file. the guest can work on well,will NOT hint the issue. (In reply to comment #3) > Can you retry w/o compression? Migrate without compression: 1. start guest /usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -startdate now -cpu qemu64,+sse2 -drive file=/mnt/r5u5_64.raw -net nic,model=rtl8139,macaddr=20:20:11:23:21:01,vlan=0 -net tap,script=/etc/qemu-ifup,downscript=no,vlan=0 -vnc :1 -m 2G -smp 1 -balloon none -boot c -monitor stdio -uuid `uuidgen` QEMU 0.12.1 monitor - type 'help' for more information 2. migrate (qemu) stop (qemu) migrate "exec: dd of=gyue-r5-migrate" 1029887+1 records in 1029887+1 records out 527302503 bytes (527 MB) copied, 496.766 s, 1.1 MB/s (qemu) (qemu) info migrate Migration status: completed (qemu) (qemu) quit 3. start guest in listening mode /usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -startdate now -cpu qemu64,+sse2 -drive file=/mnt/r5u5_64.raw -net nic,model=rtl8139,macaddr=20:20:11:23:21:01,vlan=0 -net tap,script=/etc/qemu-ifup,downscript=no,vlan=0 -vnc :1 -m 2G -smp 1 -balloon none -boot c -monitor stdio -uuid `uuidgen` -incoming "exec: dd if=gyue-r5-migrate" QEMU 0.12.1 monitor - type 'help' for more information (qemu) 1029887+1 records in 1029887+1 records out 527302503 bytes (527 MB) copied, 2.56788 s, 205 MB/s (qemu) info status VM status: running Result: I cannot use mouse and keyboard in guest, and the guest was hung look likely. This works for me (tm). Attached my configuration. I tried with f13 linux console and rhel55 X install, both worked with keyboard and mouse. Could you retry? /usr/libexec/qemu-kvm -enable-kvm -m 1024 -smp 1 -name source -uuid f301370a-83c8-eb39-81c8-4c1bf134e98f -nodefaults -boot c -usb -vnc :0 -k es -vga cirrus -readconfig source -L /usr/share/qemu-kvm/ -rtc-td-hack -startdate now -cpu qemu64,+sse2 -incoming "exec: dd if=/tmp/kkk" [root@deus ~]# cat source # qemu config file [drive "drive-virtio-disk0"] # file = "/mnt/kvm/images/f13X-64.img" file = "/mnt/kvm/images/rhel5.5X-64.img" if = "none" boot = "on" [chardev "compat_monitor0"] backend = "stdio" [chardev "serial0"] backend = "pty" [device "virtio-disk0"] driver = "virtio-blk-pci" bus = "pci.0" addr = "0x4" drive = "drive-virtio-disk0" [device "net0"] driver = "virtio-net-pci" netdev = "hostnet0" mac = "52:54:00:16:16:fd" bus = "pci.0" addr = "0x5" [device] driver = "isa-serial" chardev = "serial0" [device "input0"] driver = "usb-tablet" [device "balloon0"] driver = "virtio-balloon-pci" bus = "pci.0" addr = "0x3" [netdev "hostnet0"] type = "tap" script = "/etc/kvm-ifup" [rtc] base = "utc" [mon "compat_monitor0"] mode = "readline" chardev = "compat_monitor0" default = "on" [chardev "qmp"] backend = "socket" port = "6666" host = "0" server = "on" wait = "off" [mon "qmp"] mode = "control" chardev = "qmp" [root@deus ~]# (In reply to comment #6) > This works for me (tm). Attached my configuration. I tried with f13 linux > console and rhel55 X install, both worked with keyboard and mouse. Could you > retry? Which (qemu-kvm & kernel) version did you use? Should I retry it in qemu-kvm-0.12.1.2-2.48.el6.x86_64 ? or the latest version ? This ones work for me. [root@deus ~]# rpm -qa kernel qemu-kvm kernel-2.6.32-37.el6.x86_64 qemu-kvm-0.12.1.2-2.78.el6.x86_64 (In reply to comment #6) > This works for me (tm). Attached my configuration. I tried with f13 linux > console and rhel55 X install, both worked with keyboard and mouse. Could you > retry? I try again with #commnet5 steps, cannot reproduce this bug in qemu-kvm-0.12.1.2-2.82.el6.x86_64 kernel 2.6.32-38.el6.x86_64 As #comment8 & 9, close this bug. if you find it again please reopen this bug. |