2009-09-16 16:26:27 +00:00
|
|
|
daemon/dispatch.c
|
|
|
|
daemon/libvirtd.c
|
|
|
|
daemon/remote.c
|
2009-08-24 19:53:48 +00:00
|
|
|
daemon/stream.c
|
2009-12-18 13:50:04 +00:00
|
|
|
src/conf/cpu_conf.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/conf/domain_conf.c
|
2010-01-13 18:11:33 +00:00
|
|
|
src/conf/domain_event.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/conf/interface_conf.c
|
|
|
|
src/conf/network_conf.c
|
|
|
|
src/conf/node_device_conf.c
|
2010-03-25 17:46:07 +00:00
|
|
|
src/conf/nwfilter_conf.c
|
|
|
|
src/conf/nwfilter_params.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/conf/secret_conf.c
|
|
|
|
src/conf/storage_conf.c
|
|
|
|
src/conf/storage_encryption_conf.c
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
src/cpu/cpu.c
|
2010-02-11 15:27:14 +00:00
|
|
|
src/cpu/cpu_generic.c
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
src/cpu/cpu_map.c
|
|
|
|
src/cpu/cpu_x86.c
|
2008-11-04 23:22:06 +00:00
|
|
|
src/datatypes.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/interface/netcf_driver.c
|
2008-01-29 18:19:46 +00:00
|
|
|
src/libvirt.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/lxc/lxc_container.c
|
|
|
|
src/lxc/lxc_controller.c
|
|
|
|
src/lxc/lxc_driver.c
|
|
|
|
src/network/bridge_driver.c
|
|
|
|
src/node_device/node_device_driver.c
|
2009-11-12 21:48:24 +00:00
|
|
|
src/node_device/node_device_linux_sysfs.c
|
|
|
|
src/node_device/node_device_udev.c
|
2009-01-20 17:13:33 +00:00
|
|
|
src/nodeinfo.c
|
2010-03-25 17:46:09 +00:00
|
|
|
src/nwfilter/nwfilter_driver.c
|
|
|
|
src/nwfilter/nwfilter_ebiptables_driver.c
|
|
|
|
src/nwfilter/nwfilter_gentech_driver.c
|
2009-05-28 13:11:22 +00:00
|
|
|
src/opennebula/one_conf.c
|
|
|
|
src/opennebula/one_driver.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/openvz/openvz_conf.c
|
|
|
|
src/openvz/openvz_driver.c
|
2009-07-26 21:53:34 +00:00
|
|
|
src/phyp/phyp_driver.c
|
2009-11-03 22:41:23 +00:00
|
|
|
src/qemu/qemu_bridge_filter.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/qemu/qemu_conf.c
|
|
|
|
src/qemu/qemu_driver.c
|
2009-10-09 18:07:55 +00:00
|
|
|
src/qemu/qemu_monitor.c
|
2009-11-03 18:59:18 +00:00
|
|
|
src/qemu/qemu_monitor_json.c
|
2009-09-22 17:48:40 +00:00
|
|
|
src/qemu/qemu_monitor_text.c
|
2010-01-13 16:43:29 +00:00
|
|
|
src/qemu/qemu_security_dac.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/remote/remote_driver.c
|
|
|
|
src/secret/secret_driver.c
|
|
|
|
src/security/security_driver.c
|
2009-10-08 14:34:22 +00:00
|
|
|
src/security/security_apparmor.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/security/security_selinux.c
|
2009-10-08 14:34:22 +00:00
|
|
|
src/security/virt-aa-helper.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/storage/storage_backend.c
|
|
|
|
src/storage/storage_backend_disk.c
|
|
|
|
src/storage/storage_backend_fs.c
|
|
|
|
src/storage/storage_backend_iscsi.c
|
|
|
|
src/storage/storage_backend_logical.c
|
|
|
|
src/storage/storage_backend_mpath.c
|
|
|
|
src/storage/storage_backend_scsi.c
|
|
|
|
src/storage/storage_driver.c
|
|
|
|
src/test/test_driver.c
|
|
|
|
src/uml/uml_conf.c
|
|
|
|
src/uml/uml_driver.c
|
2010-03-14 19:50:14 +00:00
|
|
|
src/util/authhelper.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/util/bridge.c
|
|
|
|
src/util/conf.c
|
2010-03-26 14:49:45 +00:00
|
|
|
src/util/hooks.c
|
2010-01-11 16:40:46 +00:00
|
|
|
src/util/hostusb.c
|
2009-11-03 18:59:18 +00:00
|
|
|
src/util/json.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/util/logging.c
|
2010-02-15 15:58:13 +00:00
|
|
|
src/util/macvtap.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/util/pci.c
|
2009-11-16 15:22:34 +00:00
|
|
|
src/util/processinfo.c
|
2010-02-04 23:02:10 +00:00
|
|
|
src/util/stats_linux.c
|
2009-09-30 12:12:03 +00:00
|
|
|
src/util/storage_file.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/util/util.c
|
|
|
|
src/util/uuid.c
|
|
|
|
src/util/virterror.c
|
|
|
|
src/util/xml.c
|
2009-05-12 20:44:29 +00:00
|
|
|
src/vbox/vbox_driver.c
|
2009-04-21 19:13:23 +00:00
|
|
|
src/vbox/vbox_tmpl.c
|
2009-09-16 16:26:27 +00:00
|
|
|
src/xen/proxy_internal.c
|
|
|
|
src/xen/xend_internal.c
|
|
|
|
src/xen/xen_driver.c
|
|
|
|
src/xen/xen_hypervisor.c
|
|
|
|
src/xen/xen_inotify.c
|
|
|
|
src/xen/xm_internal.c
|
|
|
|
src/xen/xs_internal.c
|
2010-03-31 10:24:25 +00:00
|
|
|
src/xenapi/xenapi_driver.c
|
2010-03-16 18:32:05 +00:00
|
|
|
src/xenapi/xenapi_utils.c
|
2009-09-16 16:26:27 +00:00
|
|
|
tools/console.c
|
|
|
|
tools/virsh.c
|