Bug 953062
Summary: | RFE: AHCI live migration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> |
Component: | qemu-kvm-rhev | Assignee: | John Snow <jsnow> |
Status: | CLOSED ERRATA | QA Contact: | jingzhao <jinzhao> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | chayang, dgilbert, dyuan, hhuang, jinzhao, jsnow, juzhang, knoel, kwolf, michen, mzhan, nerijus, pbonzini, qizhu, qzhang, rbalakri, shuang, snagar, tumeya, virt-maint, xfu, xuzhang, yanyang, zpeng |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | Flags: | jsnow:
needinfo-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.5.0-1.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 20:09:33 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: | |||
Bug Depends On: | |||
Bug Blocks: | 887844, 922007, 1227278, 1288337, 1305606, 1313485, 1375520 |
Description
Sibiao Luo
2013-04-17 09:29:09 UTC
does internal snapshot supported? (In reply to comment #1) > does internal snapshot supported? Hi Kevin, As far as I know, we do not officially support internal snapshot right since we have support the external snapshot, right? Correct, we don't support it officially. However, if we find an obvious bug, that shouldn't stop us from fixing it. I don't get the error with a command line as simple as "qemu-kvm -hda /tmp/test.qcow2". Can you try and simplify the command line? Maybe you'll already see which option causes it to fail. (In reply to comment #3) > Correct, we don't support it officially. However, if we find an obvious bug, > that shouldn't stop us from fixing it. > > I don't get the error with a command line as simple as "qemu-kvm -hda > /tmp/test.qcow2". Can you try and simplify the command line? Maybe you'll > already see which option causes it to fail. ok, thanks for your kindly reminds, this issue is caused by the Q35 machine type, the pc-i440fx-1.4 machine type have no such issue, I simple the command line to test as following. # /usr/libexec/qemu-kvm -S -M pc-i440fx-1.4 -cpu Opteron_G2 -enable-kvm -m 4096 -smp 4,sockets=2,cores=2,threads=1 -no-kvm-pit-reinjection -name sluo-test -uuid 389d06a7-ed31-4fae-baf4-87bdb9b5594e -rtc base=localtime,clock=host,driftfix=slew -usb -device usb-tablet,id=tablet0 -drive file=/home/rhel7u64.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=threads,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-blk-pci,scsi=on,bus=pci.0,addr=0x3,drive=drive-system-disk,id=system-disk,bootindex=1,ioeventfd=off -net none -balloon none -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -vnc :1 -spice disable-ticketing,port=5931 -vga cirrus -monitor stdio -serial unix:/tmp/ttyS0,server,nowait (qemu) savevm (qemu) info snapshots ID TAG VM SIZE DATE VM CLOCK 1 vm-20130418101446 9.2M 2013-04-18 10:14:46 00:00:00.000 # /usr/libexec/qemu-kvm -S -M q35 -cpu Opteron_G2 -enable-kvm -m 4096 -smp 4,sockets=2,cores=2,threads=1 -no-kvm-pit-reinjection -name sluo-test -uuid 389d06a7-ed31-4fae-baf4-87bdb9b5594e -rtc base=localtime,clock=host,driftfix=slew -usb -device usb-tablet,id=tablet0 -drive file=/home/rhel7u64.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=threads,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-blk-pci,scsi=on,bus=pcie.0,addr=0x3,drive=drive-system-disk,id=system-disk,bootindex=1,ioeventfd=off -net none -balloon none -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -vnc :1 -spice disable-ticketing,port=5931 -vga cirrus -monitor stdio -serial unix:/tmp/ttyS0,server,nowait (qemu) savevm Error -22 while writing VM Thanks for finding this out. It seems to be caused by the fact that AHCI isn't migratable. We should improve the error handling for savevm so that you get a meaningful message. Pushing back to 7.2 at least to match https://bugzilla.redhat.com/show_bug.cgi?id=901631 -- It's not likely that we will be able to enable this feature prior to QEMU 2.2, which puts us more in the 7.2 time-frame. However, if a better error message is still required for 7.1, please let me know. Reproduced it on qemu-kvm-rhev-2.3.0-31.el7_2.21.x86_64 1.Boot guest 2.(qemu) savevm State blocked by non-migratable device '0000:00:1f.2/ich9_ahci' Verified it on qemu-img-rhev-2.6.0-20.el7.x86_64 and kernel-3.10.0-492.el7.x86_64 1. Boot guest 2. (qemu) savevm (qemu) info snapshots ID TAG VM SIZE DATE VM CLOCK 1 vm-20160815164223 959M 2016-08-15 16:42:23 00:01:13.456 2 vm-20160815171403 683M 2016-08-15 17:14:03 00:00:39.251 Following is the command line /usr/libexec/qemu-kvm \ -S -M q35 \ -cpu SandyBridge \ -enable-kvm \ -m 4096 -smp 4,sockets=2,cores=2,threads=1 \ -no-kvm-pit-reinjection \ -name test \ -uuid 389d06a7-ed31-4fae-baf4-87bdb9b5594e \ -rtc base=localtime,clock=host,driftfix=slew \ -usb -device usb-tablet,id=tablet0 \ -drive file=/home/bug/big.img,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=threads,werror=stop,rerror=stop,serial=QEMU-DISK1 \ -device virtio-blk-pci,scsi=off,bus=pcie.0,addr=0x3,drive=drive-system-disk,id=system-disk,bootindex=1,ioeventfd=off \ -net none \ -balloon none \ -qmp tcp:0:4444,server,nowait \ -k en-us -boot menu=on \ -vnc :1 -spice disable-ticketing,port=5931 \ -vga cirrus \ -monitor stdio \ -serial unix:/tmp/ttyS0,server,nowait \ Thanks Jing Zhao Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2673.html |