Awesome, thank you very much!
dom0 source compiles without problems!
domU source cannot find the xen headers:
I compiled in the PV HVM modules using this tutorial:
And built them into the guest kernel, it runs fine, but I dont have
the right headers.
Can you tell me which xenpvdrivers headers you are using and where
they come from?
Because e.g. I cannot find the asm/maddr.h in the xen sources.. or
Tank you !
Am 28.06.2011 15:24, schrieb veerasena reddy:
I tried the same links but had to make some changes to get it
Please find attached the sample working files for sharing a domU
HVM page to dom0.
It has been tested xen-4.0.1 and HVM guest running ubuntu 10.10
with kernel version 184.108.40.206 (from kernel.org) compiled with
CONFIG_XEN disabled and PVHVM drivers compiled in as modules.
1. Set LINUX_ROOT appropriately in Makefiles of dom0 and domU.
2. Set remote domain in dom0 appropriately "info.remoteDomain =
3. Compile modules dom0 and domU respectively on dom0 and domU
4. Load module on domU first.
# insmod ./domu_share.ko
5. do "dmesg" on domU and note down the grant reference number
[ 1293.316240] gref = 770 <<<--- this is the grant
6. now load the module on dom0 by passing grant reference number
as module param
# insmod ./dom0_share.ko gref=770
7. do dmesg on dom0
======== dmesg on dom0 =====
xen: dom0: init_module with gref = 770
xen: dom0: shared_page = 269f4000, handle = 9, status = 0
Bytes in page aseem sethi
XEN: dom: end init_module
Thanks & Regards,
Security Engineering Group
Technische Universität Darmstadt
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify the sender.