Emmanuel Ackaouy
4b0e8fb306
Initial support for HVM compat guests
...
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2007-01-05 17:51:07 +00:00
Emmanuel Ackaouy
01e440201a
merge
2007-01-05 17:46:14 +00:00
kfraser@localhost.localdomain
a9e6f2b531
[BALLOON] Ifdef some x86-specific balloon init code.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 17:39:34 +00:00
Emmanuel Ackaouy
b1cf3deb81
Support for save and restore of compatibility guests
...
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2007-01-05 17:34:43 +00:00
Emmanuel Ackaouy
f4c856df98
Preliminary, likely incomplete and/or wrong, adjustments to shadow code.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:41 +00:00
Emmanuel Ackaouy
8c7577f2c3
Enable compatibility mode operation for kexec.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:41 +00:00
Emmanuel Ackaouy
70a6f21e0f
Enable compatibility mode operation for trace buffer access.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:40 +00:00
Emmanuel Ackaouy
97a138cbdd
Enable compatibility mode operation for HYPERVISOR_domctl. Also add logic
...
to switch a domain to/from compatibility mode (supposed to happen early
after domain creation only).
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:39 +00:00
Emmanuel Ackaouy
a6f33d81e1
Enable compatibility mode operation for HYPERVISOR_sysctl.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:38 +00:00
Emmanuel Ackaouy
b0a4c24dda
Enable compatibility mode operation for HYPERVISOR_xenoprof_op.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:37 +00:00
Emmanuel Ackaouy
62320af21e
Enable compatibility mode operation for HYPERVISOR_acm_op.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:37 +00:00
Emmanuel Ackaouy
f5404d9805
Enable compatibility mode operation for HYPERVISOR_platformop.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:36 +00:00
Emmanuel Ackaouy
e41630cef3
Enable compatibility mode operation for HYPERVISOR_grant_table_op.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:35 +00:00
Emmanuel Ackaouy
2942f45e09
Enable compatibility mode operation for HYPERVISOR_sched_op and
...
HYPERVISOR_set_timer_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:35 +00:00
Emmanuel Ackaouy
75a2a59383
Enable compatibility mode operation for HYPERVISOR_multicall.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:34 +00:00
Emmanuel Ackaouy
cda335c279
Enable compatibility mode operation for HYPERVISOR_set_trap_table and
...
HYPERVISOR_set_gdt.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:34 +00:00
Emmanuel Ackaouy
ff311267b0
Merge vcpuop compat header creation
...
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2007-01-05 17:34:33 +00:00
Emmanuel Ackaouy
10254dc104
Enable compatibility mode operation for HYPERVISOR_vcpu_op.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:33 +00:00
Emmanuel Ackaouy
248b44f921
Enable compatibility mode operation for HYPERVISOR_physdev_op and
...
HYPERVISOR_event_channel_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:32 +00:00
Emmanuel Ackaouy
6630b25a6c
Enable compatibility mode operation for HYPERVISOR_mmu_update and
...
HYPERVISOR_mmuext_op.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:31 +00:00
Emmanuel Ackaouy
b8a7efe852
Enable compatibility mode operation for HYPERVISOR_memory_op,
...
HYPERVISOR_update_descriptor, HYPERVISOR_update_va_mapping. This also
introduces infrastructure to do argument translation.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:31 +00:00
Emmanuel Ackaouy
8d6e195a2d
Adjust emulation code to deal with compatibility mode guests. This
...
includes enhancements to emulate_privileged_op() that aren't directly
related to such guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:30 +00:00
Emmanuel Ackaouy
cb44adaed6
Add page table setup and handling, including the creation of an m2p table
...
meaningful to compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:30 +00:00
Emmanuel Ackaouy
fa5b1a1d19
Handle shared info (having different layout for native and compatibility
...
mode guests) accesses.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:29 +00:00
Emmanuel Ackaouy
8589463a25
Handle the creation of startup info for compatibility mode guests. This
...
includes a script to auto-generate checking or translation code between
native and compatibility mode hypercall argument structures.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:28 +00:00
Emmanuel Ackaouy
6224725e93
Add logic to generate headers reflecting the compatibility mode layout
...
of hypercall arguments. Provide infrastructure for accessing handles
passed from compatibility mode guests. Vector those hypercalls not
needing any translation to their native implementations.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:28 +00:00
Emmanuel Ackaouy
c1990f10a7
Add entry points for handling hypercalls from and returning to
...
compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:34:27 +00:00
Emmanuel Ackaouy
8f2348c03c
Introduce _DOMF_compat and infrastructure as well as several conditionals
...
dealing with operations that need to distinguish between native and
compatibility mode guests.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-05 17:32:00 +00:00
Alastair Tse
8843b4291c
Add support to list VDIs and SRs in xapi.py
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-05 17:27:30 +00:00
Alastair Tse
1f2d77695e
[XEND] Fix some Xen API error declarations.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-05 17:24:55 +00:00
Tim Deegan
5c6059a43d
[HVM] Sync the base memory reported by ROMBIOS with the e820 map.
...
This stops Etherboot relocating itself onto the SMBIOS tables.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-05 16:28:42 +00:00
Ewan Mellor
9bff7e28c6
Catch exception from dumpCore when inside refreshShutdown.
...
Thanks to John Levon <levon@movementarian.org > for diagnosis and suggesting the
fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 16:11:49 +00:00
kfraser@localhost.localdomain
415630a22d
[XEN] Remove an out-of-date comment.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 15:57:23 +00:00
kfraser@localhost.localdomain
4ab5098028
[XEN] Add more instructions to the emulator.
...
Fix prefix handling to ignore misplaced REX bytes and to grok both
kinds of REP prefix properly. These fixes are from Jan Beulich
<jbeulich@novell.com >.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 15:54:06 +00:00
Ewan Mellor
4faade7465
Fix examples to have correct class names and error handling.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:52:58 +00:00
Ewan Mellor
66e0f08171
Added session.last_active field. Removed the constructors and destructors for
...
session and task classes -- these are implicitly added and removed, so we
should not have explicit constructors and destructors for them.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:51:39 +00:00
Ewan Mellor
a76d47f9b7
Added NETWORK_ALREADY_CONNECTED error code to the documentation.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:50:20 +00:00
Ewan Mellor
8787be2922
Record the last shutdown reason for each VM in the store.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:38:01 +00:00
Ewan Mellor
79a9f1f484
Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
...
used directly as identifiers in bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:34:47 +00:00
kfraser@localhost.localdomain
3d24f27402
[XEN] Fix EA calculation for POP <rm> when stack pointer is used as
...
base of the EA calculation. It should be used *post* increment.
Original patch from Jan Beulich <jbeulich@novell.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 14:44:58 +00:00
Ewan Mellor
e821b95d39
Fix bindings for PIF_set_MAC and PIF.set_MTU.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:33:23 +00:00
Ewan Mellor
972656054c
Fix missing import, and a small tidyup.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:32:40 +00:00
Ewan Mellor
957eed7252
Remove broken and unused set_u32.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:31:49 +00:00
Ewan Mellor
800c66b264
Treat <value> tags with no type tag inside as if they were strings (as required
...
by the XML-RPC spec).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:30:32 +00:00
Ewan Mellor
d913c891b7
Added permissiveness for floats.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:29:26 +00:00
kfraser@localhost.localdomain
c082fcbec5
Xen 3.0.3 pre-pended all configuration prior to the user-specified
...
args in the boot cmdline. Restore this behaviour to fix
incompatabilities with fragile parsers in some domU kernels.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 11:03:16 +00:00
kfraser@localhost.localdomain
71314211e9
Fix xend stop if we're run directly instead of via the caretaker parent.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 10:58:48 +00:00
kfraser@localhost.localdomain
7a0e89cd5b
[XEN] Add LEA to the Xen x86 emulator. Rename x86_emulate_memop() to
...
x86_emulate(), as the emulator now does more than emulation of
'special' memory accesses.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 10:55:55 +00:00
Ian Campbell
4bf9e7a7d0
merge
2007-01-05 10:40:19 +00:00
Ian Campbell
47fde3df04
[TOOLS] Fix typo in XenDomainInfo:device_configure.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-05 10:39:45 +00:00