[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Memory host - guest sharing

From: Tetsuya.Mukawa
Subject: Re: [Qemu-discuss] Memory host - guest sharing
Date: Wed, 03 Sep 2014 18:47:05 +0900
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi Sławomir,

If you are using linux, how about using IVSHMEM?
You may be able to get physical memory from hugetlbfs on host, then
export it as pci memory to a guest.
Then, mmap it from user application of the guest.


(2014/09/03 18:19), Sławomir Kowalewski wrote:
> Hi, 
> I have application on host system that using part of RAM to create
> some kind of tables. I need to give access to this memory to
> application that is running on guest system.
> What is the easiest way to do it?
> I came up with two ideas.
> 1. Write driver for Qemu and kernel that will use sysbus to get
> addresses from host and map memory into file on guest.
> 2. Map part of memory into file on host and then use libvirt XML
> configuration file to pass created file into guest system.
> Do you have better ideas or know why one of mine will not work?
> Best Regards
> Sławomir Kowalewski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]