From mboxrd@z Thu Jan 1 00:00:00 1970 From: paolo pedaletti Subject: error "could not open disk image" and snapshot=on (if off it works) Date: Mon, 01 Dec 2008 14:12:37 +0100 Message-ID: <4933E2C5.3080802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mailgw2.si.unimib.it ([149.132.2.30]:56121 "EHLO mailgw2.si.unimib.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751111AbYLANYF (ORCPT ); Mon, 1 Dec 2008 08:24:05 -0500 Received: from mailgw2.si.unimib.it (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 513ECC016A for ; Mon, 1 Dec 2008 14:12:39 +0100 (CET) Received: from pablo.unimib.it (pablo1.frend.unimib.it [149.132.3.52]) by mailgw2.si.unimib.it (Postfix) with ESMTP id 27ADEC013E for ; Mon, 1 Dec 2008 14:12:39 +0100 (CET) Received: from [149.132.16.135] (account paolo.pedaletti@unimib.it HELO [10.109.1.194]) by pablo1.pablo.unimib.it (CommuniGate Pro SMTP 5.2.6) with ESMTPSA id 16914730 for kvm@vger.kernel.org; Mon, 01 Dec 2008 14:12:38 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Ciao, I have this strange problem: ubuntu 8.10, kvm 72 2.6.27-7-server x86_64 GNU/Linux vdeq kvm -name proxy_UBUNTU_8.04 \ -net nic,macaddr=00:16:3e:00:a0:00 -net tap,ifname=tap1,script=no,downscript=no \ -net nic,macaddr=00:16:3e:00:a1:01,vlan=1 -net vde,vlan=1,sock=/var/run/vde2/tun1.ctl \ -drive file=./ubuntu-server-8.04_proxy.root,if=scsi,index=0,snapshot=off,cache=on,boot=on \ -drive file=./ubuntu-server-8.04_proxy.home,if=scsi,index=1,snapshot=off,cache=on \ -drive file=./linux.swap,if=scsi,index=2,cache=on,snapshot=on \ -smp 1 -M pc -cpu pentium3 -m 512 -k en-us -localtime qemu: could not open disk image ./linux.swap but $ ls -l linux.swap -rw-rw-r-- 1 paolop virtual 1073741824 2008-12-01 13:21 linux.swap exist If I set "snapshot=off" on linux.swap, kvm boot without problems. (the same happened with other file-device) So it's seems a "wrong error message", it's not a filesystem problem but an option problem (snapshot=on doesn't work, snapshot=off works) Any suggestion? thank you. -- Paolo Pedaletti