search for: domain_addr

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

2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
...(info, SYMBOL(xen_heap_start), &xen_heap_start, + sizeof(xen_heap_start), "Can''t get the value of xen_heap_start.\n")) + return FALSE; + + for (i = 0; i < info->num_domain; i++) { + info->domain_list[i].pickled_id = (unsigned int) + (info->domain_list[i].domain_addr - xen_heap_start); + } + + return TRUE; +} + #endif /* ia64 */ Index: makedumpfile.c =================================================================== RCS file: /cvsroot/xen_ia64/people/oda/makedumpfile-1.1.3/makedumpfile.c,v retrieving revision 1.1 retrieving revision 1.14 diff -u -r1.1 -r1.1...
2018 Apr 27
0
Re: [libvirt] ignore_value
...ECK), in cases where we are intentionally ignoring the return value (rather than assigning the value to a variable or using the function call in an 'if' conditional, the way the compiler warning would want us to do it). Many of the uses in libvirt code base are things like this in src/conf/domain_addr.c: char * virDomainPCIAddressAsString(virPCIDeviceAddressPtr addr) { char *str; ignore_value(virAsprintf(&str, "%.4x:%.2x:%.2x.%.1x", addr->domain, addr->bus, addr->slot,...
2018 Apr 27
3
[libvirt] ignore_value
Hi,using ignore_value in libvirt source code to do function return value processing,but I can’t understand about it,can you give me some tips?thanks very much!