Displaying 2 results from an estimated 2 matches for "l8301".
Did you mean:
8301
2015 Dec 07
2
libvirt logging of virDomainAttachDeviceFlags()
Hi,
When using « virsh attach-device ....." to add a channel device to a Guest , I see following entry in libvirt log :
2015-12-07 11:14:47.307+0000: 14551: debug : virDomainAttachDeviceFlags:10433 : dom=0x7f2a58252fc0, ........
Great !!
But , when calling virDomainAttachDeviceFlags( ) from a C program , I got return code -1 but nothing appears related to virDomainAttachDeviceFlags(
2015 Dec 07
0
Re: libvirt logging of virDomainAttachDeviceFlags()
...looks like the client has not even gotten into RPC call. This means
that you are passing a wrong argument somewhere. You can:
1) check here what arguments are being checked for:
http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/libvirt-domain.c;h=b91388e77e00bf30674f3e25fbdfd38b8626c351;hb=HEAD#l8301
2) Use virGetLastError() to check the actual error.
Michal