[libvirt] [PATCH 1/4] docs: Add documents for memory device

Osier Yang jyang at redhat.com
Thu Nov 8 15:59:25 UTC 2012


On 2012年11月08日 22:16, Daniel P. Berrange wrote:
> On Wed, Nov 07, 2012 at 05:40:41PM +0800, Osier Yang wrote:
>> Considering there could be other memory related devices in future,
>> this introduces a general device model, called memory device,
>> instead of a specific device like "ivshmem", currently only
>> "ivshmem" is supported though.
>>
>> An example of the XML:
>>
>>    <memory model='ivshmem'>
>
> Since we have many sub-elements, I think it is preferrable to
> also have the model in a subelement as we do with things like
> disk/network/etc

Agreed.

>
>>      <source id='nahanni' path='/tmp/nahanni'/>
>
> Use '/dev/shm' as the example path since that's more usual

No, the path is created by ivshmem_server, as I replied in
4/4.

>
>>      <size unit='M'>512</size>
>>      <vectors>8</vectors>
>>      </ioeventfd>
>
> Typo with the '/' location

Okay. :-)

Regards,
Osier




More information about the libvir-list mailing list