Displaying 4 results from an estimated 4 matches for "newxml".
Did you mean:
netxml
2013 Oct 09
3
Re: failing connections w/ virt-manager
Am 08.10.2013 14:46, schrieb Stefan G. Weichinger:
>> Try enabling the flag, re-emerging the package, setting the logs and
>> then reproduce it again. Check the logs and you should see why it's
>> disconnecting.
The docs say that libvirtd has to listen on the TCP port ... checked that:
# netstat -alnp | grep libv
tcp 0 0 0.0.0.0:16509 0.0.0.0:*
2019 Aug 01
3
Detach disk from VM - virsh (working) vs. PHP (not working)
...to source code, and yes, there is a mystake with „attach“/„detach“, but main problem i see in log from libvirt:
Aug 1 02:57:05 ry libvirtd[19051]: missing source information for device vda
I try to put source detail to xml in source of PHP module
libvirt-domain.c:
822 if (asprintf(&newXml,
823 " <disk type='file' device='disk'>\n"
824 " <target dev='%s'/>\n"
825 " </disk>", dev) < 0) {
826 set_error("Out of memory" TSRMLS_...
2019 Aug 02
0
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
...in the error message. In fact the detach API is
called. And it fails.
>
> Aug 1 02:57:05 ry libvirtd[19051]: missing source information for device vda
>
> I try to put source detail to xml in source of PHP module
>
> libvirt-domain.c:
>
> 822 if (asprintf(&newXml,
> 823 " <disk type='file' device='disk'>\n"
> 824 " <target dev='%s'/>\n"
> 825 " </disk>", dev) < 0) {
> 826 set_error("Out...
2019 Aug 02
2
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
...typo in the error message. In fact the detach API is called. And it fails.
>
>> Aug 1 02:57:05 ry libvirtd[19051]: missing source information for device vda
>> I try to put source detail to xml in source of PHP module
>> libvirt-domain.c:
>> 822 if (asprintf(&newXml,
>> 823 " <disk type='file' device='disk'>\n"
>> 824 " <target dev='%s'/>\n"
>> 825 " </disk>", dev) < 0) {
>> 826 set_err...