source: trunk/packages/invirt-xen-config/qemu-ifup @ 1259

Last change on this file since 1259 was 1258, checked in by broder, 16 years ago

Rearrange invirt-xen-config

  • Property svn:executable set to *
File size: 315 bytes
RevLine 
[95]1#!/bin/sh
2
[104]3echo "config qemu network with xen bridge for $@"
[95]4
[104]5if [ -z "$domid" ]; then
6    echo "domid is not set!!!" >&2
7    exit 1
8fi
[95]9
10dev=$1
11qemu_online=yes
12XENBUS_PATH=/local/domain/0/backend/vif/${domid}/0
13vif=vif${domid}.0
14export vif qemu_online XENBUS_PATH dev
15
[1257]16exec /etc/xen/scripts/vif-invirtroute online
Note: See TracBrowser for help on using the repository browser.