search for: do_or_die

Displaying 18 results from an estimated 18 matches for "do_or_die".

2005 May 26
3
Updated Shorewall build and publish scripts
...F U N C T I O N S ################################################################################ progress_message() { echo >> $LOGFILE echo "$@" | tee -a $LOGFILE echo >> $LOGFILE } report() { echo "$@" | tee -a $LOGFILE } do_or_die() { eval $@ || { progress_message "Step \"$*\" FAILED" ; exit 2; } } fatal_error() { progress_message "$*" exit 2 } list_search() # $1 = element to search for , $2-$n = list { local e=$1 while [ $# -gt 1 ]; do shift [ "x$e" = "x$...
2013 Jan 28
5
xl nat and wrong IPs
Hi, I''m currently switching from toolstacks from xm to xl. Because I have a rather complex network setup with my domUs, I use xen''s nat capabilities. But what works fine with xm behaves slightly strange in xl: I use something like the following to establish a domU interface within my vif part: ''type=vif, mac=00:16:3E:06:DA:B2, ip=192.168.2.1, vifname=fw11,
2012 Jul 10
3
Bug#658305: [PATCH] hotplug: vif: fail if a duplicate vifname is used
...s using + # that interface (e.g. another running domU) because it's likely a + # configuration error + if ip link show "$vifname" >&/dev/null + then + fatal "Cannot rename interface $dev. An interface with name $vifname already exists." + fi + do_or_die ip link set "$dev" name "$vifname" +} if [ "$type_if" = vif ]; then # Check presence of compulsory args. @@ -74,9 +88,9 @@ if [ "$type_if" = vif ]; then vifname=$(xenstore_read_default "$XENBUS_PATH/vifname" "") if [ &quo...
2024 Mar 19
2
Bug#1067151: xen-utils-common: vif-openvswitch ignores MTU
...else fatal "No valid bridge was specified" fi if [ $trunk ]; then local trunk_arg="trunk=$trunk" fi if [ $tag ]; then local tag_arg="tag=$tag" fi local vif_details="$(openvswitch_external_id_all $dev)" do_or_die ovs-vsctl --timeout=30 \ -- --if-exists del-port $dev \ -- add-port "$bridge" $dev $tag_arg $trunk_arg $vif_details do_or_die ip link set $dev up } case "$command" in add|online) check_tools setup_virtual_bridge_port $dev set_mtu...
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); + } + + igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs); + igt_pipe_crc_stop(pipe_crc)...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); + } + + igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs); + igt_pipe_crc_stop(pipe_crc)...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); + } + + igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs); + igt_pipe_crc_stop(pipe_crc)...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...;pipe, "auto"); + + create_crc_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); + } + + igt_pipe_crc_get_crcs(pipe_crc, n_crcs, &crcs); + igt_pipe_crc_stop(pipe_crc)...
2008 Dec 01
1
Error: Device 0 (vif) could not be connected.Hotplug scripts not working.
...common.sh file i think there is no syntax error 57vifname=$(xenstore_read_default "$XENBUS_PATH/vifname" "") 58if [ "$vifname" ] 59then 60 if [ "$command" == "online" ] && ! ip link show "$vifname" >&/dev/null 61 then 62 do_or_die ip link set "$vif" name "$vifname" 63fi 64vif="$vifname" 65 fi 66 can any on help where i am going wrong , how to debugg or how to start network on Dom U I am using the following confugration script kernel = "/boot/vmlinuz-2.6.18.8-xenU" ramdisk = "/b...
2020 Apr 17
10
[PATCH i-g-t v3 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2020 Sep 29
1
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...t; + > > + set_crc_flip_threshold(data, n_crcs / 2); > > + igt_pipe_crc_start(pipe_crc); > > + > > + for (i = 0; i < n_crcs; i++) { > > + const int color_idx = i % n_colors; > > + > > + igt_plane_set_fb(primary, &colors[color_idx].fb); > > + do_or_die(drmModePageFlip(data->drm_fd, > > + output->config.crtc->crtc_id, > > + colors[color_idx].fb.fb_id, > > + DRM_MODE_PAGE_FLIP_EVENT, > > + NULL)); > > + kmstest_wait_for_pageflip(data->drm_fd); > > While testing I was experien...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...rs(data, colors, n_colors, pipe_crc); > + > + set_crc_flip_threshold(data, n_crcs / 2); > + igt_pipe_crc_start(pipe_crc); > + > + for (i = 0; i < n_crcs; i++) { > + const int color_idx = i % n_colors; > + > + igt_plane_set_fb(primary, &colors[color_idx].fb); > + do_or_die(drmModePageFlip(data->drm_fd, > + output->config.crtc->crtc_id, > + colors[color_idx].fb.fb_id, > + DRM_MODE_PAGE_FLIP_EVENT, > + NULL)); > + kmstest_wait_for_pageflip(data->drm_fd); While testing I was experiencing some test failures, at which p...
2020 Apr 17
5
[PATCH i-g-t v2 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> (Just forwarding this to nouveau's ml, since I completely forgot to before) Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that)
2020 Mar 18
6
[PATCH i-g-t 0/4] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2010 Jul 08
0
Bug#588406: xen-utils-common: /etc/xen/scripts/block not driving helper scripts; XEN_SCRIPT_DIR not properly set
...Failed to find an unused loop device' fi if LANG=C losetup -h 2>&1 | grep read-only >/dev/null then roflag="-$mode"; roflag="${roflag#-w}"; roflag="${roflag#-!}" else roflag='' fi do_or_die losetup $roflag "$loopdev" "$file" xenstore_write "$XENBUS_PATH/node" "$loopdev" write_dev "$loopdev" release_lock "block" exit 0 ;; "") claim_lock "block" success...
2020 Sep 30
9
[PATCH i-g-t v5 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, and at this point that support has made its way upstream. Hooray! So, let's start adding some relevant tests for it since nvidia's CRC implementation has some rather interesting design choices that needed to be worked around. Lyude Paul (5): lib/igt_core: Fix igt_assert_fd() documentation
2013 Apr 18
10
[PATCH] hotplug: add openvswitch script
Based on Waldi''s RFC at http://lists.xen.org/archives/html/xen-devel/2012-09/msg00943.html To use it set vif.default.script="vif-openvswitch" in /etc/xen/xl.conf or use script=vif-openvswitch in the vif configuration. Appears to do the right thing for PV and HVM guests (including tap devices) and with stubdomains. In order to support VLAN tagging and trunking the
2013 Oct 21
36
[PATCH 0 of 5 V3] Remus/Libxl: Network buffering support
This patch series adds support for network buffering in the Remus codebase in libxl. Changes in V3: [1/5] Fix redundant checks in configure scripts (based on Ian Campbell''s suggestions) [2/5] Introduce locking in the script, during IFB setup. Add xenstore paths used by netbuf scripts to xenstore-paths.markdown [3/5] Hotplug scripts setup/teardown invocations are now