Ian Campbell
5dd4f8ccd1
[XEN] Update comments in elfnote.h interface header.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-11 10:36:41 +00:00
john.levon@sun.com
5c8a39cf80
Use strstr() to look for "bimodal" string in ELF notes, to allow guests to use
...
"yes,bimodal", so they are correctly identified as PAE on older hypervisors.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-08 12:54:41 -08:00
kfraser@localhost.localdomain
68a749f178
[XEN] More emulator fixes:
...
1. Emulate LAHF/SAHF instructions
2. #GP if instruction is longer than 15 bytes
3. Accept any number of prefix bytes (up to
15-byte total instruction length)
4. Repeated addr/data-size overrides are sticky
rather than toggling.
2,3,4 are based on a patch from Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-11 10:10:16 +00:00
Tim Deegan
dc5bf8aa50
[HVM] Allow a dom to have nonsense m2p entries when building the p2m
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-11 10:08:14 +00:00
Jake Wires
409d47638a
[BLKTAP/BLKBACK] name blktap/blkback kernel threads as "domid.virtual_devname"
...
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-01-09 18:56:44 -08:00
Emmanuel Ackaouy
2736a406e4
[XEN] Partial fix for compat build non-portability.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-10 17:56:54 +00:00
Emmanuel Ackaouy
7220350010
[XEN] 32on64: need to take multicall context into consideration
...
when determining the continuation arguments for mmuext ops.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-10 17:26:58 +00:00
kfraser@localhost.localdomain
d49020eed7
[HVM][VMX] Fix problem taking an NMI on entry/exit
...
to/from VMX mode. Also cleans up code a bit.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-10 16:17:35 +00:00
kfraser@localhost.localdomain
647c467fd9
[HVM] Allow PV-on-HVM callback irq to be identified by PCI device.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-10 15:05:00 +00:00
kfraser@localhost.localdomain
c5a9d11fa8
[HVM] Remove unneeded vcpu_kick() from HPET device model.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-10 14:14:30 +00:00
kfraser@localhost.localdomain
5fc32d22f2
[XEN] Remove bogus BUG_ON() which breaks the build with gcc 4.2.0.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-10 11:09:21 +00:00
Ian Campbell
ca00403ece
[PATCH] kexec/kdump: remove unnecessary incusion of asm/fixmap.h
...
I think this a legacy of an older revision of this code,
but asm/fixmap.h does not seem to be needed in
asm-x86/x86_32/kexec.h or asm-x86/x86_64/kexec.h
That is, neither of these incarntations of kexec.h seem
to do anything related to fixmap directly or indirectly.
Signed-off-by: Simon Horman <horms@verge.net.au >
2007-01-10 09:39:24 +00:00
Ian Campbell
0257938d11
[LINUX] Clarify comment in xen_machine_kexec_setup_resources().
...
Noticed by Horms.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-10 09:39:24 +00:00
kfraser@localhost.localdomain
9bec2359e6
[HVM] Ignore evtchn_upcall_mask and initialise to zero.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-09 17:43:13 +00:00
Ewan Mellor
e3e7d81e41
Update sched-credit test to match new format from xm sched-credit.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-09 17:38:48 +00:00
Ewan Mellor
00e5248813
This simple patch allows domains created in the xm-test suite to be
...
created as managed domains using either a parameter to the
XenTestDomain() constructor or by setting the environment variable
XM_MANAGED_DOMAINS and running the tests with it.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-09 17:25:28 +00:00
Ewan Mellor
e4658203b4
Add needed modules to the ramdisk if the modules exist on the current system.
...
(i.e. the current system contains a modularized kernel)
Signed-off-by: Lynn Bendixsen <lbendixs@novell.com >
2007-01-09 17:23:22 +00:00
Ian Campbell
319107a11b
merge
2007-01-09 17:17:05 +00:00
Ian Campbell
0ae7229c66
[XEN] Kexec: Make some variables static.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-09 17:15:29 +00:00
Ian Campbell
123e738ef2
[XEN] Kexec: Clean up ELF note construction to avoid multiply nested
...
struct/unions and the packed keyword.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-09 17:15:28 +00:00
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
e0fd6020bc
[TEST] Fix x86_emulate tests on x86/64 host.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-09 17:11:46 +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