Skip to contentSkip to conversation

!!!!!help!I wouldn't be able to meet the deadline!(qcow format image file read operation in qemu-img-xen)[updated]

DISCUSSION hxkhust 2 participants 2 messages Dec 19, 2012

lore
Share & tools
lore

hxkhust

author
#0 lore raw
Quoted 13 lines

Date: Wed, 19 Dec 2012 15:32:41 +0000
From: Mats Petersson <[email protected]>
To: <[email protected]>
Subject: Re: [Xen-devel] !!!!!help!I wouldn't be able to meet the
deadline!(qcow format image file read operation in qemu-img-xen)[updated]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="GB2312"

Quoted 3 lines · hxkhust

Or could you tell me how to cache the data which is read from the backingfile when a qcow image is regarded as a virtual disk in a running HVM?

Quoted 15 lines

I take it the above single question is the effect of my previous reply?
Why did you have to "hide" that little extra question in the whole
previous e-mail?
......yse,that is.Because previously what point out is a detail question, the reader may be convenient to answear and at least input less words to me, I guess.And in this way I can get the one that is more maneuverable. Sorry, don't know the answer to your question [I'm guessing, in general,
that the Dom0 will do that for you, subject to available space], just
pointing out that there is a minor difference between your previous and
current mail.
yean,the difference is minor.I have no time and I'm worry about the problem.I have seen that a lot of questions have more that one Re:XXX mails(mails to answer the question),How could they do that? By caching, do you mean "load the entire file into RAM", or "if a read
is requested for the same piece of 'disk' multiple times, I want the
previous result to be stored and returned".
I mean the latter one.Could you give me some proposal?
--
Mats

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 13 lines · hxkhust
Quoted 13 lines

Date: Wed, 19 Dec 2012 15:32:41 +0000
From: Mats Petersson <[email protected]>
To: <[email protected]>
Subject: Re: [Xen-devel] !!!!!help!I wouldn't be able to meet the
deadline!(qcow format image file read operation in qemu-img-xen)[updated]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="GB2312"

Quoted 3 lines · hxkhust

Or could you tell me how to cache the data which is read from the backingfile when a qcow image is regarded as a virtual disk in a running HVM?

Quoted 6 lines
Quoted 4 lines

I take it the above single question is the effect of my previous reply? Why did you have to "hide" that little extra question in the whole previous e-mail?

......yse,that is.
Because previously what point out is a detail question, the reader may be convenient to answear and at least input less words to me, I guess.

You are, I suppose, aware that most members of this list hasn't even replied to your original email, and most probably thought your re-send was simply another copy of the same mail - given that there have been about 100 mails to the list since, it's not inconceivable.

I very nearly missed the tiny difference between your first, second and third posting.

Quoted 8 lines

And in this way I can get the one that is more maneuverable.

Quoted 5 lines

Sorry, don't know the answer to your question [I'm guessing, in general, that the Dom0 will do that for you, subject to available space], just pointing out that there is a minor difference between your previous and current mail.

yean,the difference is minor.I have no time and I'm worry about the problem.
I have seen that a lot of questions have more that one Re:XXX mails(mails to answer the question),How could they do that?

Not sure what you are trying to say here. It is your task to make it as easy as possible for us to help you. Please read the links I sent earlier. It is REALLY going to help you get better help to understand that if you "ask smart questions" you get good answers. Included in that is "do not same the same email several times whilst ignoring replies already given".

Quoted 6 lines
Quoted 5 lines

By caching, do you mean "load the entire file into RAM", or "if a read is requested for the same piece of 'disk' multiple times, I want the previous result to be stored and returned".

I mean the latter one.Could you give me some proposal?

Keep some sort of memory structure that records the previously read data, along with "where the data came from" [beware that this needs to be updated/cleared if there is a write]. If you can find a read for the location on "disk" that you have cached, then you can pretty much return immediately.

Exactly what other problems you run into, I'm not sure - as I said earlier, I'm not overly familiar with this code.

--
Mats

Quoted 4 lines
Quoted 2 lines

--
Mats