libvirt/src
Mark McLoughlin 38fd207e53 Add virCapsGuestMachine structure
A subsequent commit will add a "canonical" field to this structure,
this patch basically just prepares the way for that.

The new type is added, along with virCapabilitiesAlloc/FreeMachines()
helpers and a whole bunch of code to make the transition.

One quirk is that virCapabilitiesAddGuestDomain() and
virCapabilitiesAddGuest() take ownership of the machine list rather
than duping it. This makes sense to avoid needless copying.

* src/capabilities.h: add the virCapsGuestMachine struct and use it
  in virCapsGuestDomainInfo, add prototypes for new functions and
  update the AddGuest() prototypes

* src/capabilities.c: add code for allocating and freeing the new
  type, change the machines parameter to AddGuest() etc.

* src/libvirt_private.syms: export the new helpers

* src/qemu_conf.c: update all the machine type code to use the new
  struct

* src/xen_internal.c: ditto

* tests/testutilsqemu.c: ditto
2009-07-27 15:17:55 +01:00
..
esx ESX driver accept VI API version 4.0 2009-07-27 14:27:09 +02:00
opennebula remove all trailing blank lines 2009-07-16 15:06:42 +02:00
phyp Fix misc build problems due to new drivers 2009-07-24 17:20:50 +01:00
vbox Add support for VBox 3 and event callbacks on vbox 2009-07-24 18:12:16 +02:00
.gitignore Added an optional OCaml+CIL test program for mutex lock validation 2009-05-19 10:17:17 +00:00
bridge.c Support networking in UML driver 2009-06-03 11:13:33 +00:00
bridge.h Support networking in UML driver 2009-06-03 11:13:33 +00:00
buf.c * src/buf.c: avoid an XML attribute escaping bug #499791 2009-05-13 16:19:59 +00:00
buf.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
capabilities.c Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
capabilities.h Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
cgroup.c Fix cgroup compile warnings 2009-07-24 16:11:00 +01:00
cgroup.h Make QEMU cgroups use configurable 2009-07-23 17:38:06 +01:00
conf.c Allow leading dots in VMX config entry names 2009-07-27 14:21:17 +02:00
conf.h * src/conf.[ch]: restrict VMX syntax parsing types 2009-06-22 11:54:49 +00:00
console.c cleanup of some direct stderr logging 2009-05-20 13:37:30 +00:00
console.h Do conditional driver config in Makefile.am, not source files 2008-08-20 20:48:35 +00:00
datatypes.c Add bare format string to printf-derivatives troubles 2009-07-23 18:27:47 +02:00
datatypes.h Fix Win32 portability problems with 'inteface' symbol clash 2009-05-29 14:29:22 +00:00
domain_conf.c First version of the Power Hypervisor driver 2009-07-24 16:17:06 +02:00
domain_conf.h First version of the Power Hypervisor driver 2009-07-24 16:17:06 +02:00
domain_event.c QEMU domain event thread safety 2008-12-04 21:09:20 +00:00
domain_event.h QEMU domain event thread safety 2008-12-04 21:09:20 +00:00
driver.c Log dlopen() errors more verbosely 2009-05-08 10:05:56 +00:00
driver.h First version of the Power Hypervisor driver 2009-07-24 16:17:06 +02:00
event.c Add a virFreeCallback to event loop APIs 2008-11-19 16:24:01 +00:00
event.h Add a virFreeCallback to event loop APIs 2008-11-19 16:24:01 +00:00
gnutls_1_0_compat.h Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
hash.c maint: update list of error function names and adapt 2009-01-23 12:29:29 +00:00
hash.h Do conditional driver config in Makefile.am, not source files 2008-08-20 20:48:35 +00:00
interface_conf.c Add bare format string to printf-derivatives troubles 2009-07-23 18:27:47 +02:00
interface_conf.h Rename variable for compilation in Mingw32 (end) 2009-07-22 19:18:19 +02:00
interface_driver.c Activate the interface drivers, and cleanups 2009-07-21 16:15:39 +02:00
interface_driver.h Netcf based interface driver implementation 2009-07-21 16:02:16 +02:00
internal.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
iptables.c Replace use of qemudLog with logging.h APIs/macros 2009-03-03 11:40:08 +00:00
iptables.h always compile iptables.c 2008-11-07 16:43:23 +00:00
libvirt_bridge.syms Support networking in UML driver 2009-06-03 11:13:33 +00:00
libvirt_driver_modules.syms Move --with-driver-modules symbols into a separate sym file 2009-01-05 14:06:41 +00:00
libvirt_internal.h Add internal XML parsing/formatting flag 2009-07-22 11:34:05 +01:00
libvirt_linux.syms migrate linux-specific symbol names into their own sym file 2009-01-05 14:08:26 +00:00
libvirt_private.syms Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
libvirt_public.syms Public API for new virInterface functions 2009-07-16 17:49:50 +02:00
libvirt_win_icon_16x16.ico * configure.in, src/Makefile.am, src/virsh_win_icon.rc: 2008-10-15 18:39:34 +00:00
libvirt_win_icon_32x32.ico * configure.in, src/Makefile.am, src/virsh_win_icon.rc: 2008-10-15 18:39:34 +00:00
libvirt_win_icon_48x48.ico * configure.in, src/Makefile.am, src/virsh_win_icon.rc: 2008-10-15 18:39:34 +00:00
libvirt_win_icon_64x64.ico * configure.in, src/Makefile.am, src/virsh_win_icon.rc: 2008-10-15 18:39:34 +00:00
libvirt.c Don't allow NULL paths for BlockStats and InterfaceStats 2009-07-26 17:25:20 -04:00
logging.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
logging.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
lxc_conf.c Add virCapabilities*EmulatorRequired. 2009-06-16 15:27:33 +00:00
lxc_conf.h Refactor cgroups to allow a group per driver to be managed directly 2009-07-23 17:38:06 +01:00
lxc_container.c Reduce LXC capabilities 2009-06-29 17:09:42 +00:00
lxc_container.h Use a private /dev/pts instance in containers if kernel is new enough 2009-04-22 14:26:50 +00:00
lxc_controller.c Refactor cgroups to allow a group per driver to be managed directly 2009-07-23 17:38:06 +01:00
lxc_driver.c Implement schedular tunables API using cgroups 2009-07-23 17:38:06 +01:00
lxc_driver.h Do conditional driver config in Makefile.am, not source files 2008-08-20 20:48:35 +00:00
Makefile.am Add support for VBox 3 and event callbacks on vbox 2009-07-24 18:12:16 +02:00
memory.c Use a versioned linker script 2008-11-17 11:03:25 +00:00
memory.h Use a versioned linker script 2008-11-17 11:03:25 +00:00
network_conf.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
network_conf.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
network_driver.c Report the object name on lookup error 2009-07-08 12:01:35 +02:00
network_driver.h Split network driver out into separate files 2008-10-10 13:57:13 +00:00
node_device_conf.c * src/node_device_conf.c: fix a leak, patch by Dave Allan 2009-06-25 14:51:21 +00:00
node_device_conf.h Include OS driver name (if any) in device XML for nodedev driver 2009-06-12 13:12:55 +00:00
node_device_devkit.c Remove use of getuid()==0 for privilege checks 2009-06-12 13:20:13 +00:00
node_device_hal_linux.c * src/node_device.c src/node_device_hal.h src/node_device_hal_linux.c: 2009-06-26 14:09:01 +00:00
node_device_hal.c Remove use of getuid()==0 for privilege checks 2009-06-12 13:20:13 +00:00
node_device_hal.h * src/node_device.c src/node_device_hal.h src/node_device_hal_linux.c: 2009-06-26 14:09:01 +00:00
node_device.c Report the object name on lookup error 2009-07-08 12:01:35 +02:00
node_device.h fix a module dependency problem 2009-06-17 08:38:17 +00:00
nodeinfo.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
nodeinfo.h Generic shared impls of all NUMA apis 2009-06-03 13:28:02 +00:00
openvz_conf.c Generic shared impls of all NUMA apis 2009-06-03 13:28:02 +00:00
openvz_conf.h Add support for a non-template filesystem root. (Florian Vichot) 2009-03-24 10:59:13 +00:00
openvz_driver.c Improve error reporting for virConnectOpen URIs 2009-06-12 12:06:15 +00:00
openvz_driver.h Convert openvz driver to generic domain XML APIs 2008-09-05 14:10:58 +00:00
parthelper.c storage: disk: Fix parthelper '-g' option handling. 2009-07-16 12:52:51 -04:00
pci.c Fix free of unitialized data upon PCI open fail 2009-07-16 13:57:44 +01:00
pci.h implements dettach, reattach and reset for PCI devices 2009-03-02 16:18:11 +00:00
proxy_internal.c Add pidfile argument to __virExec 2009-05-11 13:50:38 +00:00
proxy_internal.h Prefer xenstore driver for listDomains, since xen HV reports ghost ids of 2008-11-28 15:25:04 +00:00
qemu_conf.c Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
qemu_conf.h Make QEMU cgroups use configurable 2009-07-23 17:38:06 +01:00
qemu_driver.c Don't allow NULL paths for BlockStats and InterfaceStats 2009-07-26 17:25:20 -04:00
qemu_driver.h Optional dlopen support for drivers 2008-11-21 12:16:08 +00:00
qemu.conf Make QEMU cgroups use configurable 2009-07-23 17:38:06 +01:00
qparams.c qparams.c: Use virReportOOMError(NULL), not qparam_report_oom() 2009-01-28 16:13:46 +00:00
qparams.h convert TAB-based indentation in C sources to use only spaces 2008-04-10 16:54:54 +00:00
remote_internal.c Implement the new virinterface functions 2009-07-16 17:58:15 +02:00
remote_internal.h Allow remote://hostname/ style URIs for automatic driver probe. Fix virGetVersion impl 2008-11-28 12:03:20 +00:00
security_selinux.c Don't restore labels on shared/readonly disks 2009-07-23 16:26:25 +01:00
security_selinux.h SELinux security driver for sVirt support (James Morris, Dan Walsh & Daniel Berrange) 2009-03-03 10:06:49 +00:00
security.c Fix crash in svirt verification, and incorrect cleanup in VM failure paths 2009-04-03 14:10:17 +00:00
security.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
sexpr.c error-reporting calls using VIR_ERR_NO_MEMORY: use virReportOOMError instead 2009-01-29 12:10:32 +00:00
sexpr.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
stats_linux.c error-reporting calls using VIR_ERR_NO_MEMORY: use virReportOOMError instead 2009-01-29 12:10:32 +00:00
stats_linux.h convert TAB-based indentation in C sources to use only spaces 2008-04-10 16:54:54 +00:00
storage_backend_disk.c storage: Implement CreateVolFrom for logical and disk backend. 2009-07-16 12:52:52 -04:00
storage_backend_disk.h remove Vim and Emacs variable settings from C source files 2008-04-10 16:53:29 +00:00
storage_backend_fs.c Fix typo in check for glusterfs format pools 2009-07-21 12:49:44 -04:00
storage_backend_fs.h remove Vim and Emacs variable settings from C source files 2008-04-10 16:53:29 +00:00
storage_backend_iscsi.c SCSI HBA storage pool implementation (Dave Allan) 2009-04-01 16:03:22 +00:00
storage_backend_iscsi.h remove Vim and Emacs variable settings from C source files 2008-04-10 16:53:29 +00:00
storage_backend_logical.c storage: Implement CreateVolFrom for logical and disk backend. 2009-07-16 12:52:52 -04:00
storage_backend_logical.h remove Vim and Emacs variable settings from C source files 2008-04-10 16:53:29 +00:00
storage_backend_scsi.c * src/storage_backend_scsi.[ch]: add SCSI storage rescan support, 2009-04-07 12:50:17 +00:00
storage_backend_scsi.h * src/storage_backend_scsi.[ch]: add SCSI storage rescan support, 2009-04-07 12:50:17 +00:00
storage_backend.c Add bare format string to printf-derivatives troubles 2009-07-23 18:27:47 +02:00
storage_backend.h storage: cleanup: do away with 'createFile' 2009-07-16 12:52:52 -04:00
storage_conf.c storage: disk: Default to 'ext2' for new volumes. 2009-07-16 12:52:52 -04:00
storage_conf.h Add new net filesystem glusterfs 2009-07-08 11:46:25 +02:00
storage_driver.c storage: Fix deadlock when cloning across pools. 2009-07-16 12:52:52 -04:00
storage_driver.h remove Vim and Emacs variable settings from C source files 2008-04-10 16:53:29 +00:00
test.c test: Implement BlockStats and InterfaceStats 2009-07-26 17:26:15 -04:00
test.h Do conditional driver config in Makefile.am, not source files 2008-08-20 20:48:35 +00:00
threads-pthread.c Generic internal threads API 2009-01-15 19:56:05 +00:00
threads-pthread.h Generic internal threads API 2009-01-15 19:56:05 +00:00
threads-win32.c Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
threads-win32.h Generic internal threads API 2009-01-15 19:56:05 +00:00
threads.c Generic internal threads API 2009-01-15 19:56:05 +00:00
threads.h Generic internal threads API 2009-01-15 19:56:05 +00:00
uml_conf.c Generic shared impls of all NUMA apis 2009-06-03 13:28:02 +00:00
uml_conf.h Remove use of getuid()==0 for privilege checks 2009-06-12 13:20:13 +00:00
uml_driver.c Use libcap-ng to clear capabilities for many child processes 2009-06-29 17:00:52 +00:00
uml_driver.h Add an initial User Mode Linux Driver 2008-11-19 16:58:23 +00:00
util.c Implement schedular tunables API using cgroups 2009-07-23 17:38:06 +01:00
util.h Implement schedular tunables API using cgroups 2009-07-23 17:38:06 +01:00
uuid.c Replace use of qemudLog with logging.h APIs/macros 2009-03-03 11:40:08 +00:00
uuid.h convert TAB-based indentation in C sources to use only spaces 2008-04-10 16:54:54 +00:00
veth.c Rename variable for compilation in Mingw32 (end) 2009-07-22 19:18:19 +02:00
veth.h Rename variable for compilation in Mingw32 (end) 2009-07-22 19:18:19 +02:00
virsh_win_icon.rc * configure.in, src/Makefile.am, src/virsh_win_icon.rc: 2008-10-15 18:39:34 +00:00
virsh.c Implement schedular tunables API using cgroups 2009-07-23 17:38:06 +01:00
virterror_internal.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
virterror.c First version of the Power Hypervisor driver 2009-07-24 16:17:06 +02:00
xen_inotify.c Convert all drivers to use old-style struct initializers; this makes a handy 2009-03-31 15:47:16 +00:00
xen_inotify.h Fix return type for Xen open subdriver method impl (John Levon) 2008-12-17 21:26:16 +00:00
xen_internal.c Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
xen_internal.h Least privilege support for Solaris 2009-01-22 17:49:41 +00:00
xen_unified.c extend the configuration parser for VMX syntax 2009-06-19 12:34:30 +00:00
xen_unified.h Basic domain XML conversions for Xen/QEMU drivers 2009-05-21 14:14:01 +00:00
xend_internal.c Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
xend_internal.h Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
xm_internal.c extend the configuration parser for VMX syntax 2009-06-19 12:34:30 +00:00
xm_internal.h Remove use of static data in Xen XM driver 2009-01-20 17:34:56 +00:00
xml.c Core internal driver stub for sVirt support (Jams Morris & Dan Walsh) 2009-03-03 09:44:41 +00:00
xml.h Core internal driver stub for sVirt support (Jams Morris & Dan Walsh) 2009-03-03 09:44:41 +00:00
xs_internal.c Convert all drivers to use old-style struct initializers; this makes a handy 2009-03-31 15:47:16 +00:00
xs_internal.h Make xen driver threadsafe 2009-01-21 18:11:14 +00:00