Commit Graph
471 Commits
Author SHA1 Message Date
Keir Fraser b7eaaa90a1 Add missing file from previous changeset. 2007-12-12 10:03:09 +00:00
Keir Fraser 5ccf17bd71 docs: Adjust revision number in Xen-API document and introduce revision history.
This patch adjusts the revision number to 1.0.1 and date in the
Xen-API document and introduces a revision history with entries for
1.0.0 and 1.0.1.

Signed-off-by: Stefan Berger <stefanB@us.ibm.com>
2007-12-12 09:59:53 +00:00
Keir Fraser 7d6b2ecfac xend, acm: Extend Xen-API with function to reset the policy
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>
2007-12-12 09:57:55 +00:00
Keir Fraser c5f554d5c1 xenstore: document the xenstore protocol
The attached patch adds a new text file docs/misc/xenstore.txt which
describes the actual protocol implemented by xenstored.  This was
reverse-engineered from the actual code in tools/xenstore.

I didn't bother making any automatic arrangements to ensure that the
implemented and documented protocols are kept in step (for example,
automatic code generation, etc.)  The protocol is rather messy
unfortunately and unsuitable for an xdr approach, and in any case is
not likely to change very quickly.

Also in this patch are a couple of comments for xenstored_core.c which
help clarify the behaviour of some payload parsing helper functions.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2007-12-05 11:08:07 +00:00
Keir Fraser 2866a90337 [USER GUIDE] [ACM/sHype Update] User Guide Update for sHype/Xen
This patch updates the ACM/sHype user guide chapter. It updates the
examples throughout the chapter and describes advanced security policy
and domain management based on the new ACM xm command extensions that
were submitted this morning (cf.
http://lists.xensource.com/archives/html/xen-devel/2007-12/msg00043.html
and
http://lists.xensource.com/archives/html/xen-devel/2007-12/msg00041.html).

Signed-off: Reiner Sailer <sailer@us.ibm.com>
2007-12-05 10:00:42 +00:00
Keir Fraser 0ea4d2fb34 Implement legacy XML-RPC interface for ACM commands.
This patch implements a (non Xen-API) legacy XML-RPC interface for the
ACM commands and funnels the calls into code introduced by the Xen-API
support for ACM security management. Since some of the functionality
has changed, also the xm applications have changed. In particular the
following old commands have been removed along with some tools the
have become obsolete now:

- loadpolicy    (included in: setpolicy)
- makepolicy    (included in: setpolicy)
- cfgbootpolicy (included in: setpolicy)

and the following commands been introduced:

- setpolicy
- getpolicy
- resetpolicy

All tools have been adapted to work in Xen-API and legacy XML-RPC
mode. Both modes support the same functionality.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-12-05 09:44:20 +00:00
Keir Fraser f2399a9231 docs: Fix interface manual to correctly reference
update_va_mapping_otherdomain.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2007-12-04 11:16:41 +00:00
Keir Fraser d0206a01a8 Users manual updates:
1) PAE as 32-bit Xen default
 2) IA64 and Power are supported
 3) AMD Virtualization is supported
 4) Add console_timestamps boot param

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
2007-11-06 09:41:57 +00:00
Keir Fraser 437891b12b vt-d: add a vt-d howto setup document
docs/misc/vtd.txt is a vt-d how-to document that should answer
questions about how to use vt-d with latest Xen.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
2007-10-25 09:27:00 +01:00
Alex Williamson 34070c37f5 [IA64] Don't share privregs with hvm domain
Don't share privregs with hvm domain and twist IA64 xen dump core format
slightly.  Xen shares privregs pages with IA64 HVM domain for xm dump-core
to dump the pages.  However sharing the page allows hvm guest domain
peek/destroy the page contents that might cause xen crash.  And the xen
dump core file doesn't need privregs page because cpu context should be
obtained from vcpu context in case of IA64 HVM domain.

Although this patch modify xen dump core format, current crash utility
(at least crash 4.0-4.7) doesn't look into .xen_ia64_mmapped_regs section
and I don't know any other tools to understand xen dump core file.
So this format modification doesn't cause incompatibility issue.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-10-22 12:26:53 -06:00
Keir Fraser 07f557cb63 Replace sysctl.physinfo.sockets_per_node with more directly useful
sysctl.physinfo.nr_cpus. This also avoids miscalculation of
sockets_per_node by Xen where the number of CPUs in the system is
clipped.
From: Elizabeth Kon <eak@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-10-19 18:00:10 +01:00
Keir Fraser 1a55b4207e [vTPM] Add set/get_other_config to Xen-API.
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>
2007-10-11 09:41:16 +01:00
Keir Fraser 8950f5c6ba Extend 'xm dumppolicy' to support Xen-API
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>
2007-10-03 14:04:51 +01:00
kfraser@localhost.localdomain 6c6ce908aa docs: Fix typos.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
2007-09-12 09:43:33 +01:00
kfraser@localhost.localdomain 9ac422f0e2 Update dump-core-foramt.txt documentation.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-08-30 15:00:49 +01:00
kfraser@localhost.localdomain 3eb4247336 [MAN] Explanation of recent extensions to xm security subcommands
Signed-off-by: Stefan Berger <stefanb@usa.ibm.com>
2007-07-19 17:18:20 +01:00
kfraser@localhost.localdomain 0ba976c0c8 Update xen-api docs.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-07-19 17:00:31 +01:00
kfraser@localhost.localdomain 8c3b910735 [Docs] Documentation of extension of the Xen-API for managing security policies
Provides an extension to the Xen-API documentation with the classes
and methods implemented for supporting of managing security policies
using the Xen-API.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-07-12 10:06:44 +01:00
kfraser@localhost.localdomain 07f3760888 Xen API specification improvements.
Move the error list to be more prominent, and explicitly document
which generic error codes can be returned by all methods.

