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 1050799 - The remaining value keeps increasing to 1004kb after migration completed
Summary: The remaining value keeps increasing to 1004kb after migration completed
Keywords:
Status: CLOSED DUPLICATE of bug 1000231
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-09 05:46 UTC by Mike Cao
Modified: 2015-11-23 03:37 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-09 06:03:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike Cao 2014-01-09 05:46:04 UTC
Description of problem:


Version-Release number of selected component (if applicable):
2.6.32-431.1.2.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.x86_64
seabios-0.6.1.2-28.el6.x86_64
package sgabios is not installed

How reproducible:
100%

Steps to Reproduce:
1.Start VM 
CLI:/usr/libexec/qemu-kvm -M rhel6.5.0 -cpu host -enable-kvm -m 2G -smp 2,cores=2 -name bcao_win-7-32-netkvm -uuid 884e673a-1b4a-4385-a522-b3cc35ef4e18 -rtc base=localtime,clock=host,driftfix=slew -device virtio-scsi-pci,id=scsi0 -drive file=win2k8-R2.qcow2,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=qcow2,id=drive-disk0 -device scsi-hd,bootindex=1,drive=drive-disk0,id=disk0,bus=scsi0.0 -device virtio-scsi-pci,id=scsi1 -drive file=test1.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk1 -device scsi-hd,bus=scsi1.0,drive=drive-disk1,id=disk1 -drive file=test2.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk2 -device scsi-hd,drive=drive-disk2,id=disk2,bus=scsi1.0 -drive file=test3.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk3 -device scsi-hd,bus=scsi1.0,drive=drive-disk3,id=disk3 -drive file=virtio-win.iso,if=none,media=cdrom,id=aa -device ide-drive,id=aa1,drive=aa -netdev tap,vhost=on,id=netdev0 -device e1000,netdev=netdev0,id=nic1,mac=fe:46:1b:ca:bc:7b -vnc :2 -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor unix:/tmp/tt,server,nowait -boot menu=on

2.hot plug scsi-hd on existing scsi pci
(qemu) device_add scsi-hd,addr=0x9,drive=drive-disk4,id=disk4,bus=scsi0.0
Property 'scsi-hd.addr' not found
(qemu) device_add scsi-hd,lun=9,drive=drive-disk4,id=disk4,bus=scsi0.0

3.Start listening part 
CLI:/usr/libexec/qemu-kvm -M rhel6.5.0 -cpu host -enable-kvm -m 2G -smp 2,cores=2 -name bcao_win-7-32-netkvm -uuid 884e673a-1b4a-4385-a522-b3cc35ef4e18 -rtc base=localtime,clock=host,driftfix=slew -device virtio-scsi-pci,id=scsi0 -drive file=win2k8-R2.qcow2,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=qcow2,id=drive-disk0 -device scsi-hd,bootindex=1,drive=drive-disk0,id=disk0,bus=scsi0.0 -device virtio-scsi-pci,id=scsi1 -drive file=test1.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk1 -device scsi-hd,bus=scsi1.0,drive=drive-disk1,id=disk1 -drive file=test2.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk2 -device scsi-hd,drive=drive-disk2,id=disk2,bus=scsi1.0 -drive file=test3.raw,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk3 -device scsi-hd,bus=scsi1.0,drive=drive-disk3,id=disk3 -drive file=virtio-win.iso,if=none,media=cdrom,id=aa -device ide-drive,id=aa1,drive=aa -netdev tap,vhost=on,id=netdev0 -device e1000,netdev=netdev0,id=nic1,mac=fe:46:1b:ca:bc:7b -vnc :1 -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor unix:/tmp/tt1,server,nowait -boot menu=on -drive file=test4.raw,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=raw,id=drive-disk4,if=none -device scsi-hd,lun=9,drive=drive-disk4,id=disk4,bus=scsi0.0 -incoming tcp:0:5888

4. do live migration
(qemu)migrate -d tcp:0:5888

5(qemu)info migrate


Actual results:
qemu) info migrate 
Migration status: completed
total time: 18739 milliseconds
downtime: 124 milliseconds
transferred ram: 619364 kbytes
remaining ram: 16 kbytes
total ram: 2113984 kbytes
(qemu) info migrate 
Migration status: completed
total time: 18739 milliseconds
downtime: 124 milliseconds
transferred ram: 619364 kbytes
remaining ram: 28 kbytes
total ram: 2113984 kbytes
(qemu) info migrate 
Migration status: completed
total time: 18739 milliseconds
downtime: 124 milliseconds
transferred ram: 619364 kbytes
remaining ram: 32 kbytes
total ram: 2113984 kbytes
(qemu) info migrate 
Migration status: completed
total time: 18739 milliseconds
downtime: 124 milliseconds
transferred ram: 619364 kbytes
remaining ram: 1004 kbytes
total ram: 2113984 kbytes

{"execute":"query-migrate"}
{"return": {"status": "completed", "downtime": 124, "total-time": 18739, "ram": {"total": 2164719616, "remaining": 1028096, "transferred": 634228892}}}
{"execute":"query-migrate"}
{"return": {"status": "completed", "downtime": 124, "total-time": 18739, "ram": {"total": 2164719616, "remaining": 1028096, "transferred": 634228892}}}
{"execute":"query-migrate"}
{"return": {"status": "completed", "downtime": 124, "total-time": 18739, "ram": {"total": 2164719616, "remaining": 1028096, "transferred": 634228892}}}


Expected results:
the remaining value should keeps 0 after migration completed 

Additional info:

Comment 1 Qunfang Zhang 2014-01-09 06:03:11 UTC
Close as a duplicate, fix me if something is wrong.

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


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