Displaying 20 results from an estimated 50000 matches similar to: "Help! How to use event channel and Shared Memory in Xen!"
2008 Jun 26
1
Could anybody send me some code samples about event channel and shared memory in C language?
Hi,
Could anybody send me some code samples about how to use event channel (Dom0 and DomU, xenstore) and shared memory(grant table)?
thanks a lot.
Danius
=========================================================================
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2008 Jul 10
2
question about mapping memory from Dom0 to domU
Hi:
I wanna write code about sharing memory between dom0 and domU, and I decide to use void *xc_map_foreign_range(int xc_handle, unint32_t dom, int size, int port, unsigned long mfn) (this is a function in xenctl.h).
My question is :
If I wanna map a range of memory in dom0 to domU, how can I get the value of mfn? and I do not know the port here.
Can anybody help me ?
Thanks .
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 Jul 11
1
Question about Using Grant Table
Hi:
There is a code sample in <The Definite Guide to the Xen Hypervisor>, chapter 4, "Using Grant Tables".
The code sample is as following:
#include <public/xen.h>
extern void * shared_page;
extern grant_entry_t * grant_table;
void offer_page()
{
uint16_t flags;
/* create the grant table*/
gnttab_setup_table_t setup_op;
2008 Jun 24
1
How to mask an event channel?
In <Xen In seterface Manual>, chapter 5 Event Channels, they say that:"Event Notifications can be masked by setting a flag; this is equivalent to disabling interrupts and can be used to ensure atomicity of certain operation in the guest kernel".
My question is :
I know that we can use ''xc_evtchn_unmask(xcehandle, port)'' to unmask an event channel , but I can not
2007 Nov 19
5
shared memory and event channel
Hi,
For each domUs there is unique shared memory(2-way circular queue) and event-channel(one shared memory and event-channel per domU)
or there is only one shared memory and interdomain event-channel(for every DomU)?
regards:
Amit
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Sep 28
2
event channel in xenpaging
Hi,Olaf,
I have some questions about event channel in Xenpaging to ask you.
1) In xenpaging it uses Inter-Domainain Commnication (IDC) between
dom0 and domU to build bidirectional connection,but I found there is
only an event channel notification from xen to dom0 when page faults
happens.It seems that xenpaging_resume_page()->xc_evtchn_notify()
doesn''t make any difference.So why
2011 Apr 10
0
Bug#622096: xen-utils-common: error in script "block" by checking loop device sharing prevents DomU from start
Package: xen-utils-common
Version: 4.0.0-1
Severity: important
The script /etc/xen/scripts/block contains an error in the part which
is checking the sharing of the already created loop devices. This error
leads in the case of somespecific file inode values
to the wrong report of the loop device as being already used
and causes then the domain could not be started with such device at all,
there
2012 Jun 20
0
xen dom0 reboot when windows hvm started
Dear Community,
i have a problem with a new debian XEN 64bit squeeze Server, when i started
a windows hvm domU. I tested with the routed and now in the bridge network
mod.
I start the domU with xm create win.cfg and 1 or 2 second the dom0 is
reboot. I install a debian domU on the system, and this is without any
problems in routed and bridge mod.
In the logfile are no informations, in the routed
2012 Jul 18
1
DomU to Dom0 Communication in Xen HVM?
I am new to Xen and want to provide simple communication between my DomU and
Dom0 environments. I just need to be able to pass a few bytes of
information back and forth between DomU and Dom0 while using some form of
event management to know when an update occurs so I can act on it. At
first, it appeared that using XenBus and XenStore might be the right
solution for this. However, after looking
2008 Oct 10
1
xen 2.6.26 on amd64 console troubles
I just installed xen-linux-system-2.6.26-1-xen-amd64 2.6.26-7 on a
freshly installed Debian Lenny AMD64 system, and when I create a
Debian Lenny DomU with xen-tools I cannot attach to a console nor log
in with SSH. When running
# xm create -c test.cfg
the system starts booting, but it seems to "freeze" after the kernel has booted.
Googling a bit, shows that I seem to have the problem
2013 Jun 21
0
Xen Security Advisory 57 - libxl allows guest write access to sensitive console related xenstore keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Xen Security Advisory XSA-57
version 3
libxl allows guest write access to sensitive console related xenstore keys
UPDATES IN VERSION 3
====================
Public release.
ISSUE DESCRIPTION
=================
The libxenlight (libxl) toolstack library does not correctly set
permissions on
2005 Jun 21
0
Job Openings at WU Wien
The Department of Statistics and Mathematics at the Vienna University of
Economics and Business Administration invites applications for two new
faculty positions in computational statistics and quantitative research
methodology, to begin in fall 2005. The positions will be at the
Assistant level. Candidates should have a strong potential for
statistical computing or intramural research support
2012 Feb 22
2
[PATCH] qemu-xen: ignore console disconnect events from console/0
qemu-xen: ignore console disconnect events for console/0
The first console has a different location compared to other PV devices
(console, rather than device/console/0) and doesn''t obey the xenstore
state protocol. We already special case the first console in con_init
and con_initialise, we should also do it in con_disconnect.
This patch should be applied to 4.1 too.
Signed-off-by:
2011 Mar 28
2
Bug#619977: xen-utils-common: Missing /etc/udev/rules.d/xend.rules and /etc/udev/rules.d/xen-backend.rules
Package: xen-utils-common
Version: 4.0.0-1
Severity: normal
A strange issue, when deploying Xen using Puppet, /etc/udev/rules.d/xend.rules and /etc/udev/rules.d/xen-backend.rules files are empty.
Specifically, the symlinks point to ../xend.rules and ../xen-backend.rules respectively in /etc/udev, but neither of those files exist.
Manually copying those files from another host that was not
2009 Jul 26
0
Bug#538766: xen-utils-common: fail to start xend
Package: xen-utils-common
Version: 3.3.1-1
Severity: grave
Justification: renders package unusable
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh
2012 Oct 29
1
Bug#691738: xen-utils-4.0: xen-utils python libraries should be migrated to separate package
Package: xen-utils-4.0
Version: 4.0.1-5.4
Severity: important
This bug affects xen-utils-4.0 in debian stable and xen-utils-4.1 in debian testing.
xen-utils contains the python libraries for python development against xen/xenstore.
These libraries should be separated from the main xen-utils packages so that they can be installed on a xen domU without pulling in dom0 xen functionality (i.e. the
2008 Feb 12
0
xen-3_3.2.0-3_amd64.changes is NEW
libxen-dev_3.2.0-3_amd64.deb
to pool/main/x/xen-3/libxen-dev_3.2.0-3_amd64.deb
(new) libxenstore3.0_3.2.0-3_amd64.deb extra libs
Xenstore communications library for Xen
This package contains the public libxenstore.
xen-3_3.2.0-3.diff.gz
to pool/main/x/xen-3/xen-3_3.2.0-3.diff.gz
xen-3_3.2.0-3.dsc
to pool/main/x/xen-3/xen-3_3.2.0-3.dsc
xen-docs-3.2_3.2.0-3_all.deb
to
2023 May 23
2
Bug#1036601: xenstore-utils: missing Depends: xen-utils-common
Package: xenstore-utils
Version: 4.17.0+74-g3eac216e6e-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package ships (or creates)
a broken symlink:
0m15.9s ERROR: FAIL: Broken symlinks:
/usr/bin/xenstore-control -> ../lib/xen-common/bin/xen-utils-wrapper (xenstore-utils)
cheers,
Andreas
2015 Sep 09
0
Report on Xen-4.6rc2 from virt7-xen-46-candidate
On Tue, Sep 8, 2015 at 11:25 PM, T.Weyergraf <T.Weyergraf at virtfinity.de> wrote:
> Hi
>
> I gave the new Xen-4.6rc2 a spin on a CentOS 7 virtualisation guest
> (nested-xen). I haven't yet started testing guests, but rather looked at the
> install itself.
>
> One issue, I found, was with xenstored.service and the corresponding
> unit-file:
>
> [root at