search for: gen_hba_xml

Displaying 3 results from an estimated 3 matches for "gen_hba_xml".

2013 Nov 06
3
Calling 'virsh' from within a hook script - avoid deadlock?
...ny workaround around this? Any better way, forking virsh execution somehow? Could anyone explain why this is creating a deadlock in the first place? Isn't libvirt multithreaded? Thanks for the help! Shlomi ### hook script: #!/bin/bash enum_scsi() { scsi_devices=`cd /dev;ls sd[^a]*` } gen_hba_xml() { cat > ./hba.xml << EOF <controller type='scsi' model='virtio-scsi'/> EOF } passthrough_start() { # create virtio-scsi HBA gen_hba_xml virsh attach-device --persistent $domain_name ./hba.xml rm -f ./hba.xml # attache scsi devices to gu...
2013 Nov 06
0
Re: Calling 'virsh' from within a hook script - avoid deadlock?
...libvirt multithreaded? > > > > Thanks for the help! > > > > Shlomi > > > > ### hook script: > > > > #!/bin/bash > > > > enum_scsi() { > > scsi_devices=`cd /dev;ls sd[^a]*` > > } > > > > gen_hba_xml() { > > cat > ./hba.xml << EOF > > <controller type='scsi' model='virtio-scsi'/> > > EOF > > } > > > > passthrough_start() { > > # create virtio-scsi HBA > > gen_hba_xml > > virsh att...
2013 Nov 06
1
Re: Calling 'virsh' from within a hook script - avoid deadlock?
...libvirt multithreaded? > > > > Thanks for the help! > > > > Shlomi > > > > ### hook script: > > > > #!/bin/bash > > > > enum_scsi() { > > scsi_devices=`cd /dev;ls sd[^a]*` > > } > > > > gen_hba_xml() { > > cat > ./hba.xml << EOF > > <controller type='scsi' model='virtio-scsi'/> > > EOF > > } > > > > passthrough_start() { > > # create virtio-scsi HBA > > gen_hba_xml > > virsh att...