All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] asking for your help
@ 2010-09-19 10:56 海峰 陈
  2010-09-20  0:56 ` Mulyadi Santosa
  0 siblings, 1 reply; 2+ messages in thread
From: 海峰 陈 @ 2010-09-19 10:56 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]


Dear  friends,

         I'm a student and i will do some work about QEMU memory management 
mechanism. However, i am a 


freshman, i need  friends to give  me some suggestion or send some helpfull 
documentation to me. Thanks.

        My English is poor,maybe there are some mistakes in my e-mail, but  i 
will try my best.

        Best wishes!

                                                                                                                                                    
      Yours

                                                                                                                                                   
   Haifeng Chen  



      

[-- Attachment #2.1: Type: text/html, Size: 4370 bytes --]

[-- Attachment #2.2: --static--lake2_b.jpg --]
[-- Type: image/jpeg, Size: 13674 bytes --]

[-- Attachment #2.3: --static--lake2_t.jpg --]
[-- Type: image/jpeg, Size: 6188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] asking for your help
  2010-09-19 10:56 [Qemu-devel] asking for your help 海峰 陈
@ 2010-09-20  0:56 ` Mulyadi Santosa
  0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2010-09-20  0:56 UTC (permalink / raw)
  To: 海峰 陈; +Cc: qemu-devel

Hi...

I just lend a small help, hopefully it helps...

On Sun, Sep 19, 2010 at 17:56, 海峰 陈 <gg8_8@yahoo.com.cn> wrote:
>
> Dear  friends,
>
>          I'm a student and i will do some work about QEMU memory management mechanism. However, i am a
>
> freshman, i need  friends to give  me some suggestion or send some helpfull documentation to me. Thanks.

I suggest, next time, send plain ASCII email. No HTML format, no
picture embedded as background....etc, please? In this kind of
technical discussion list, they are just wasting spaces. So unless it
is useful to explain something (.eg diagram..), don't embed pictures.

OK, about qemu memory management. Have you ever read the Qemu source
code? If you haven't, please download, extract and start reading it.

The very basic fundamental of Qemu memory management is that it's
actually a file mmap()-ed into the guest address space. The size of
the this simulated RAM is a large as the size you pass at -m parameter
(by default, it's 256 MB if I remember correctly).

The start of the mmap()-ed address, is considered as offset zero in
this virtual RAM. Every access to this virtual RAM is like the same
like actual RAM e.g there is page fault, reserved memory address and
so on. It's just it's not so complicated. IIRC, there is no actual L1
or L2 cache. Probably it's due to the fact that they are simulated as
mmaped file.

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-20  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-19 10:56 [Qemu-devel] asking for your help 海峰 陈
2010-09-20  0:56 ` Mulyadi Santosa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.