Displaying 7 results from an estimated 7 matches for "xc_gnttab_map_grant_refs".
Did you mean:
xc_gnttab_map_grant_ref
2007 Mar 19
0
[PATCH 2/3] [RFC] User-space grant table device - changes to libxc
...1;
+ map.refs = &op;
+
+ if (ioctl(xcg_handle, IOCTL_GNTDEV_MAP_GRANT_REF, &map)) {
+ return NULL;
+ }
+
+ addr = mmap(NULL, PAGE_SIZE, prot, MAP_SHARED, xcg_handle,
map.index);
+ if (addr == MAP_FAILED) {
+ return NULL;
+ }
+
+ return addr;
+}
+
+void *xc_gnttab_map_grant_refs(int xcg_handle,
+ uint32_t count,
+ uint32_t domids[count],
+ uint32_t refs[count],
+ int prot)
+{
+ struct ioctl_gntdev_map_grant_ref map;
+ struct ioctl_gntdev_grant_ref *...
2013 Jan 10
10
[PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range
Grant references for the xenstore and xenconsole shared pages exist, but
currently only xenstore uses these references. Change the xenconsole
daemon to prefer using the grant reference over map_foreign_range when
mapping the shared console ring.
This allows xenconsoled to be run in a domain other than dom0 if set up
correctly - for libxl, the xenstore path /tool/xenconsoled/domid
specifies the
2008 Jul 11
1
Question about using xenctl
Hi:
I wanna domU to map dom0''s page, so that these two domain can receive/send data between them in the future. But when I run my code , it told me that "Could not open grant table interface(22=invalid argument)".
Can anybody know what the problem is ?
Thanks .
Danius Wu.
======
The Result of running my codes:
[root@vm1 program]# gcc -g -Wall
2008 Apr 04
8
Grant tables
Hi,
I need to use the grant table mechanism, but I can''t find any example
regarding how to do it. Could you please provide some examples?
Thanks
Carlo
--
È molto più bello sapere qualcosa di tutto, che sapere tutto di una cosa.
Blaise Pascal
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Dec 13
3
[PATCH] xenconsoled: use grant references instead of map_foreign_range
Grant references for the xenstore and xenconsole shared pages exist, but
currently only xenstore uses these references. Change the xenconsole
daemon to prefer using the grant reference over map_foreign_range when
mapping the shared console ring.
This allows xenconsoled to be run in a domain other than dom0 if set up
correctly - for libxl, the xenstore path /tool/xenconsoled/domid
specifies the
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all,
this is the long awaited patch series to add xen device model support in
qemu; the main author is Anthony Perard.
Developing this series we tried to come up with the cleanest possible
solution from the qemu point of view, limiting the amount of changes to
common code as much as possible. The end result still requires a couple
of hooks in piix_pci but overall the impact should be very
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-