From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIytA-0004k7-Os for qemu-devel@nongnu.org; Wed, 26 Oct 2011 04:31:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIyt3-0004xr-NU for qemu-devel@nongnu.org; Wed, 26 Oct 2011 04:31:08 -0400 Received: from indium.canonical.com ([91.189.90.7]:51142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIyt3-0004xf-ES for qemu-devel@nongnu.org; Wed, 26 Oct 2011 04:31:01 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RIyt2-0006qc-QR for ; Wed, 26 Oct 2011 08:31:00 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id BB9CC2E80F1 for ; Wed, 26 Oct 2011 08:31:00 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Oct 2011 08:23:48 -0000 From: Yongjie Ren <739088@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110321012700.23673.37472.malonedeb@wampee.canonical.com> Message-Id: <20111026082348.16011.45251.launchpad@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 739088] Re: I/O errors after "Save/Restore" Reply-To: Bug 739088 <739088@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Description changed: qemu-kvm commit: b73357ecd2b14c057134cb71d29447b5b988c516 ( Author: Marcelo Tosatti Date: Wed Mar 16 17:= 04:16 2011 -0300) kvm commit: a72e315c509376bbd1e121219c3ad9f23973923f = After restoring from saved img, some I/O errors appear in dmesg and file system is read-only. I'm sure that the guest runs normally before saving. See the pictures attached in detail. = Reproduce steps: ---------------- 1.create a guest: - qemu-img create -b /share/xvs/img/app/ia32e_SMP.img -f qcow2 /root/test= 0320.img - qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a:08,model= =3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -hda /root/test0320.img - 2.save the guest: = - on qemu monitor: migrate "exec:dd of=3D/root/test-save.img" - 3.quit from qemu: = - "q" command on qemu monitor + =C2=A0=C2=A0qemu-img create -b /share/xvs/img/app/ia32e_SMP.img -f qcow2 = /root/test0320.img + =C2=A0=C2=A0qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a= :08,model=3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -hda /root/test032= 0.img + 2.save the guest: + =C2=A0=C2=A0on qemu monitor: migrate "exec:dd of=3D/root/test-save.img" + 3.quit from qemu: + =C2=A0=C2=A0"q" command on qemu monitor 4.restore from img just saved: - qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a:08,model= =3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -incoming=3D/roo/test-save.= img + =C2=A0=C2=A0qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a= :08,model=3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -hda /root/test032= 0.img -incoming=3D/roo/test-save.img 5.see dmesg in restored guest, you'll find some I/O errors. And run some commands such as "ps", "touch","reboot" and so on. Then some I/O errors a= ppear. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/739088 Title: I/O errors after "Save/Restore" Status in QEMU: Fix Released Bug description: qemu-kvm commit: b73357ecd2b14c057134cb71d29447b5b988c516 ( Author: Marcelo Tosatti Date: Wed Mar 16 17:= 04:16 2011 -0300) kvm commit: a72e315c509376bbd1e121219c3ad9f23973923f After restoring from saved img, some I/O errors appear in dmesg and file system is read-only. I'm sure that the guest runs normally before saving. See the pictures attached in detail. Reproduce steps: ---------------- 1.create a guest: =C2=A0=C2=A0qemu-img create -b /share/xvs/img/app/ia32e_SMP.img -f qcow2 = /root/test0320.img =C2=A0=C2=A0qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a= :08,model=3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -hda /root/test032= 0.img 2.save the guest: =C2=A0=C2=A0on qemu monitor: migrate "exec:dd of=3D/root/test-save.img" 3.quit from qemu: =C2=A0=C2=A0"q" command on qemu monitor 4.restore from img just saved: =C2=A0=C2=A0qemu-system-x86_64 -m 256 -net nic,macaddr=3D00:16:3e:06:8a= :08,model=3Drtl8139 -net tap,script=3D/etc/kvm/qemu-ifup -hda /root/test032= 0.img -incoming=3D/roo/test-save.img 5.see dmesg in restored guest, you'll find some I/O errors. And run some commands such as "ps", "touch","reboot" and so on. Then some I/O errors a= ppear. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/739088/+subscriptions