Skip to contentSkip to conversation

git snapshot can open readonly vm image

DISCUSSION John Wong 2 participants 3 messages Jan 26, 2010 KVM

lore
Share & tools
lore
author
#2 lore raw

Avi Kivity 提到:

Quoted 6 lines · John Wong
Quoted 5 lines

Hi, after upgrade to current qemu-kvm (download from
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=snapshot;h=34f6b13147766789fc2ef289f5b420f85e51d049;sf=tgz),
i can not open the readonly vm image, it can work before.

Quoted 7 lines
Quoted 3 lines

please help, thank you.

It's impossible to understand what's wrong without a lot more details.

Sorry, i try to more details.

After upgrade to current qemu-kvm
(http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=snapshot;h=34f6b13147766789fc2ef289f5b420f85e51d049;sf=tgz),
i can not open the vm image, which only have read only (0644) permission 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 warning 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.