From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wong Subject: Re: git snapshot can open readonly vm image Date: Tue, 26 Jan 2010 18:49:54 +0800 Message-ID: <4B5EC8D2.5050200@wonghome.net> References: <4B5EAC80.8050904@wonghome.net> <4B5EAEFE.9000909@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: QUOTED-PRINTABLE To: Avi Kivity , KVM list Return-path: Received: from maiden102-127.ctimail.com ([61.93.57.127]:33776 "EHLO maiden102.ctimail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752203Ab0AZKup (ORCPT ); Tue, 26 Jan 2010 05:50:45 -0500 In-Reply-To: <4B5EAEFE.9000909@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity =B4=A3=A8=EC: > On 01/26/2010 10:49 AM, John Wong wrote: > =20 >> Hi, after upgrade to current qemu-kvm (download from >> http://git.kernel.org/?p=3Dvirt/kvm/qemu-kvm.git;a=3Dsnapshot;h=3D34= f6b13147766789fc2ef289f5b420f85e51d049;sf=3Dtgz), >> i can not open the readonly vm image, it can work before. >> >> please help, thank you. >> =20 >> =20 > > It's impossible to understand what's wrong without a lot more details= =2E > > =20 Sorry, i try to more details. After upgrade to current qemu-kvm (http://git.kernel.org/?p=3Dvirt/kvm/qemu-kvm.git;a=3Dsnapshot;h=3D34f6= b13147766789fc2ef289f5b420f85e51d049;sf=3Dtgz), i can not open the vm image, which only have read only (0644) permissio= n for my login ID. And i can do that with qemu-kvm ( download from git.kernel.org at 10-jan-2010 ), both use same kernel modules (2.6.32 from debian kernel package). my system is debian/sid/amd64. uname -a: Linux retro 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux ls -l image.qcow2: -rw-r--r-- 1 root root 3235643392 2010-01-11 16:24 image.qcow2 kvm-qemu error message like this: qemu: could not open disk image /home/root/kvm/winxp-hkjc-full.qcow2: Permission denied And i noticed, after upgrade to current qemu-kvm, i see a lot of warnin= g message like this: QEMU 0.12.50 monitor - type 'help' for more information (qemu) BUG: kvm_dirty_pages_log_enable_slot: invalid parameters BUG: kvm_dirty_pages_log_disable_slot: invalid parameters BUG: kvm_dirty_pages_log_enable_slot: invalid parameters BUG: kvm_dirty_pages_log_disable_slot: invalid parameters BUG: kvm_dirty_pages_log_enable_slot: invalid parameters Please help, thank you.