Displaying 6 results from an estimated 6 matches for "first_port".
2009 May 04
0
Test port not available
...On the first point, maybe this code in test-exec.sh:
if [ ! -z "$TEST_SSH_PORT" ]; then
PORT="$TEST_SSH_PORT"
else
PORT=4242
fi
could be something similar to:
if [ ! -z "$TEST_SSH_PORT" ]; then
PORT="$TEST_SSH_PORT"
else
first_port=4200
last_port=4300
test_port=$first_port
while [ "$test_port" -le "$last_port" ]; do
netstat -na | grep "[:.]$test_port " >/dev/null 2>&1 || { PORT=$test_port; break; }
test_port=`expr $test_port + 1`
done
if [ -z &qu...
2007 Dec 13
5
cant start domU w/ pci [Error: function takes exactly 4 arguments (3 given)]
...rror: function takes exactly 4 arguments (3 given)
the python file where it fails :
158 for (start, size) in dev.ioports:
159 log.debug(''pci: enabling ioport 0x%x/0x%x''%(start,size))
160 rc = xc.domain_ioport_permission(dom = fe_domid,
first_port = start,
161 nr_ports = size, allow_access = True)
162 if rc<0:
163 raise VmError((''pci: failed to configure I/O ports
on device ''+
164 ''%s - errno=%d'')%(dev.name,rc))...
2010 Apr 09
5
[Bug 1752] New: Test port not available during make tests
...ror message more informative.
Maybe the code in test-exec.sh:
if [ ! -z "$TEST_SSH_PORT" ]; then
PORT="$TEST_SSH_PORT"
else
PORT=4242
fi
could be something similar to:
if [ ! -z "$TEST_SSH_PORT" ]; then
PORT="$TEST_SSH_PORT"
else
first_port=4200
last_port=4300
test_port=$first_port
while [ "$test_port" -le "$last_port" ]; do
netstat -na | grep "[:.]$test_port " >/dev/null 2>&1 || {
PORT=$test_port; break; }
test_port=`expr $test_port + 1`
done
if [ -z "$POR...
2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...t allow_access; /* allow (!0) or deny (0) access to
range? */
+};
+typedef struct xen_domctl_iomem_permission
xen_domctl_iomem_permission_t;
+DEFINE_XEN_GUEST_HANDLE(xen_domctl_iomem_permission_t);
+
+
+#define XEN_DOMCTL_ioport_permission 21
+struct xen_domctl_ioport_permission {
+ uint32_t first_port; /* first port int range */
+ uint32_t nr_ports; /* size of port range */
+ uint8_t allow_access; /* allow or deny access to range?
*/
+};
+typedef struct xen_domctl_ioport_permission
xen_domctl_ioport_permission_t;
+DEFINE_XEN_GUEST_HANDLE(xen_domctl_i...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have
posted, and remain prerequisites for that series. However, they are
independent of the XSM changes and are a useful simplification
regardless of the use of XSM.
The Acked-bys on these patches were provided before rebasing them over
the copyback changes in 26268:1b72138bddda, which had minor conflicts
that I resolved.
[PATCH
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF,
adds PFN-GMFN table, HVM support, and adds experimental IA64 support.
- ELF format
Program header and note section are adopted.
- HVM domain support
To know the memory area to dump, XENMEM_set_memory_map is added.
XENMEM_memory_map hypercall is for current domain, so new one is created.
and hvm domain builder tell xen its