libvirt/src/xen
Eric Blake 50c51f13e2 vcpu: make old API trivially wrap to new API
Note - this wrapping is completely mechanical; the old API will
function identically, since the new API validates that the exact
same flags are provided by the old API.  On a per-driver basis,
it may make sense to have the old API pass a different set of flags,
but that should be done in the per-driver patch that implements
the full range of flag support in the new API.

* src/esx/esx_driver.c (esxDomainSetVcpus, escDomainGetMaxVpcus):
Move guts...
(esxDomainSetVcpusFlags, esxDomainGetVcpusFlags): ...to new
functions.
(esxDriver): Trivially support the new API.
* src/openvz/openvz_driver.c (openvzDomainSetVcpus)
(openvzDomainSetVcpusFlags, openvzDomainGetMaxVcpus)
(openvzDomainGetVcpusFlags, openvzDriver): Likewise.
* src/phyp/phyp_driver.c (phypDomainSetCPU)
(phypDomainSetVcpusFlags, phypGetLparCPUMAX)
(phypDomainGetVcpusFlags, phypDriver): Likewise.
* src/qemu/qemu_driver.c (qemudDomainSetVcpus)
(qemudDomainSetVcpusFlags, qemudDomainGetMaxVcpus)
(qemudDomainGetVcpusFlags, qemuDriver): Likewise.
* src/test/test_driver.c (testSetVcpus, testDomainSetVcpusFlags)
(testDomainGetMaxVcpus, testDomainGetVcpusFlags, testDriver):
Likewise.
* src/vbox/vbox_tmpl.c (vboxDomainSetVcpus)
(vboxDomainSetVcpusFlags, virDomainGetMaxVcpus)
(virDomainGetVcpusFlags, virDriver): Likewise.
* src/xen/xen_driver.c (xenUnifiedDomainSetVcpus)
(xenUnifiedDomainSetVcpusFlags, xenUnifiedDomainGetMaxVcpus)
(xenUnifiedDomainGetVcpusFlags, xenUnifiedDriver): Likewise.
* src/xenapi/xenapi_driver.c (xenapiDomainSetVcpus)
(xenapiDomainSetVcpusFlags, xenapiDomainGetMaxVcpus)
(xenapiDomainGetVcpusFlags, xenapiDriver): Likewise.
(xenapiError): New helper macro.
2010-10-19 10:03:33 -06:00
..
block_stats.c Fix block statistics with newer versions of Xen 2010-09-10 15:57:35 +02:00
block_stats.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
proxy_internal.c maint: mark translatable string args of VIR_ERROR0 2010-05-20 21:36:25 +02:00
proxy_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
sexpr.c Fix Xen SEXPR generation to properly quote strings containing () 2010-10-13 16:42:48 +01:00
sexpr.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xen_driver.c vcpu: make old API trivially wrap to new API 2010-10-19 10:03:33 -06:00
xen_driver.h Implement virDomainUpdateDeviceFlags API in all drivers with media change 2010-03-26 14:17:34 +00:00
xen_hypervisor.c xen: Fix scheduler setting problems 2010-08-18 17:32:31 +02:00
xen_hypervisor.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xen_inotify.c xen: Remove virConnectPtr from virXenInotifyError 2010-04-06 01:46:42 +02:00
xen_inotify.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
xend_internal.c XML parsing for memory tunables 2010-10-12 19:26:09 +02:00
xend_internal.h xen: Remove unused function 2010-05-27 14:16:47 -04:00
xm_internal.c XML parsing for memory tunables 2010-10-12 19:26:09 +02:00
xm_internal.h maint: make Red Hat copyright notices consistent 2010-03-18 16:48:05 +01:00
xs_internal.c xen: Remove virConnectPtr from virXenStoreError 2010-04-06 01:46:02 +02:00
xs_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00