RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 915703 - Guest (while S3 ) Migrate failed when guest with balloon device
Summary: Guest (while S3 ) Migrate failed when guest with balloon device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Hai Huang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: Virt-S3/S4-7.0
TreeView+ depends on / blocked
 
Reported: 2013-02-26 11:04 UTC by langfang
Modified: 2013-08-20 18:42 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-20 18:42:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description langfang 2013-02-26 11:04:06 UTC
Description of problem:
Boot guest with balloon device--->update balloon driver--->do S3 ("Sleep")--->while guest in S3 status--->do migrate from src to des--->after migrate finished--->Check des ,migrate failed

Version-Release number of selected component (if applicable):
HOst:
# uname -r
3.7.0-0.36.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.3.0-6.el7.x86_64

Guest:win2008R2

drivers:
virtio-win-1.6.3-3.el6 

How reproducible:
100%

Steps to Reproduce:
1.Boot guest with "-device virtio-balloon-pci,bus=pci.0,id=balloon0,addr=0x8"

2.Update driver for balloon
3.Do s3 -->Choose "Sleep"
4.While guest in S3 status,do migrate from Src to Des
  
Actual results:

QEMU 1.3.0 monitor - type 'help' for more information
(qemu) qxl_send_events: spice-server bug: guest stopped, ignoring
qemu-kvm: VQ 2 size 0x80 Guest index 0x0 inconsistent with Host index 0x1: delta 0xffff
qemu: warning: error while loading state for instance 0x0 of device '0000:00:08.0/virtio-balloon'
load of migration failed


Expected results:

Guest can be migrate successfully

Additional info:

1)Tried use rhel7 guest not hit the problem,cannot hit the problem,
2)IF boot and migrate guest without balloon device ,can be migrate successfully,but will hit
(bug 915672)
3)MY CLI:
/usr/libexec/qemu-kvm  -M pc-1.3 -enable-kvm -m 4G -smp 4,sockets=2,cores=2,threads=1 -uuid 03272402-4538-4a7f-aa3e-3df4da3d5f48 -nodefaults -rtc base=utc  -drive file=/home/win2008r2-64-virtio.qcow2,format=qcow2,if=none,id=drive-ide0-0-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0-0,id=ide0-0-0,addr=0x3 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:60:3f:29,bus=pci.0,addr=0x4  -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x6 -chardev socket,id=channel0,path=/tmp/tty0,server,nowait -device virtserialport,chardev=channel0,name=org.linux-kvm.port.1,bus=virtio-serial0.0,id=port1 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0  -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -monitor stdio  -boot menu=on,order=c -spice port=5801,disable-ticketing -vga qxl  -drive file=/usr/share/virtio-win/virtio-win.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0  -usb -device usb-tablet,id=input0 -device virtio-balloon-pci,bus=pci.0,id=balloon0,addr=0x8 -incoming tcp:0:5888

Comment 2 langfang 2013-03-01 09:11:21 UTC
Because virtio-win packages for RHEL7 not comes out,I tried the problem on the latest rhel6.4 host .But there have a bug block the test  .

 Bug 867816 - Guest aborted on the dst host after migration during guest doing S3
 https://bugzilla.redhat.com/show_bug.cgi?id=867816

The main point for the this bug is "boot guest with balloon device",If remove the balloon device for this bug ,the migration will successfully.So will reserve this bug for track the problem on rhel7.

Comment 3 Hai Huang 2013-08-09 12:49:55 UTC
Would it be possible to re-test with a more recent RHEL7.0 compose?
Thank you.

Comment 4 langfang 2013-08-13 06:29:16 UTC
Test this bug on latest version

Host
# uname -r 
3.10.0-4.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.2-3.el7.x86_64

Guest:win2008r2

virtio-win-prewhql-67

Steps:
1.Boot guest with balloon device
 "-device virtio-balloon-pci,bus=pci.0,id=balloon0,addr=0x8"

2.Update driver for balloon
3.Do s3 -->Choose "Sleep"
4.While guest in S3 status,do migrate from Src to Des
  
Actual results:

Not hit the balloon error.Migration successfully,but hit bug915672.Tried to boot guest without balloon device,still have the problem.

Bug 915672 - do S3 while migrating a guest but then fail to resume it in destination


Addtional info:
 /usr/libexec/qemu-kvm -M pc-i440fx-rhel7.0.0 -enable-kvm -m 2G -smp 4,sockets=2,cores=2,threads=1 -uuid `uuidgen` -nodefaults -rtc base=utc  -drive file=/home/win2008r2-64-virtio.qcow2,format=qcow2,if=none,id=drive-ide0-0-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0-0,id=ide0-0-0,addr=0x3 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:60:3f:29,bus=pci.0,addr=0x4  -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x6 -chardev socket,id=channel0,path=/tmp/tty0,server,nowait -device virtserialport,chardev=channel0,name=org.linux-kvm.port.1,bus=virtio-serial0.0,id=port1 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0  -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -monitor stdio  -boot menu=on,order=c -spice port=5802,disable-ticketing -vga qxl  -drive file=/usr/share/virtio-win/virtio-win.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0  -usb -device usb-tablet,id=input0 -device virtio-balloon-pci,bus=pci.0,id=balloon0,addr=0x8 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0


Note You need to log in before you can comment on or make changes to this bug.