libvirt/src/util
Osier Yang 7c90026db9 npiv: Auto-generate WWN if it's not specified
The auto-generated WWN comply with the new addressing schema of WWN:

<quote>
the first nibble is either hex 5 or 6 followed by a 3-byte vendor
identifier and 36 bits for a vendor-specified serial number.
</quote>

We choose hex 5 for the first nibble. And for the 3-bytes vendor ID,
we uses the OUI according to underlying hypervisor type, (invoking
virConnectGetType to get the virt type). e.g. If virConnectGetType
returns "QEMU", we use Qumranet's OUI (00:1A:4A), if returns
ESX|VMWARE, we use VMWARE's OUI (00:05:69). Currently it only
supports qemu|xen|libxl|xenapi|hyperv|esx|vmware drivers. The last
36 bits are auto-generated.
2012-02-10 12:53:25 +08:00
..
authhelper.c
authhelper.h
bitmap.c
bitmap.h
buf.c Fix strchr call triggering gcc 4.3 & 4.4 bug 2011-11-15 15:00:10 -05:00
buf.h virbuf: add auto-indentation support 2011-10-20 16:02:16 -06:00
cgroup.c hash: minor touchups 2012-01-26 15:27:10 -07:00
cgroup.h Add functions to set/get cgroup cpuset parameters 2011-12-20 09:13:36 -07:00
command.c command: allow merging stdout and stderr in string capture 2012-02-03 10:02:34 -07:00
command.h util: add functions to keep capabilities 2012-01-31 13:36:28 -05:00
conf.c error: drop old-style error reporting 2012-01-19 13:26:04 -07:00
conf.h
dnsmasq.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
dnsmasq.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
ebtables.c
ebtables.h
event_poll.c Remove time APIs from src/util/util.h 2011-11-30 11:43:50 +00:00
event_poll.h
event.c Introduce virConnectSetKeepAlive 2011-11-24 11:44:08 +01:00
event.h
hooks.c utils: More useful error message for hook script failure 2011-07-29 22:40:47 +08:00
hooks.h
hostusb.c qemu: Keep list of USB devices attached to domains 2011-12-24 18:12:04 +01:00
hostusb.h qemu: Keep list of USB devices attached to domains 2011-12-24 18:12:04 +01:00
iohelper.c Introduce new API for generating random numbers 2012-01-26 14:03:14 +00:00
iptables.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
iptables.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
json.c Remove bogus warning message in JSON code 2011-06-30 18:04:01 +01:00
json.h
keymaps.csv Rsync keymaps.csv file with GTK-VNC 2012-01-12 20:44:55 +00:00
logging.c Cast pointer to int using intptr_t 2012-01-25 18:00:47 -07:00
logging.h logging: Do not log timestamp through syslog 2011-09-29 13:42:34 +02:00
memory.c
memory.h
pci.c qemu: Introduce inactive PCI device list 2012-01-17 17:05:32 -07:00
pci.h qemu: Introduce inactive PCI device list 2012-01-17 17:05:32 -07:00
processinfo.c
processinfo.h
qparams.c
qparams.h
sexpr.c Don't copy sexpr node value that is an empty string 2011-11-18 16:00:31 -07:00
sexpr.h
stats_linux.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
stats_linux.h
storage_file.c Replace truncate() with ftruncate() 2012-02-08 19:50:15 +00:00
storage_file.h Implement virStorageVolResize() for FS backend 2012-01-31 11:58:11 -05:00
sysinfo.c sysinfo: simplify function signature 2012-02-08 15:09:25 -07:00
sysinfo.h snapshot: simplify indentation of sysinfo 2011-10-20 16:02:16 -06:00
threadpool.c threadpool: Use while loop on virCondWait 2011-12-09 19:33:11 +01:00
threadpool.h daemon: Create priority workers pool 2011-09-05 18:14:08 +02:00
threads-pthread.c threads: check for failure to set thread-local value 2012-01-19 13:14:10 -07:00
threads-pthread.h
threads-win32.c Cast pointer to int using intptr_t 2012-01-25 18:00:47 -07:00
threads-win32.h build: fix header order on mingw 2012-01-25 15:05:45 -07:00
threads.c
threads.h threads: check for failure to set thread-local value 2012-01-19 13:14:10 -07:00
util.c util: refactor virFileOpenAs 2012-02-03 16:47:39 -05:00
util.h util: refactor virFileOpenAs 2012-02-03 16:47:39 -05:00
uuid.c Introduce new API for generating random numbers 2012-01-26 14:03:14 +00:00
uuid.h build: add compiler attributes to virUUIDParse 2011-10-13 12:23:37 -06:00
viraudit.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
viraudit.h maint: rename virtaudit to match file contents 2011-07-12 07:24:43 -06:00
virfile.c util: Generalize virFileDirectFd 2012-02-08 11:26:20 +01:00
virfile.h util: Generalize virFileDirectFd 2012-02-08 11:26:20 +01:00
virhash.c hash: minor touchups 2012-01-26 15:27:10 -07:00
virhash.h util: Include stdint.h because of uint32_t 2012-01-26 19:14:01 +01:00
virhashcode.c build: avoid gcc 4.7 warning about inlines 2012-02-06 20:06:37 -07:00
virhashcode.h util: Include stdint.h because of uint32_t 2012-01-26 19:14:01 +01:00
virkeycode-mapgen.py Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.c Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.h util: add virtkeycode module 2011-07-21 15:57:47 +08:00
virmacaddr.c Move virMacAddrXXX functions to src/util/virmacaddr.[ch] 2012-01-27 17:56:10 +00:00
virmacaddr.h Move virMacAddrXXX functions to src/util/virmacaddr.[ch] 2012-01-27 17:56:10 +00:00
virnetdev.c Move virMacAddrXXX functions to src/util/virmacaddr.[ch] 2012-01-27 17:56:10 +00:00
virnetdev.h Added Function virNetDevGetVirtualFunctions 2012-01-11 13:01:16 -07:00
virnetdevbandwidth.c bandwidth: Fix funky identation 2011-11-29 14:26:14 +01:00
virnetdevbandwidth.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virnetdevbridge.c bridge: Fix forward delay APIs 2011-12-09 13:57:45 +01:00
virnetdevbridge.h Split bridge.h into three separate files 2011-11-09 16:34:25 +00:00
virnetdevmacvlan.c util: rename netlink.[ch] to virnetlink.[ch] 2012-02-03 15:27:40 -05:00
virnetdevmacvlan.h Allow creation of plain macvlan devices 2011-11-18 16:10:37 +00:00
virnetdevtap.c Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virnetdevtap.h Split bridge.h into three separate files 2011-11-09 16:34:25 +00:00
virnetdevveth.c Move LXC veth.c code into shared utility APIs 2011-11-15 10:28:02 +00:00
virnetdevveth.h Move LXC veth.c code into shared utility APIs 2011-11-15 10:28:02 +00:00
virnetdevvportprofile.c util: rename netlink.[ch] to virnetlink.[ch] 2012-02-03 15:27:40 -05:00
virnetdevvportprofile.h Rename and split the macvtap.c file 2011-11-18 16:10:01 +00:00
virnetlink.c util: rename netlink.[ch] to virnetlink.[ch] 2012-02-03 15:27:40 -05:00
virnetlink.h util: rename netlink.[ch] to virnetlink.[ch] 2012-02-03 15:27:40 -05:00
virnodesuspend.c Don't mark suspend as active until we know it is running 2011-11-30 10:12:30 +00:00
virnodesuspend.h Move suspend capabilities APIs out of util.h into virnodesuspend.c 2011-11-30 10:12:29 +00:00
virpidfile.c debug: Annotate some variables as unused 2011-09-27 10:16:46 +02:00
virpidfile.h Add some APIs which use locking for crashsafe pidfile handling 2011-08-12 20:37:00 +01:00
virrandom.c npiv: Auto-generate WWN if it's not specified 2012-02-10 12:53:25 +08:00
virrandom.h npiv: Auto-generate WWN if it's not specified 2012-02-10 12:53:25 +08:00
virsocketaddr.c Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virsocketaddr.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virterror_internal.h error: drop old-style error reporting 2012-01-19 13:26:04 -07:00
virterror.c virterror.c: Fix several spelling mistakes 2012-02-03 11:32:51 -07:00
virtime.c Don't use undocumented __isleap macro 2011-12-01 13:28:44 +00:00
virtime.h Add internal APIs for dealing with time 2011-11-30 11:43:49 +00:00
virtypedparam.c maint: enforce use of _LAST marker 2012-01-20 16:16:04 -07:00
virtypedparam.h util: add new file for virTypedParameter utils 2012-01-19 13:14:10 -07:00
xml.c xml: fix struct typos 2012-01-27 11:08:58 -07:00
xml.h build: fix build with older libxml2 2011-12-08 11:37:24 +08:00