Displaying 7 results from an estimated 7 matches for "do_xen_hypercall".
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) n
241 domctl->interface_version = XEN_DOMCTL_INTERFACE_VERSION;
(gdb)
243 if ( xc_hypercall_bounce_pre(xch, domctl) )
(gdb)
249 hypercall.op = __HYPERVISOR_domctl;
(gdb)
250 hypercall.arg[0] = HYPERCALL_BUFFER_AS_ARG(domctl);
(gdb)
252 if ( (ret = do_xen_hypercall(xch, &hypercall)) < 0 )
(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,...
2012 Jan 17
2
Problems calling HVMOP_flush_tlbs
...If I call it like this, I receive an invalid parameter (EINVAL) error:
struct privcmd_hypercall
{
uint64_t op;
uint64_t arg[5];
} hypercall;
hypercall.op = __HYPERVISOR_hvm_op;
hypercall.arg[0] = HVMOP_flush_tlbs;
hypercall.arg[1] = 0;
ret = do_xen_hypercall(xch, (void*)&hypercall);
If I call it like this, I get function not implemented (ENOSYS), where 3
is a valid domain id:
hypercall.op = __HYPERVISOR_hvm_op;
hypercall.arg[0] = HVMOP_flush_tlbs;
hypercall.arg[1] = 3; /* 3 is the domain whose tlbs should be
flushed */...
2008 Mar 07
6
where is the location of definition of "do_xen_version"?
hi, my friends:
Currently, i am studying the way of hypercall's implementation.
i have already known the flow of hypercall's execuation, and i decided to add a new hypercall into the Xen.
first, i want to know the detail of one hypercall function, for example, "do_xen_version", but i can not find
the location of definition of "do_xen_version". who can help me?
i have
2008 Mar 11
3
Is it possible to make hypercall from user application directly?
Hi,
I implemented my own Hypercall in xen.
Now I wish my application under dom0 could talk to Xen via my hypercall.
Currently, I make a stub in dom0''s kernel, which works as a proxy to forward
the request. So, my application first makes a system call to dom0, which
then makes hypercall to xen.
Is this design necessary? May I call hypercalls from user application under
dom0 directly?
2005 Aug 27
1
problems getting xen going on FC4
...uot;make tools" in the -testing directory I get:
[...]
In file included from xc_atropos.c:9:
xc_private.h:19:31: xen/linux/privcmd.h: No such file or directory
In file included from xc_atropos.c:9:
xc_private.h:66: syntax error before "privcmd_hypercall_t"
xc_private.h: In function `do_xen_hypercall'':
xc_private.h:68: `xc_handle'' undeclared (first use in this function)
xc_private.h:68: (Each undeclared identifier is reported only once
xc_private.h:68: for each function it appears in.)
xc_private.h:69: `IOCTL_PRIVCMD_HYPERCALL'' undeclared (first use in this functio
n)...
2010 Jan 09
3
101th domU fails to start with "SETVCPUCONTEXT failed"
Hello there,
We (a small hosting community) are running a steadily growing number of Xen
domUs on a quad dualcore Xeon server with 64GB ram. We''ve got 100 running
domUs at the moment. Trying to create a new one results in this error:
Error: (1, ''Internal error'', ''launch_vm: SETVCPUCONTEXT failed (rc=-1)\n'')
If I shut down another domain, I can
2007 Feb 27
3
freebsd domu 14, bad address
Hello,
I''m trying to get a freebsd virtual machine running following :
http://www.yuanjue.net/xen/howto.html
But I get :
# xm create freebsd_xen_INSTALL -c
Using config file "./freebsd_xen_INSTALL".
Error: (14, ''Bad address'')
Am I missing something?
I am using xen 3.0.4.
Thanks and regards,
Sergi
....
log output from xend.log:
[2007-02-27 12:46:59