kfraser@localhost.localdomain
e1e7201267
[XEN] Emulate relative near/short jumps, including Jcc.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-08 15:52:53 +00:00
kfraser@localhost.localdomain
af66a38b25
merge
2007-01-08 14:26:57 +00:00
kfraser@localhost.localdomain
a6004eb295
Fix signedness issue in private implementation of memmem().
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-01-08 14:25:28 +00:00
Tim Deegan
696205b830
Merge
2007-01-08 14:25:14 +00:00
kfraser@localhost.localdomain
ad7e6bfecb
Update .hgignore
2007-01-08 14:24:42 +00:00
Tim Deegan
ba0f039582
[HVM] Add expansion-ROM boot support again.
...
Boot info now stored at 0x9ff00; registers saved in HDD load code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-08 14:24:30 +00:00
Christian Limpach
1c86aafefb
[linux build] Build Linux kernels with output files in a separate directory.
...
Use a single source tree (linux-2.6-xen) and use Linux' O= option to
make the build put output files in a
build-linux-$(LINUX_VER)-$(EXTRAVERSION)_$(XEN_TARGET_ARCH) directory,
making it possible to build both x86_32 and x86_64 kernels in the same
tree.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-08 11:33:45 +00:00
kaf24@localhost.localdomain
5abeb42c62
[XEN] Emulate MOV imm->reg.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-06 15:56:52 +00:00
kfraser@localhost.localdomain
018858d496
[PV-on-HVM] Add definition of irq_to_evtchn_port().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-06 12:56:58 +00:00
Emmanuel Ackaouy
e975e81c9b
[TOOLS] Improve information displayed by the xm sched-credit command.
...
The improvement is as follows.
1. The display form is changed like the xm sched-sedf command.
2. When -d option is omitted, information on all domains is
displayed.
Examples:
# xm sched-credit -d vm1
Name ID Weight Cap
vm1 1 512 100
# xm sched-credit
Name ID Weight Cap
Domain-0 0 256 0
vm1 1 512 100
vm2 2 512 50
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-06 11:17:52 +00:00
Ian Campbell
4d5aa6c345
[XEN] Skip over the unit in parse_size_and_unit() when returning the remainder
...
of the string.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-05 18:17:36 +00:00
kfraser@localhost.localdomain
b4270971d5
[XEN] Fix new XCHG emulation.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 18:01:20 +00:00
Emmanuel Ackaouy
0e6943b4b5
merge
2007-01-05 17:51:51 +00:00
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