Commit Graph
4804 Commits
Author SHA1 Message Date
kaf24@localhost.localdomain 64559068e4 Older versions of as86 (<=0.16.0) require macro arguments to be bracketed.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-30 14:20:00 +00:00
Ewan Mellor a417e6aaaf Added backreference from PIF_metrics to PIF, and added a uuid to the session
record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:53:44 +00:00
Ewan Mellor 4704ee8540 Added uuid to the PIF_metrics record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:52:03 +00:00
Ewan Mellor f397e61b89 Added uuid to the PIF record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:51:45 +00:00
Ewan Mellor e9363fa86b Added host_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:46:46 +00:00
Ewan Mellor 93775fde38 Added modelling and C bindings for crashdumps, and suspend VDIs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 12:43:40 +00:00
kaf24@localhost.localdomain 2bc69bd7d9 new domain builder fix to boot domU on IA64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-01-30 13:52:52 +00:00
Ian Campbell 0a957ea75a Push the target to build foreign headers into tools and xen
directories.  This allows those directories to be built independently
without relying on the toplevel Makefile.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-30 13:46:48 +00:00
kaf24@localhost.localdomain 5d63cf3871 Fix passing keymap parameter to xen-vncfb.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
2007-01-30 13:42:19 +00:00
kaf24@localhost.localdomain 7883dce659 xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-30 13:39:37 +00:00
Ewan Mellor f1efb233c1 Added host.logging, to hold server-side logging configuration.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 12:31:20 +00:00
Alastair Tse 52c24132c3 [XEND] Fix bootable flag bypass in XendConfig
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-30 11:56:27 +00:00
Alastair Tse 9fd37a7622 [XEND] Unparsable VLAN numbers should default to -1
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-30 11:37:18 +00:00
Ewan Mellor 4708b773f5 Set the log level back to WARN, reverting accidentally committed change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 11:14:23 +00:00
Ewan Mellor 9057060b19 Added host.other_config.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 01:23:58 +00:00
Ewan Mellor 2ee3755575 Remove XEN_API_CPU_FEATURE enum.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:36:43 +00:00
Ewan Mellor e9ee2b1071 Remove VM.actions_after_suspend, which never made any sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:34:31 +00:00
Ewan Mellor ff9fb017b3 Remove the CPU feature handling, unimplementable as it stands.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:10:05 +00:00
Ewan Mellor bc1f80dd2c Move the io bandwidth fields from PIF onto a new PIF_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 19:00:48 +00:00
Ewan Mellor 32890a0e31 Fix documentation so that the connection objects (PIF, VBD, and VIF) are
connected to their referands through StaticRO fields.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 14:52:27 +00:00
Ewan Mellor 4ba0f770be Added missing PBD-related C bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 13:18:20 +00:00
Ewan Mellor 3c828fdc18 Added modelling and C bindings for the PBD class. PBDs are the analogue of
PIFs, indicating how an SR is attached to a host.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 13:17:53 +00:00
Ewan Mellor 667ba0a809 Update doc-comments.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:53:18 +00:00
Ewan Mellor 8ed82355a0 Remove the VDI.parent and VDI.children fields -- this needs more thinking out,
and cannot be supported in this form.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:19:40 +00:00
Ewan Mellor 22309ac566 Rename VM.otherConfig to VM.other_config, for consistency with the other fields,
and implement add_to_other_config and remove_from_other_config in the C
bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:11:13 +00:00
Ewan Mellor fbe0a45886 Remove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was never
correct, and the values are best left implicit.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 00:05:40 +00:00
Ewan Mellor c7f15f456a Added TASK_HANDLE_INVALID to the messages file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:06:21 +00:00
Ewan Mellor 02f22726b5 Tidy up the VBD API calls.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:05:59 +00:00
Ewan Mellor 6a288c4b02 Match recent changes to the task class in XenAPI with the get_record call here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:39:17 +00:00
Ewan Mellor fcbd69e648 Fix bootloader handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:38:47 +00:00
Ewan Mellor 1e382e1113 Fix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
through the AsyncProxy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:37:42 +00:00
Ewan Mellor 063417a54b Add task.allowed_operations field, and task.cancel message. The
task_status_type enum has gained cancelling and cancelled values.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:05:13 +00:00
Ewan Mellor e9d603068b Made task.name_* read-only (these are set by Xend) and drop task.eta.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:33:50 +00:00
Ewan Mellor e0ad524018 Make session.this_host and session.this_user ROrun -- they are implicitly set
by a call to session.login_with_password, and cannot be created through a
constructor.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:21:37 +00:00
Ewan Mellor bdafeefd69 Added a VBD.bootable flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:11:40 +00:00
Ewan Mellor f3ca404628 Fix interface_name() after change of definition for the vlan field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 15:55:55 +00:00
Ewan Mellor bd16434c05 Document existing PIF.create_VLAN, and remove PIF.create (PIFs are implicitly
created from the physical host configuration).

