aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/include
Commit message (Collapse)AuthorAgeFilesLines
* tools: Remove old vtpm stuff from tools/libxenMatthew Fioravante2012-11-194-259/+0
| | | | | | Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* Remove unmaintained Access Control Module (ACM) from hypervisor.Keir Fraser2011-03-251-132/+0
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* cpupools [3/6]: libxen changesKeir Fraser2010-04-216-1/+512
| | | | Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
* libxen: XSPolicy.can_run for libxenKeir Fraser2008-04-012-12/+21
| | | | | | | | Add the stub and prototype for the XSPolicy.can_run function to the lib-xen library. I also fixed some prototypes that had missing 'extern's. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* (Re)introduce notion of crashed VM power state.Keir Fraser2008-01-251-0/+5
| | | | | | | The crashed power state is necessary to allow both core-dumping a crashed but preserved VM and renaming/restarting a crashed VM. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
* libxen: Fix function prototype.Keir Fraser2008-01-151-1/+1
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xend, acm: Extend Xen-API with function to reset the policyKeir Fraser2007-12-121-0/+13
| | | | | | | | | | | | This patch extends the Xen-API and the legacy XML-RPC interface with a function to reset the policy on the system (through an update with the default policy). I adapted the code in 'xm resetpolicy' to use this now. This patch also extends libxen and the documentation to reflect the new function. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [vTPM] Add set/get_other_config to Xen-API.Keir Fraser2007-10-111-0/+19
| | | | | | | | | Add get_- and set_other_config methods to the vTPM class. Write the parameters into the xenstore while the domain is running prefixing it with 'oc_'. Also I add the methods to the C library as well as the documentation. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Extend 'xm dumppolicy' to support Xen-APIKeir Fraser2007-10-031-1/+16
| | | | | | | | | | | | | I am extending 'xm dumppolicy' to be used via the Xen-API. For this there are two new functions in the ACM policy class: - get the currently enforced policy including statistical data from the hypervisor - get the ACM 'ssidref' of a Domain. Since this may be a ACM-specific variable or type (int) I put it into the ACM class. I extended the Xen-API documentation with the two new functions. Signed-off-by: Stefan Berger <Stefanb@us.ibm.com>
* xenapi: add xen_xspolicy.h to libxen includes fileKeir Fraser2007-09-261-0/+1
| | | | Signed-off by: Reiner Sailer <sailer@us.ibm.com>
* [xend / libxen] Add support for labeling of virtual network interfaces.kfraser@localhost.localdomain2007-07-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds labeling of virtual network interfaces to xend and makes this manageable through the Xen-API. It's a feature that is only usable if ACM is enabled in Xen and xend is used through the xen-api. A labeled virtual network interface will be plugged into a bridge where other domains with the same-labeled network interface are connected to, so that only same-colored domains can communicate with each other. The bridge should be connected to the outside world using VLAN for isolation, extending the isolation beyond the local machine. If a virtual machine is labeled with a VM label that only has one Simple Type Enforcement Type then it is not necessary to label the virtual network interface, but the color of the network interface is determined from the VM's label. If, however, a virtual machine is labeled with a VM label that has multiple Simple Type Enforcement Types, then the explicit labeling of each virtual network interface is required. To specify the label of a network interface, the vif line in the VM's configuration file has been extended with parameters similar use for specifying the label of the VM: vif = ['policy=<policy name>,label=<resource label>'] This labels the VIF of the virtual machine for usage under the policy 'policy name' and labels it with the label 'resource label'. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [libxen] C-bindings for the extensions of the Xen-API for managing security ↵kfraser@localhost.localdomain2007-07-105-0/+446
| | | | | | policies Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Move all internal header files to a separate directory, so that it's clear whatewan@localhost.localdomain2007-04-2164-194/+225
| | | | | | | | forms the public API. Tidy up a couple of macros in xen_internal.h. Remove test_hvm_bindings, which no longer builds, and which has had its functionality subsumed into test_bindings. Bump the library version to 0.9. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added xen_session_clear_error.ewan@localhost.localdomain2007-04-161-0/+7
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and C bindings for VM.migrate call.ewan@localhost.localdomain2007-04-161-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.enabled flag.ewan@localhost.localdomain2007-04-161-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation, C bindings, and test for VM_metrics.VCPUs_flags.Ewan Mellor2007-04-133-0/+63
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and C bindings for VBD. and VIF.runtime_properties.Ewan Mellor2007-04-122-2/+18
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add documentation and C bindings for VM.add_to_VCPUs_params_live,Ewan Mellor2007-04-111-0/+22
| | | | | | VM.set_memory_dynamic_{min,max}_live. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and bindings for host_cpu.features.Ewan Mellor2007-04-111-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added docs and bindings for VM_metrics.state.Ewan Mellor2007-04-101-0/+9
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added docs and bindings for VM.{send_trigger,send_sysrq}.Ewan Mellor2007-04-101-0/+17
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation, C bindings, and a test for VM_metrics.{start_time,Ewan Mellor2007-04-093-0/+80
| | | | | | | | VCPUs_CPU,VCPUs_params}. Changed VM_metrics.start_time to be a DateTime, not an integer. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Make host.sched_policy read-only. Added docs, bindings, and a test forEwan Mellor2007-04-091-0/+16
| | | | | | host.cpu_configuration and host.sched_policy. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added bindings and documentation for host.send_debug_keys and host.get_log.Ewan Mellor2007-04-091-0/+14
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add bindings and docs for the host.dmesg_clear call.Ewan Mellor2007-04-081-2/+9
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Expose the method-listing call as host.list_methods.Ewan Mellor2007-04-041-0/+7
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.Ewan Mellor2007-04-041-15/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove docs and bindings for unimplemented SR.{create,destroy,clone}.Ewan Mellor2007-04-041-21/+7
| | | | | | Implement PBD class, matching existing docs and bindings. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added asynchronous event notification through the Xen-API. Added a new command,Ewan Mellor2007-03-294-0/+246
| | | | | | | xm event-monitor, a new test program for the C bindings, and new bindings themselves. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added network.other_config map. To make this easier, add a new automaticEwan Mellor2007-03-271-0/+33
| | | | | | | plumbing facility from the XendNetwork class into XendAPI (credit to Tom Wilkie for the idea). Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implement session.last_active, session.this_host, session.get_record,Ewan Mellor2007-03-261-3/+62
| | | | | | session.get_uuid. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added C bindings and docs for recent addition VM.set_VCPUs_number_live.Ewan Mellor2007-03-251-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Don't use the client-side shortcut for get_uuid calls -- we need to keepEwan Mellor2007-03-231-3/+3
| | | | | | handles and UUIDs conceptually separate. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add a last_updated field to every metrics class.Ewan Mellor2007-03-236-0/+48
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VDI.location with a more generic VDI.other_config map. RemoveEwan Mellor2007-03-172-11/+34
| | | | | | | | VDI.sector_size. Xend work by Tom Wilkie <tom.wilkie@gmail.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Match recent removal of VM.VCPUs_policy.Ewan Mellor2007-03-141-15/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} withEwan Mellor2007-03-101-50/+12
| | | | | | | | | | | | | a single VM.platform String -> String Map. Propogate this change through to XendDomainInfo and image so that the backwards compatibility is handled by XendConfig. Make PCI_bus a read-write field. Added C bindings for these changes also. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VDI.set_SR -- this was always unimplemented, and pretty mad.Ewan Mellor2007-03-091-7/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Move the booting description out of the VM class description into the VMEwan Mellor2007-03-091-33/+0
| | | | | | Lifecycle section of the doc. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added {VIF,VBD}.{plug,unplug} methods. Docs and C bindings -- Xend to follow.Ewan Mellor2007-03-082-0/+32
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove crashdump.create -- this doesn't make sense.Ewan Mellor2007-03-081-15/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix missing bits of the docs from cset 14020, and match that change by removingEwan Mellor2007-02-273-28/+2
| | | | | | the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs andEwan Mellor2007-02-2713-4/+95
| | | | | | | bindings for many of the get_all methods elsewhere that Xend already implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added some more fields to host_cpu.Ewan Mellor2007-02-271-17/+19
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove unused network.default_{gateway,netmask}.Ewan Mellor2007-02-261-33/+3
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.capabilities field.Ewan Mellor2007-02-251-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VM.tools_version with a richer VM_guest_metrics class.Ewan Mellor2007-02-253-8/+266
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and C bindings for VBD/VIF.status_detail, status_code, andEwan Mellor2007-02-252-0/+48
| | | | | | currently_attached fields. Not yet implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added a VM.domid field.Ewan Mellor2007-02-251-0/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>