Hi,
I'm trying to create a code which invokes xc_memshr_nominate_gfn() and
xc_memshr_share().
In my testing code I use,
uint64_t handle; int y;
y = xc_memshr_nominate_gfn(xc_handle,dom,1500,&handle);
It returns -1 even if I use another gfn number instead of 1500. So my
question is why does i returns -1 every time. My guest VMs are HVM (64-bit),
PAE & HAP enabled. I'm using Xen-4.0.2-rc3.
Is it possible to use these memory sharing functions in this manner
without any support from blktap2?
If someone could provide me some sample code on how to invoke this functions
it would be a great help to me.
Thanks,
Harshan
I'm trying to create a code which invokes xc_memshr_nominate_gfn() and
xc_memshr_share().
In my testing code I use,
uint64_t handle; int y;
y = xc_memshr_nominate_gfn(xc_handle,dom,1500,&handle);
It returns -1 even if I use another gfn number instead of 1500. So my
question is why does i returns -1 every time. My guest VMs are HVM (64-bit),
PAE & HAP enabled. I'm using Xen-4.0.2-rc3.
Is it possible to use these memory sharing functions in this manner
without any support from blktap2?
If someone could provide me some sample code on how to invoke this functions
it would be a great help to me.
Thanks,
Harshan