Change PIF.name to PIF.device, for consistency with other uses, and make
PIF.VLAN an int.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 13:40:07 +00:00
kfraser@localhost.localdomain d0ee673709 Fix 'xm create' and 'xm start' when SEDF scheduler is used.
If the Xen is running with the sedf scheduler, the following functions
do not call the domain_sched_credit_set().
 - domain_create()
 - domain_create_from_dict()
 - domain_start()

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-29 10:55:20 +00:00
kaf24@localhost.localdomain 6696b4ae89 Fix firmware compile on Solaris.
Use $(LD) not ld. Include right headers for x86 ELF bits.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-28 18:45:04 +00:00
kaf24@localhost.localdomain ab8a76bc76 To avoid problems (hang) when doing migration, the Console Controller
needs to implement a (dummy) migrate method.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-28 09:47:22 +00:00
kaf24@localhost.localdomain 455ce559c5 Allow 'xm create' to set scheduling parameters.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-28 09:37:18 +00:00
kaf24@localhost.localdomain 4e109e6d68 Reject xm sched-* comands for other than the in-use scheduler.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-28 09:35:00 +00:00
kaf24@localhost.localdomain fa4af86617 Fix xentop error return code if passed unrecognised options.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-28 09:33:47 +00:00
kaf24@localhost.localdomain 249c2a8ce6 [HVM] Allow HVM guest to request invalidation of foreign mappings via
an I/O port write.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2007-01-27 13:32:27 +00:00
kaf24@localhost.localdomain 23791a54c2 [HVM] Fix some BIOS build warnings.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-26 16:56:26 +00:00
kaf24@localhost.localdomain 539c6224a5 [TCGBIOS] Fix some makefile issues.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-26 16:46:00 +00:00
kaf24@localhost.localdomain d8a689313b Remove the test functions from HVM highmem 32-bit BIOS.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-26 16:39:38 +00:00
kaf24@localhost.localdomain 2d52e184e5 [HVM] Add TCG BIOS extensions to the high memory area along with
some often-used libc utility functions. The TCG extensions are
described here:

https://www.trustedcomputinggroup.org/specs/PCClient/TCG_PCClientImplementationforBIOS_1-20_1-00.pdf

I have tried to keep the patching with rombios.c to a minimum, but
some amount of code needs to be inserted at various locations.

The code is currently deactivated, but can be activated by setting
BX_TCGBIOS to '1'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-26 16:38:32 +00:00
kaf24@localhost.localdomain dd59dfdfb1 This patch adds a 32bit gateway to the Bochs BIOS. The 32 bit code is
compiled with gcc and linked into the hvmloader as a byte-array.
Hvmloader allocates memory (rounded up to next 64kb) from the e820
table
below 4GB, copies and relocates the 32bit code in the allocated area
and
copies a jumptable (located in a section '.biosjumptable') pointing to
the 'exported' functions into the Bochs BIOS's memory area to link the
two code sections. The memory area has been reserved and can be
identified with the signature '___JMPT'.

In the Bochs BIOS only stub functions are provided. These load the
index
of a particular function in the jump table, switch to protected mode
and
call the function in the high memory area.  The stack is prepared such
that functions compiled by gcc can just pick the parameters from the
stack as usual - this means that the 16bit real-mode return address is
taken off the stack. The stub functions should have the same signature
as those in 32bit space. For ABI compatibility reasons parameters
inside
the Bochs BIOS stubs should all be 32bit wide.

This patch includes a test function that calls three gcc-compiled
functions in the high memory area and displays their success status.
Simple tests are done doing multiplication and addition of 32-bit
numbers and reading and modification of a static variable. These
functions test the interface and the relocation code. The test code is
removed in patch part 3.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-26 16:30:48 +00:00
Alastair Tse 247a0089e5 [XEND] Hook in utilisation statistics into Xen API calls.
Change PIF to be indexed by device name rather than the interface
number.

Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-26 15:45:51 +00:00