search for: xc_evtchn_unmask

Displaying 7 results from an estimated 7 matches for "xc_evtchn_unmask".

2008 Jun 24
1
How to mask an event channel?
...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 find the function used to mask an event channel. Can any body solve the problem? Thanks a lot. Danius Wu ===============================================...
2008 Sep 05
0
[PATCH] Janitorial work on xc_save.c
...ending(si.xce); if (rc < 0) { - errx(1, "error polling suspend notification channel: %d", rc); + warnx("error polling suspend notification channel: %d", rc); return 0; } } while (rc != si.suspend_evtchn); /* harmless for one-off suspend */ if (xc_evtchn_unmask(si.xce, si.suspend_evtchn) < 0) - errx(1, "failed to unmask suspend notification channel: %d", rc); + warnx("failed to unmask suspend notification channel: %d", rc); /* notify xend that it can do device migration */ printf("suspended\n"); @@ -195,11 +192...
2007 Mar 19
0
[PATCH 2/3] [RFC] User-space grant table device - changes to libxc
...p_grant))) + { + return rc; + } + + return 0; } /* diff -r 809f36b1b685 tools/libxc/xenctrl.h --- a/tools/libxc/xenctrl.h Thu Mar 15 10:43:13 2007 +0000 +++ b/tools/libxc/xenctrl.h Thu Mar 15 17:46:06 2007 +0000 @@ -740,6 +740,62 @@ evtchn_port_t xc_evtchn_pending(int xce_ */ int xc_evtchn_unmask(int xce_handle, evtchn_port_t port); +/************************** + * GRANT TABLE OPERATIONS * + **************************/ + +/* + * Return a handle to the grant table driver, or -1 on failure, in which case + * errno will be set appropriately. + */ +int xc_gnttab_open(void); + +/* + * Close a...
2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
...fuzz we typically do an extra spin in select() - with a 1/2 ms timeout every other iteration */ - if ((now+5) > d->next_period) { + if (now > d->next_period) { d->next_period = now + RATE_LIMIT_PERIOD; if (d->event_count >= RATE_LIMIT_ALLOWANCE) { (void)xc_evtchn_unmask(d->xce_handle, d->local_port); @@ -1006,74 +1013,73 @@ void handle_io(void) !d->buffer.max_capacity || d->buffer.size < d->buffer.max_capacity) { int evtchn_fd = xc_evtchn_fd(d->xce_handle); - FD_SET(evtchn_fd, &readfds); - max_fd = MAX(evtch...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and
2013 Jul 15
6
[PATCH 0 of 6 RESEND v2] blktap3/sring: shared ring between tapdisk and the front-end
This patch series introduces the shared ring used by the front-end to pass request descriptors to tapdisk, as well as responses from tapdisk to the front-end. Requests from this ring end up in tapdisk''s standard request queue. When the tapback daemon detects that the front-end tries to connect to the back-end, it spawns a tapdisk and tells it to connect to the shared ring. The shared
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very