Commit Graph
13309 Commits
Author SHA1 Message Date
Ian Campbell b0a47bd080 [LINUX] Kexec: Don't try to load an NULL image. This can occur when unloading.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-09 17:14:28 +00:00
kfraser@localhost.localdomain c9d971bec6 [XEN] Emulate DAA/DAS the hard way. We cannot execute the instruction
directly within the emulator as it is unavailable if the emulator runs
in x86/64 mode.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-09 16:59:52 +00:00
Tim Deegan 0137f2b67b [HVM] Remove unnecessary write barriers
Using a volatile pointer saves us from the compier reordering these
writes, and the processor won't let them appear out of order.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-09 16:49:16 +00:00
Tim Deegan db442369b3 When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:45 +00:00
Tim Deegan 38d6397a83 Fix xm create direct call to XendBootloader
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:44 +00:00
Tim Deegan eb568d6624 Fix bootloader = "pygrub" via 'xm create'.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:43 +00:00
Tim Deegan 662e32f5cc Fix auto-bootloading via 'xm create'.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:42 +00:00
Tim Deegan 9c9e43e5f0 Sniff for Solaris if not specified. This allows Solaris domU's to automatically
boot correctly without fiddling with domain configs.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:41 +00:00
Tim Deegan 8c119d2ee4 Pass in kernel/ramdisk settings to pygrub; if specified, don't try to use
grub.conf; this allows hands-off bootloading in the absence of a grub.conf.
It's also useful for specifying temporary changes etc.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:40 +00:00
Tim Deegan b624e752bd Fix for pygrub path on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-09 13:24:40 +00:00
kfraser@localhost.localdomain 3b59eb2941 [XEN] Fill in some more opcode space in the emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-09 12:04:41 +00:00
Ewan Mellor 2166b8b539 Do not call refreshShutdown in XendDomain for VM-list operations, as this
is unnecessary and expensive.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-09 11:52:15 +00:00
Tim Deegan a25c73ef38 [HVM] Fix shadow memory tracking
Fixes a missing free from cset 13275, and a missing prealloc.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-09 10:50:46 +00:00
kfraser@localhost.localdomain ddef8e1678 [XEN] Tweak x86 emulator interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-08 18:39:29 +00:00
Christian Limpach 58a6d83e7d [linux build] Append $XENGUEST to kernel version.
This was lost in changeset 13286:c89384734c19.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-08 17:38:47 +00:00
Ian Campbell 82048fc441 [XEN] Fix MAP target.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-08 16:27:35 +00:00
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