Mark host CPU flags/features return value as unspecified.

Document PERMISSION_DENIED.

Document error returns of session.login_with_password.

Signed-off-by: John Levon <john.levon@sun.com>
2007-07-10 10:22:41 +01:00
kfraser@localhost.localdomain 49562f1285 docs: update xm man page
- Fixed description of "Mem" column in "xm list" output.
- Added a bit of text for the credit scheduler.
- Described the --force option to block-detach.
- Made formatting and spelling more consistent.
- etc...

Signed-off-by:  Charles Coffing <ccoffing@novell.com>
2007-07-06 14:45:02 +01:00
kfraser@localhost.localdomain 2f081add3e x86: Re-introduce VIDEO_CURRENT_MODE into video.S video-mode-setting
code, and make visible at the command line via 'vga=current'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-19 15:09:59 +01:00
Keir Fraser 1d48812d23 docs: Fix docs install when graphvix is not installed.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-18 12:11:36 +01:00
kfraser@localhost.localdomain c2c3a1c11e Update docs for 'edd=' boot option.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-14 18:01:07 +01:00
kfraser@localhost.localdomain b2023adb2e x86: Fix VBE EDID interrogation. Add a new boot option 'edid={no,force}'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-12 11:04:27 +01:00
Keir Fraser 21b1fa66ed docs: Update for new 'vga=' boot option syntax.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-10 19:29:32 +01:00
ewan@localhost.localdomain 05c35c5e14 Bump all API version numbers to 1.0.0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-27 18:53:23 -07:00
kfraser@localhost.localdomain e101034b6c Remove non-ASCII chars in man page.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
2007-04-26 09:52:34 +01:00
kfraser@localhost.localdomain 8c706ec28d acm: Changes to XML schema of the policy
This patch changes the XML schema of the ACM policy to require a
version and that every conflict set have a name. Every VM label must
have one Chinese Wall Type and every resource label one Simple Type
Enforcement Type. As a consequence of this some example policies
needed to be changed. Also not offering that many configuration
options for compiling xen anymore to make things simpler.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-25 09:31:52 +01:00
ewan@localhost.localdomain e969c5b9ee API version to 0.9.1.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-21 14:12:09 -07:00
ewan@localhost.localdomain 8426955edc Added documentation and C bindings for VM.migrate call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 16:12:33 -04:00
ewan@localhost.localdomain f01fa26a0f Added host.enabled flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 16:10:39 -04:00
Ewan Mellor 7371dd7b91 Added documentation, C bindings, and test for VM_metrics.VCPUs_flags.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-13 18:14:06 +01:00
Ewan Mellor 3bd8ff8dd1 Added documentation and C bindings for VBD. and VIF.runtime_properties.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-12 22:49:02 +01:00
Ewan Mellor b0766f3da2 Add documentation and C bindings for VM.add_to_VCPUs_params_live,
VM.set_memory_dynamic_{min,max}_live.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-11 22:24:30 +01:00
Ewan Mellor 3e1494d774 Added documentation and bindings for host_cpu.features.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-11 21:55:05 +01:00
Ewan Mellor f6fe1a0991 Added docs and bindings for VM_metrics.state.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-10 19:04:37 +01:00
Ewan Mellor 9853a49dd9 Added docs and bindings for VM.{send_trigger,send_sysrq}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-10 17:29:16 +01:00
Ewan Mellor eb0639b38e Avoid using the multicol package.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-10 17:26:45 +01:00
Ewan Mellor 6492f2ffbf Added documentation, C bindings, and a test for VM_metrics.{start_time,
VCPUs_CPU,VCPUs_params}.

Changed VM_metrics.start_time to be a DateTime, not an integer.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-09 17:09:21 +01:00
Ewan Mellor 668fbded84 Make host.sched_policy read-only. Added docs, bindings, and a test for
host.cpu_configuration and host.sched_policy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-09 12:20:35 +01:00
Ewan Mellor 1a2d0aa902 Added bindings and documentation for host.send_debug_keys and host.get_log.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-09 11:39:27 +01:00
Ewan Mellor 0e20ef60f8 Add bindings and docs for the host.dmesg_clear call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-08 23:03:16 +01:00
Ewan Mellor 5fb2ecad2b Added copyright statement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-05 17:26:51 +01:00
Ewan Mellor 970381ebbc Update the datamodel class diagram, and use neato rather than dot, which gives
a much better result.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-05 17:22:22 +01:00
Ewan Mellor 4355ccfe18 Update cover text. API version 0.9.0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-05 15:41:04 +01:00
Ewan Mellor 8f38cefadc Remove task.error_code -- it's redundant, as we can use the first element of
task.error_info instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-05 13:35:54 +01:00
Ewan Mellor fccf5da0dd Expose the method-listing call as host.list_methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 18:42:20 +01:00
Ewan Mellor 3a7400aa86 Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 15:00:57 +01:00
Ewan Mellor 5adf114d68 Remove docs and bindings for unimplemented SR.{create,destroy,clone}.
Implement PBD class, matching existing docs and bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 14:49:38 +01:00
kfraser@localhost.localdomain c6c944eabd hvm hap: Add hap option to user's manual.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
2007-04-02 13:06:48 +01:00