/* This defines the name of the devices the driver reacts to * So, this should be consistent with backend */ staticconststructxenbus_device_idalice_front_ids[] = { { "alice_dev" }, { "" } };
# Tell the domU about the new device and its backend xenstore-write $DOMU_KEY/backend-id 0 xenstore-write $DOMU_KEY/backend "/local/domain/0/backend/$DEVICE/$DOMU_ID/0"
# Tell the dom0 about the new device and its frontend xenstore-write $DOM0_KEY/frontend-id $DOMU_ID xenstore-write $DOM0_KEY/frontend "/local/domain/$DOMU_ID/device/$DEVICE/0"
# Make sure the domU can read the dom0 data xenstore-chmod $DOM0_KEY r
# Activate the device, dom0 needs to be activated last xenstore-write $DOMU_KEY/state 1 xenstore-write $DOM0_KEY/state 1