Displaying 2 results from an estimated 2 matches for "domain_ev".
Did you mean:
domain_id
2013 Nov 06
3
Calling 'virsh' from within a hook script - avoid deadlock?
...virtio-scsi HBA
gen_hba_xml
virsh attach-device --persistent $domain_name ./hba.xml
rm -f ./hba.xml
# attache scsi devices to guest
enum_scsi
for sd in ${scsi_devices[@]}
do
virsh attach-disk --persistent $domain_name /dev/${sd} ${sd}
done
}
domain_name=$1
domain_event=$2
case $domain_event in
start)
passthrough_start
;;
*)
echo "qemu hook called with unexpected options $*" >&2
;;
esac
### starce libvirt:
[root@localhost ~]# strace -f -p 14630
Process 14630 attached with 11 threads - interrup...
2011 Jun 06
0
Release of libvirt-0.9.2
...(Cole Robinson)
- remote: Use virDomainEventState helpers (Cole Robinson)
- libxl: Convert to virDomainEventState (Cole Robinson)
- test: Use virDomainEventState helpers (Cole Robinson)
- lxc: Use virDomainEventState helpers (Cole Robinson)
- qemu: Use virDomainEventState helpers (Cole Robinson)
- domain_event: Add common domain event queue/flush helpers (Cole Robinson)
- domain_event: Add virDomainEventState structure (Cole Robinson)
- xml: Use virXMLParse* helpers everywhere (Cole Robinson)
- domain: Require init node for container guests (Cole Robinson)
- xml: Make sure virXpathNodeSet always sets...