search for: gnttab

Displaying 20 results from an estimated 104 matches for "gnttab".

2006 Aug 29
10
mini-os: gnttab.c does not compile
...hile trying to compile mini-os from xen-unstable.hg, I noticed that compilation failed like this: gcc -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -m32 -march=i686 -g -Iinclude -Iinclude/x86 -Iinclude/x86/x86_32 -c gnttab.c -o gnttab.o gnttab.c: In Funktion »init_gnttab«: gnttab.c:165: error: request for member `p'' in something not a structure or union make: *** [gnttab.o] Error 1 Looking at the source code, I''m not surprised that this happens, and I suspect that the file of the same name (gntt...
2007 Jun 11
5
[PATCH][Linux] gnttab: make dma address conversion logic of gnttab dma arch specific.
...as sent as http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00324.html # HG changeset patch # User yamahata@valinux.co.jp # Date 1181545986 -32400 # Node ID 69e2dd4e06c405a92717c5f1818f5096e1dc0bcd # Parent d5e0eb7dd069c0ffc1854da81aa143ccfb0ad66e make dma address conversion logic of gnttab dma arch specific. gnttab_dma_map_page() and gnttab_dma_unmap_page() uses machine address with dma address interchangebly. However it doesn''t work with auto translated mode enabled (i.e. on ia64) because - bus address space(dma_addr_t) is different from machine address space(maddr_t)....
2010 Jun 28
0
xen be core: xen be core: can''t open gnttab device
Hi, When running domUs with pygrub, I get errors: .... xen be core: xen be core: can''t open gnttab device can''t open gnttab device xen be core: xen be core: can''t open gnttab device can''t open gnttab device xen be core: xen be core: can''t open gnttab device ..... domUs start, but these errors continue on dom0 Configuration: dom0: Ubuntu 8.10 xen_major...
2007 Nov 26
0
[PATCH] [Mini-OS] Make gnttab allocation/free safe
Add a semaphore to protect gnttab_list from exhaustion, and disable callbacks during allocation/free. Fix the network frontend accordingly. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com> diff -r bb961bda7eff extras/mini-os/gnttab.c --- a/extras/mini-os/gnttab.c Sun Nov 25 21:24:48 2007 +0000 +++ b/extras/mini-...
2012 Mar 09
2
[PATCH] linux-2.6.18/gnttab: add deferred freeing logic
Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/drivers/xen/core/gnttab.c +++ b/drivers/xen/core/gnttab.c @@ -35,6 +35,7 @@ #include <linux/sched.h> #include <linux/mm.h> #include <linux/seqlock.h> +#include <linux/timer.h> #include <xen/interface/xen.h> #include <xen/gnttab.h> #include <asm/pgtable.h> @@ -183,35 +184,119...
2013 Feb 22
0
failed to add gnttab to physmap
I have two dell servers running arch linux and xen 4.3 One of them had after installing lates xen 4.3 had been showing this error message" failed to add gnttab to physmap " I reverted back to git pull from 02/17/13 and virtual machines start fine. Can sommone point me in righ direction what could be causing the error message _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 May 11
2
[PATCH] libxc: implement gnttab.set_max_grants for Linux
...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 ioctl_gntdev_set_max_grants max_grants = { .count = count }; + + rc = ioctl(fd,...
2012 Apr 05
0
[PATCH] xen/gnttab: add deferred freeing logic
...state or hasn''t finished closing them yet.) Signed-off-by: Jan Beulich <jbeulich@suse.com> --- drivers/xen/grant-table.c | 106 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 96 insertions(+), 10 deletions(-) --- 3.4-rc1/drivers/xen/grant-table.c +++ 3.4-rc1-xen-gnttab-deferred-end-access/drivers/xen/grant-table.c @@ -426,10 +426,8 @@ static int gnttab_end_foreign_access_ref nflags = *pflags; do { flags = nflags; - if (flags & (GTF_reading|GTF_writing)) { - printk(KERN_ALERT "WARNING: g.e. still in use!\n"); + if (flags & (GTF_reading...
2011 Dec 01
11
[PATCH 0 of 2] Paging support updates for XCP dom0
...ubc.ca> Acked-by: Andres Lagar-Cavilla <andres@lagarcavilla> Ported and submitted by Andres Lagar-Cavilla arch/x86/mm/ioremap-xen.c | 12 ++---- drivers/xen/blkback/blkback.c | 6 ++- drivers/xen/blkback/interface.c | 9 +++- drivers/xen/core/gnttab.c | 4 +- drivers/xen/gntdev/gntdev.c | 49 +++++++++++++++++------------ drivers/xen/netback/interface.c | 5 +- drivers/xen/netback/netback.c | 16 ++++++--- drivers/xen/scsiback/interface.c | 10 +++--- drivers/xen/scsiback...
2005 Nov 21
1
[PATCH][7/17] USB virt 2.6 split driver---gnttab channel
This patch implements the xenidc_channel interface using grant tables but leaves the channel bring-up and tear-down sequencing to a derived class (xenidc_gnttab_channel implements that). This code is part of the implementation of the xenidc_endpoint used for interdomain communication by the USB driver. Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen...
2012 Jan 31
2
Bug#658100: xl: hangs in qemu-dm when trying to run PV domU
...ovax-dev:/etc/xen# ps aux | grep qemu root 11759 0.1 0.9 18744 3000 ? Ssl 12:11 0:00 qemu-dm -d 22 -domain-name kfreebsd9 -vnc 0.0.0.0:1,password -vncunused -M xenpv and in fact I am able to connect using VNC client, but screen/display is black. Log file lists some problems with gnttab movax-dev:/var/log/xen# cat qemu-dm-kfreebsd9.log domid: 22 Warning: vlan 0 is not connected to host network -videoram option does not work with cirrus vga device model. Videoram set to 4M. xen be core: xen be core: can't open gnttab device can't open gnttab device xs_read(): target get er...
2011 Aug 04
4
Bug#636594: xen: VM restarting too fast. Refusing to restart to avoid loops.
...in/0/device-model/18294/command Watching /local/domain/18294/cpu char device redirected to /dev/pts/5 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = fbd53dd4-0ee0-445d-a798-d47cec227d14 xen be core: xen be core: can't open gnttab device can't open gnttab device xen be core: xen be core: can't open gnttab device can't open gnttab device xen be core: xen be core: can't open gnttab device can't open gnttab device populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done re...
2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...clusion. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/drivers/xen/blkback/blkback.c +++ b/drivers/xen/blkback/blkback.c @@ -41,6 +41,8 @@ #include <linux/list.h> #include <linux/delay.h> #include <xen/balloon.h> +#include <xen/evtchn.h> +#include <xen/gnttab.h> #include <asm/hypervisor.h> #include "common.h" --- a/drivers/xen/blkback/common.h +++ b/drivers/xen/blkback/common.h @@ -32,17 +32,12 @@ #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/blkdev.h> -#include <linux/vmalloc.h>...
2019 Feb 09
3
[admin] [Xen-devel] [BUG] task jbd2/xvda4-8:174 blocked for more than 120 seconds.
...he > > VM becomes unusable. > > These are in many cases the symptoms of running out of "grant frames". Oh! That could be it indeed. I'm wondering what could be monopolizing them, though, and why +deb9u11 is affected while +deb9u10 is not. I'm afraid increasing the gnttab max size to 32 might just defer filling it up. > -# ./xen-diag gnttab_query_size 5 > domid=5: nr_frames=11, max_nr_frames=32 The current value is 31 over max 32 indeed. > With Xen 4.8, you can add gnttab_max_frames=64 (or another number, but > higher than the default 32) to the...
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
2007 Mar 15
3
mini-os: C programming
...a declaration of stack extern char *stack; but in file xen-3.0.3/extras/mini-os/arch/x86/setup.c:48, there is also a decl of stack: char stack[8192]; If one dereferences the variable stack, which is apparently not the case yet, it gives surely a segfault! 2. In file xen-3.0.3/extras/mini-os/gnttab.c:140: the const variable gnttabop_error_msgs is declared as static const char *gnttabop_error_msgs[] = GNTTABOP_error_msgs; shouldn''t that instead be declared: static const char * const gnttabop_error_msgs[] = GNTTABOP_error_msgs; ? (BTW, even the first const is useless as there are c...
2013 Nov 20
6
[PATCH] xen/gnttab: leave lazy MMU mode in the case of a m2p override failure
...msw@amazon.com> --- drivers/xen/grant-table.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index 62ccf54..0283871 100644 --- a/drivers/xen/grant-table.c +++ b/drivers/xen/grant-table.c @@ -930,9 +930,10 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops, ret = m2p_add_override(mfn, pages[i], kmap_ops ? &kmap_ops[i] : NULL); if (ret) - return ret; + goto out; } + out: if (lazy) arch_leave_lazy_mmu_mode(); @@ -969,9 +970,10 @@ int gnttab_unmap_refs(struct gnttab_unmap...
2008 Jul 07
2
confusion about the meaning of CONFIG_XEN
hi all, I noticed "CONFIG_XEN" appears many times in Xen source code. I''m confused about the meaning of "CONFIG_XEN". For example, in "gnttab.c", the definations of gnttab_map() and gnttab_resume() vary with "ifdef CONFIG_XEN" or not. And I also noticed ifndef CONFIG_XEN , the file <platform-pci.h> is included. So my questions are 1)What''s the meanning of CONFIG_XEN? and on which kind of conditions...
2013 Oct 22
5
Arndale: domU not booting
...config), start xencommons manually (/etc/init.d/xencommons start) and finally I''ve been able to run "xl list". Nevertheless, when xencommons is started, it outputs: / //root@arndale:/# /etc/init.d/xencommons start// //Starting C xenstored...WARNING: Failed to open connection to gnttab// //Setting domain 0 name...// //Starting xenconsoled...// //Starting QEMU as disk backend for dom0// ///etc/init.d/xencommons: line 120: /usr/local/lib/xen/bin/qemu-system-i386: No such file or directory/ At this point, xl list displays: /root@arndale:/# xl list// //Name...
2019 Feb 11
2
[Xen-devel] [admin] [BUG] task jbd2/xvda4-8:174 blocked for more than 120 seconds.
...;>> These are in many cases the symptoms of running out of "grant frames". >> >> Oh! That could be it indeed. I'm wondering what could be monopolizing >> them, though, and why +deb9u11 is affected while +deb9u10 is not. I'm >> afraid increasing the gnttab max size to 32 might just defer filling it >> up. >> >>> -# ./xen-diag gnttab_query_size 5 >>> domid=5: nr_frames=11, max_nr_frames=32 >> >> The current value is 31 over max 32 indeed. > > Assuming this is grant v1, there are still 4096/8=512 gr...