[Lguest] Passing pointers to/from hypercalls.
Rusty Russell
rusty at rustcorp.com.au
Mon Mar 17 13:07:17 EST 2008
On Saturday 15 March 2008 08:57:47 Sujit Sanjeev wrote:
> Hi Rusty,
>
> I was wondering what are the options available for the host to be able to
> access files within the
> guest's disk image. (which we give as the 'rootfile=' option while booting
> the guest with lguest.)
>
> Basically, if the guest passes a file name/path to the host, the host
> should be able to perform
> read/write operations on it, or perform calculations such as check sum on
> the file.
> (which is within the guest's disk image file)
>
> Could you please throw some light on it?
The normal solution is to loopback mount the guest disk file before loading
the guest. I believe there have also been experiments with allowing the
guest to access normal host files using 9p, but I don't know any details.
Cheers,
Rusty.
More information about the Lguest
mailing list