Displaying 5 results from an estimated 5 matches for "xc_linux_osdep".
2013 Apr 26
14
bug in xc_gntshr_munmap?
Hi,
Header says:
/*
* Unmaps the @count pages starting at @start_address, which were mapped by a
* call to xc_gntshr_share_*. Never logs.
*/
int xc_gntshr_munmap(xc_gntshr *xcg, void *start_address, uint32_t count);
But implementation calls:
static int linux_gntshr_munmap(xc_gntshr *xcg, xc_osdep_handle h,
void *start_address, uint32_t count)
{
return
2012 May 11
2
[PATCH] libxc: implement gnttab.set_max_grants for Linux
...ivers may require this operation to be
performed when the number of grants intended to be used simultaneously
exceeds a certain driver specific default limit, and qemu''s qdisk
driver is an example of needing to do so.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/tools/libxc/xc_linux_osdep.c
+++ b/tools/libxc/xc_linux_osdep.c
@@ -541,6 +541,27 @@ static int linux_gnttab_close(xc_gnttab
return close(fd);
}
+static int linux_gnttab_set_max_grants(xc_gnttab *xch, xc_osdep_handle h,
+ uint32_t count)
+{
+ int fd = (int)h, rc;
+ struct...
2013 Jun 12
9
Test report for xen-unstable and qemu-xen
Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 version
3.2.41-2+deb7u2, package blktap-dkms and all dependency packages for
xen, spice and usb redirection.
Seabios 1.7.2-3 and latest spice and usbredir compiled from debian
unstable sources.
-------------------------
/etc/modules
------------
loop max_loop=64
xenfs
xen-evtchn
blktap
-------------------------
git clone
2013 Feb 21
4
help please - running a guest from an iSCSI disk ? getting more diagnostics than "cannot make domain: -3" ? how to make domain0 "privileged" ?
...)
(gdb) s
do_xen_hypercall (xch=xch@entry=0x622240,
hypercall=hypercall@entry=0x7fffffffe070) at xc_private.c:246
246 return xch->ops->u.privcmd.hypercall(xch, xch->ops_handle,
hypercall);
(gdb) s
linux_privcmd_hypercall (xch=<optimized out>, h=9,
hypercall=0x7fffffffe070) at xc_linux_osdep.c:116
116 return ioctl(fd, IOCTL_PRIVCMD_HYPERCALL, hypercall);
(gdb) fin
Run till exit from #0 linux_privcmd_hypercall (xch=<optimized out>,
h=9, hypercall=0x7fffffffe070) at xc_linux_osdep.c:116
do_xen_hypercall (xch=xch@entry=0x622240,
hypercall=hypercall@entry=0x7fffffffe070) at...
2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
The original implementation utilies select(). In Linux select() typically
supports up to 1024 file descriptors. This can be a problem when user tries to
boot up many guests. Switching to poll() has minimum impact on existing code
and has better scalibility.
Up to 8192 file descriptors are supported in the current implementation.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---