search for: hypercall

Displaying 20 results from an estimated 1236 matches for "hypercall".

2013 Sep 30
2
Re: Does libvirt support xapi/xe toolstack?
...13.5 # LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/virsh -c xen:/// list --all Id Name State ---------------------------------------------------- # I see nothing in the libvirtd.log and I see this in libxl-driver.log: # cat libxl/libxl-driver.log xc: debug: hypercall buffer: total allocations:21 total releases:21 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:16 misses:4 toobig:1 xc: debug: hypercall buffer: total allocations:21 total releases:21...
2012 Jan 17
2
Problems calling HVMOP_flush_tlbs
Hello xen-devel, I am using xen 4.2.1 and have tried the following with kernel 3.0.0 and 3.2.1. I am trying to invoke the HVMOP_flush_tlbs hypercall but have been unsuccessful. I am basing my call on the functions in in xc_misc.c, trying to guess what is meant by "@arg must be null" in the comment where HVMOP_flush_tlbs is defined. What is the correct way to invoke this hypercall? If I call it like this, I receive an invalid pa...
2011 Jul 25
1
linux-next: Tree for July 25 (xen)
On Mon, 25 Jul 2011 16:25:42 +1000 Stephen Rothwell wrote: > Hi all, xen has lots of build errors and warnings (all on x86_64). CC arch/x86/xen/setup.o In file included from arch/x86/include/asm/xen/hypercall.h:42, from arch/x86/xen/setup.c:19: include/trace/events/xen.h:31: warning: 'struct multicall_entry' declared inside parameter list include/trace/events/xen.h:31: warning: its scope is only this definition or declaration, which is probably not what you want include/trace/ev...
2011 Jul 25
1
linux-next: Tree for July 25 (xen)
On Mon, 25 Jul 2011 16:25:42 +1000 Stephen Rothwell wrote: > Hi all, xen has lots of build errors and warnings (all on x86_64). CC arch/x86/xen/setup.o In file included from arch/x86/include/asm/xen/hypercall.h:42, from arch/x86/xen/setup.c:19: include/trace/events/xen.h:31: warning: 'struct multicall_entry' declared inside parameter list include/trace/events/xen.h:31: warning: its scope is only this definition or declaration, which is probably not what you want include/trace/ev...
2011 Jul 25
1
linux-next: Tree for July 25 (xen)
On Mon, 25 Jul 2011 16:25:42 +1000 Stephen Rothwell wrote: > Hi all, xen has lots of build errors and warnings (all on x86_64). CC arch/x86/xen/setup.o In file included from arch/x86/include/asm/xen/hypercall.h:42, from arch/x86/xen/setup.c:19: include/trace/events/xen.h:31: warning: 'struct multicall_entry' declared inside parameter list include/trace/events/xen.h:31: warning: its scope is only this definition or declaration, which is probably not what you want include/trace/ev...
2008 Oct 23
5
Why using hypercall_page ?
Hello, I am studing Xen hypercall now. I found that hypercall is invoked via hypercall_page, which is only filled with (in no-hypervisor-kernel-mode ): mov $i, %eax int $0x82 ret Why not invoked the hypercall directly by "int $0x82" ? What''s the advantage of using hypercall_page? Thanks, Wu _________________...
2013 Jul 22
11
[PATCH] xen: arm: document which hypercalls (and subops) are supported on ARM
From: Ian Campbell <ian.campbell@citrix.com> There are many hypercalls which make no sense or which are not supported on ARM systems but it''s not all that obvious which ones we do support. So lets try and document the hypercalls which are useful on ARM. I''m not sure this is the best way to go about this, I''m open to other ideas. Signed-of...
2011 Oct 26
3
Hypercall by DomU Application
Hi, I am working on a security architecture. In this architecture, the application in DomU has to communicate directly with the hypervisor. But as I can see, the xen architecture allows only DomU kernel to raise a hypercall. I am planning to enable application to communicate with xen directly. I am assuming, setting up a trap gate with Ring-3 access should do the trick. I have few questions regarding this. Is my idea feasible? ==> ( _set_gate(idt_table+HYPERCALL_VECTOR, 15, 3, &hypercall); ) Are there any se...
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? Ma...
2013 Sep 30
2
Re: Does libvirt support xapi/xe toolstack?
On Mon, Sep 30, 2013 at 10:49:10AM +0200, Guillaume Thouvenin wrote: > Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca> a écrit : > > >According to [1] it seems that libvirt is using Xend daemon to communicate. > > After reading more documentation it seems that Xend is mandatory. As > everything is not up to date I'd like to know if it is still the > case or
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_ve...
2005 Dec 31
2
Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup
Any thoughts on setting breakpoints around hypercalls? ---------- Forwarded message ---------- From: Kip Macy <kip.macy@gmail.com> Date: Dec 26, 2005 12:14 AM Subject: setting breakpoints around hypercalls in a domU causes dom0 to lockup To: xen-devel <xen-devel@lists.xensource.com>, Keir Fraser < Keir.Fraser@cl.cam.ac.uk> Steppin...
2010 Dec 02
1
Making a hypercall in DomU
Hi, I have *implemented a new hypercall* and it is working fine when tested from the Dom0 user-space. I want to invoke this hypercall from DomU user-space. I copied all the /usr/lib/libxen* and /usr/include/xen* (recursively) to the DomU Here''s the code I wrote to invoke hypercall: #include <stdio.h> #include <xenctr...
2013 Aug 26
0
[PATCH V13 4/4] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock
KVM_HC_KICK_CPU hypercall added to wakeup halted vcpu in paravirtual spinlock enabled guest. KVM_FEATURE_PV_UNHALT enables guest to check whether pv spinlock can be enabled in guest. Thanks Vatsa for rewriting KVM_HC_KICK_CPU Cc: Rob Landley <rob at landley.net> Signed-off-by: Srivatsa Vaddagiri <vatsa at linux.v...
2013 Jun 11
21
[PATCH] xen: fix initialization of wallclock time for PVHVM on migration
The initial values of the wallclock time in the shared info page are set for PVHVM guests when the hypercall page is initialized, since the hypercall page is not reinitialized on resume, the hypervisor wallclock time is not properly set on resume. Fix it by forcing an update of the wallclock values when the shared info page is mapped. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Cc: Jan B...
2013 Dec 05
7
POD: soft lockups in dom0 kernel
Hi, when creating a bigger (> 50 GB) HVM guest with maxmem > memory we get softlockups from time to time. kernel: [ 802.084335] BUG: soft lockup - CPU#1 stuck for 22s! [xend:31351] I tracked this down to the call of xc_domain_set_pod_target() and further p2m_pod_set_mem_target(). Unfortunately I can this check only with xen-4.2.2 as I don''t have a machine with enough memory for
2005 Sep 05
2
[PATCH][1/6] add a hypercall number for virtual device in unmodified guest
add a hypercall number for virtual device in unmodified guest There are 6 patches for para-driver support in vmx guest. This is the first one. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> diff -r 287d36b46fa3 xen/arch/x86/x86_32/entry.S -...
2008 Oct 07
6
A race condition introduced by changeset 15175: Re-init hypercall stubs page after HVM save/restore
...p_suspend(): .... while (info->do_spin) { cpu_relax(); read_lock(&suspend_lock); HYPERVISOR_yield(); ----> guest might panic on the invocation of this function. read_unlock(&suspend_lock); } ... The root cause is: ap might be invoking the hypercall while bsp is asking the hypervisor to re-initialize the hypercall page when the guest has been just restored! What''s the purpose of re-initializing the hypercall page here? To improve the compatibility in the case the src/target hosts have different hypercall stub codes? PS, I''m...
2009 Apr 27
1
VPIO device model for Xen guests
...r research we are trying to come up with a Virtual - passthrough model of device drivers in  PV guests. We are looking for 2 separate implementations : 1 for transmitting and the other for receiving the packets in the guest OS. We are relying on IOMMU to ensure isolation. We need to add  these new hypercalls for communication between the guest device driver and the hypervisor. The guest device drivers use these hypercalls to read the state of the current physical device and also request the ownership of the device. We need following hypercalls: HYPERVISOR_device_op, get device state. Before the devic...
2013 Dec 10
5
hypercall implementation
I am learning xen's memory management recently. I find most docs is how to use the hypercall related memory management. Can somesome tell me where is the implementation of the them in the xen source. Or some docs explaining it will be ideal. 年少不惧江湖老,放歌四海任逍遥。未解前路多少事,欲与青天试比高。 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://...