search for: tsrmls_cc

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

2019 Aug 01
3
Detach disk from VM - virsh (working) vs. PHP (not working)
...;newXml, 823 " <disk type='file' device='disk'>\n" 824 " <target dev='%s'/>\n" 825 " </disk>", dev) < 0) { 826 set_error("Out of memory" TSRMLS_CC); 827 goto error; 828 } but my attempts was unsuccesfull (i’m not C programmer). Questions: A, why complicated way is not working and system dont want boot (GRUB error) if virsh works fine B, why libvirt_domain_disk_remove is not work ? I use libvirt and libvirt-php latest from g...
2019 Aug 02
0
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
..." <disk type='file' device='disk'>\n" > 824 " <target dev='%s'/>\n" > 825 " </disk>", dev) < 0) { > 826 set_error("Out of memory" TSRMLS_CC); > 827 goto error; > 828 } > > but my attempts was unsuccesfull (i’m not C programmer). Yes, this minimalistic XML is not good as detach API requires full device XML. I'll fix this soon. > > Questions: > > A, why complicated way is not working an...
2019 Aug 02
2
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
..." <disk type='file' device='disk'>\n" >> 824 " <target dev='%s'/>\n" >> 825 " </disk>", dev) < 0) { >> 826 set_error("Out of memory" TSRMLS_CC); >> 827 goto error; >> 828 } >> but my attempts was unsuccesfull (i’m not C programmer). > > Yes, this minimalistic XML is not good as detach API requires full device XML. I'll fix this soon. > >> Questions: >> A, why complicated way is...