public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: John Wong <johnw@wonghome.net>
To: Avi Kivity <avi@redhat.com>, KVM list <kvm@vger.kernel.org>
Subject: Re: git snapshot can open readonly vm image
Date: Tue, 26 Jan 2010 18:49:54 +0800	[thread overview]
Message-ID: <4B5EC8D2.5050200@wonghome.net> (raw)
In-Reply-To: <4B5EAEFE.9000909@redhat.com>

Avi Kivity 提到:
> On 01/26/2010 10:49 AM, John Wong wrote:
>   
>> 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.
>>
>> 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.



      reply	other threads:[~2010-01-26 10:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26  8:49 git snapshot can open readonly vm image John Wong
2010-01-26  8:59 ` Avi Kivity
2010-01-26 10:49   ` John Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5EC8D2.5050200@wonghome.net \
    --to=johnw@wonghome.net \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox