Commit Graph
11557 Commits
Author SHA1 Message Date
Tim Deegan fbbf99bec9 [XEND] split command-line arguments to the bootloader script properly.
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
2006-09-21 14:58:01 +01:00
Tim Deegan d456d49ce6 Pygrub: add /var/lib/xen to the install tree.
(Pygrub uses /var/lib/xen to store fifos and image files.)
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
2006-09-21 14:56:28 +01:00
Tim Deegan 795a172334 Pygrub: stop the FS identification code from leaking open fds.
Signed-off-by: Tim Deegan <tim.deegn@xensource.com>
2006-09-21 14:55:02 +01:00
Christian Limpach fa4cdd4564 [qemu patches] Refresh qemu-pci patch without -p3.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 11:33:38 +01:00
Christian Limpach 3a70909bda [qemu patches] Update patches for changeset 11551:f872300b672f.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 11:33:00 +01:00
Steven Smith 5759c4fb6b [HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather than
just making one up.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-21 11:15:13 +01:00
kfraser@localhost.localdomain e158d6de5b [XEN] Shadow mode no longer obtains page type references.
This allows the shadow destructor hook in free_page_type()
to work properly.

Also, move mark_dirty() back to alloc/free_page_type(). It
doesn't matter that this happens before the type count is
modified -- bitmap is extracted by the tools with the domain
paused, so these non-blocking paths are atomic from p.o.v of
the tools.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-21 10:47:05 +01:00
kfraser@localhost.localdomain ae8b421d2b [LINUX] Update pci-mmconfig patch to refer to machine_e820 map on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-21 09:37:28 +01:00
kfraser@localhost.localdomain c0d4d58131 [LINUX] Provide permanent global version of machine_e820 map for
general use.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-21 09:37:03 +01:00
kfraser@localhost.localdomain d6b2fad88e [XEN] Move mark_dirty() from alloc_page_type() to get_page_type(),
for symmetry with put_page_type(). Limit calls to mark_dirty() in
put_page_type() so that they happen only for page-table pages.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-20 18:41:44 +01:00
Emmanuel Ackaouy 91741e2cdd merge 2006-09-20 18:33:26 +01:00
Emmanuel Ackaouy 81c797a902 fix -xen x86_32 linux build
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-09-20 18:32:54 +01:00
kfraser@localhost.localdomain 050c721478 [XEN] Trivial simplification.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-20 17:59:30 +01:00
kfraser@localhost.localdomain 5c5f228d46 [XEN] Clean up mark_dirty() usage in mm.c some more.
Add clarifying comments. Move mark_dirty() in alloc_page_type()
to end of the function (more correct).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-20 17:58:10 +01:00
Steven Hand 0c75056135 Simplify + fix previous cset (remove_all_shadows() is indeed required :-)
Signed-off-by: Steven Hand <steven@xensource.com>
2006-09-20 16:52:15 +01:00
Steven Hand a1346661f0 Ensure page-table pin changes are noted in shadow log-dirty mode.
Also mark dirty in put_page_type() instead of free_page_type()

Signed-off-by: Steven Hand <steven@xensource.com>
2006-09-20 16:22:06 +01:00
kfraser@localhost.localdomain ca6acada90 [LINUX] Backport PCI MMCONFIG patch from 2.6.17 -- only use MMCONFIG
access method if the memory area is reserved in the E820 map.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-20 12:02:13 +01:00
kfraser@localhost.localdomain f3a10035d4 [XEN] Fix arg clobber test for debug version of hypercall code.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-20 09:56:50 +01:00
kfraser@localhost.localdomain 66ab18169c [XEN][X86_64] Remove hardcoded addresses in x86/64 boot assembly.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-09-20 09:48:41 +01:00
kfraser@localhost.localdomain 186571120a [XEN] Upgrade some platform files to Linux 2.6.17.13.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-19 16:33:01 +01:00
Christian Limpach 13b3232ba7 [linux patches] Update patches for linux-2.6.16.29.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>


--HG--
rename : patches/linux-2.6.16.13/blktap-aio-16_03_06.patch => patches/linux-2.6.16.29/blktap-aio-16_03_06.patch
rename : patches/linux-2.6.16.13/device_bind.patch => patches/linux-2.6.16.29/device_bind.patch
rename : patches/linux-2.6.16.13/fix-hz-suspend.patch => patches/linux-2.6.16.29/fix-hz-suspend.patch
rename : patches/linux-2.6.16.13/fix-ide-cd-pio-mode.patch => patches/linux-2.6.16.29/fix-ide-cd-pio-mode.patch
rename : patches/linux-2.6.16.13/i386-mach-io-check-nmi.patch => patches/linux-2.6.16.29/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16.13/ipv6-no-autoconf.patch => patches/linux-2.6.16.29/ipv6-no-autoconf.patch
rename : patches/linux-2.6.16.13/net-csum.patch => patches/linux-2.6.16.29/net-csum.patch
rename : patches/linux-2.6.16.13/net-gso-0-base.patch => patches/linux-2.6.16.29/net-gso-0-base.patch
rename : patches/linux-2.6.16.13/net-gso-1-check-dodgy.patch => patches/linux-2.6.16.29/net-gso-1-check-dodgy.patch
rename : patches/linux-2.6.16.13/net-gso-2-checksum-fix.patch => patches/linux-2.6.16.29/net-gso-2-checksum-fix.patch
rename : patches/linux-2.6.16.13/net-gso-3-fix-errorcheck.patch => patches/linux-2.6.16.29/net-gso-3-fix-errorcheck.patch
rename : patches/linux-2.6.16.13/net-gso-4-kill-warnon.patch => patches/linux-2.6.16.29/net-gso-4-kill-warnon.patch
rename : patches/linux-2.6.16.13/pmd-shared.patch => patches/linux-2.6.16.29/pmd-shared.patch
rename : patches/linux-2.6.16.13/rcu_needs_cpu.patch => patches/linux-2.6.16.29/rcu_needs_cpu.patch
rename : patches/linux-2.6.16.13/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.16.29/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch
rename : patches/linux-2.6.16.13/series => patches/linux-2.6.16.29/series
rename : patches/linux-2.6.16.13/smp-alts.patch => patches/linux-2.6.16.29/smp-alts.patch
rename : patches/linux-2.6.16.13/tpm_plugin_2.6.17.patch => patches/linux-2.6.16.29/tpm_plugin_2.6.17.patch
rename : patches/linux-2.6.16.13/x86-elfnote-as-preprocessor-macro.patch => patches/linux-2.6.16.29/x86-elfnote-as-preprocessor-macro.patch
rename : patches/linux-2.6.16.13/x86-increase-interrupt-vector-range.patch => patches/linux-2.6.16.29/x86-increase-interrupt-vector-range.patch
rename : patches/linux-2.6.16.13/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.13/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.16.29/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.13/xen-hotplug.patch => patches/linux-2.6.16.29/xen-hotplug.patch
rename : patches/linux-2.6.16.13/xenoprof-generic.patch => patches/linux-2.6.16.29/xenoprof-generic.patch
2006-09-19 14:26:47 +01:00
Christian Limpach 42ee90deeb [linux] Update to linux-2.6.16.29.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-19 14:26:22 +01:00
kfraser@localhost.localdomain ee6939c833 [XEN] Fix the emulation of instructions in vm86 mode. It fetches
them using cs and eip instead of only eip. This makes it at least
possible to use the i945GM vesa bios from the running system.

Signed-off-by: Bastian Blank <waldi@debian.org>
2006-09-19 11:13:10 +01:00
kfraser@localhost.localdomain 0a706be1ab [XENMON] Add argument check of "--ms_per_sample" option.
If a value of "--ms_per_sample" option is larger than a value of
"--time" option, xenmon may generate no log file. So, too large
"--ms_per_sample" should be treated as an error.

e.g.
  % xenmon.py --ms_per_sample=2000 -t 1 -n
  usage: xenmon.py [options]

  xenmon.py: error: option --ms_per_sample: too large (> 1000 ms)

# Notice that a unit of "--time" is a second.

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
2006-09-19 11:08:11 +01:00
kfraser@localhost.localdomain 85c8c907ea [HVM][SVM] Add cr8 intercept to/from code for SVM.
Add proper vlapic unmapping and freeing in the svm relinquish
resources.

Signed-off-by: Tom Woller <thomas.woller@amd.com>=20
2006-09-19 11:03:36 +01:00
kfraser@localhost.localdomain 34ae37c233 [HVM][SVM] This patch cleans up the SVM CPUID logic a bit, adds proper clearing
of MCA/MCE bits, and also ties clearing the PAE bit with the NX bit. We
have seen issues with Solaris if the NX bit is set but the PAE bit is
not.

Signed-off-by: Tom Woller <thomas.woller@amd.com>=20
2006-09-19 11:03:12 +01:00
kfraser@localhost.localdomain 82d544774e [HVM] getmemlist hypercall returns pages in strict
physmap order.
From: Ke Yu <ke.yu@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-19 11:01:05 +01:00
kfraser@localhost.localdomain 6f562e72cd [XEN][X86_64] USe GLOBAL bit to build user mappings.
Avoids need to flush user mappings when switching between
user and kernel contexts.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-19 10:50:10 +01:00
kfraser@localhost.localdomain 2197970752 Merge with xenppc-unstable-merge.hg 2006-09-19 09:40:26 +01:00
Hollis Blanchard ac9ed2ddf6 [POWERPC] merge with xen-unstable.hg
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-18 14:28:16 -05:00
kfraser@localhost.localdomain 977599dbcb Clean up dom0_vga_console_info structure for v3.0.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-18 18:17:54 +01:00
kfraser@localhost.localdomain a51f889db9 Revert 11475:11645dda144c3c8365dd2a6a64cb5a7d7da01170
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-18 14:25:26 +01:00
Jimi Xenidis be11601759 [POWERPC][XEN] Track the Hard CPUID as configured by the FW
This patch correctly implements and supports hard_smp_processor_id().

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-18 09:23:51 -04:00
kfraser@localhost.localdomain 4e828399fe [XEN] Remove backpointer info from page type info. No longer used.
Replace with a flag for PAE final L2, needed for detecting PAE L2's
which contain Xen mappings.

This is a fixed version of 11438:965df40965e5fa684e0c8fe38dc4950af5b37c84

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-18 14:15:03 +01:00
Jimi Xenidis ba751738f0 [POWERPC][XEN] Fix definition of SCOMC register
Fix some typos aroung machine check too.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-18 08:14:46 -04:00
Ewan Mellor 3714ab433f Revert change to vtpm_utils related to skipping the test when the tpm is not
found -- we need to skip the test on non-TPM platforms, of course.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-15 23:54:04 +01:00
Jimi Xenidis bf31d9ab24 [POWERPC][XEN] Add newlines on multiline output and dump SLB on SLB errors
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-15 18:20:55 -04:00
Jimi Xenidis e0a8d4c574 [POWERPC][XEN] Sync console around program exceptions
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-15 18:19:46 -04:00
jchesterfield@wicket.uk.xensource.com 551365b6a0 Adding max block device timeout of 30 secs for live migrate. 2006-09-15 18:48:24 +01:00
kaf24@firebug.cl.cam.ac.uk 68043a01dc [XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-15 11:17:26 +01:00
kaf24@firebug.cl.cam.ac.uk d1423b2882 [MINIOS] Fix to use new event-channel API properly.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
2006-09-15 11:07:25 +01:00
kaf24@firebug.cl.cam.ac.uk eff691edc0 [HVM] Remove a useless header file include in hvm.c
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-09-15 11:04:41 +01:00
kaf24@firebug.cl.cam.ac.uk 9f665fdd21 Small fix for xenoprof.
Update list of privileged xenoprof operations which were not in sync
with new added functions.
Since the number of privileged operations is larger than the non
privileged ones, change the logic to list unprivileged ones instead.
Also added a few printk statements on failed xenoprof initialization
to identify the source of the problem.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
2006-09-15 11:01:58 +01:00
kaf24@firebug.cl.cam.ac.uk e082c0eae9 [XEN] Fix array ngative accesses in figlet tool.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-15 10:59:18 +01:00
Jimi Xenidis 680212efe4 [POWERPC][XEN] Fix infinite loop caused by hdec storm
This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-14 22:06:15 -04:00
Jimi Xenidis a907867e5c [POWERPC][XEN] Clean up init_frame_table()
figure out its size correctly and remove unused global

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-14 14:20:48 -04:00
hollisb@localhost f8ea9493b7 [XEN][POWERPC] Whitespace.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-18 13:21:39 -05:00
Hollis Blanchard cb2d77c273 [XEN][POWERPC] Fix build break.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-14 11:13:54 -05:00
Jimi Xenidis 2a001466a9 [POWERPC][XEN] add ofd_strstr() that checks all strings from an OF property
Some OF properties can have a list of '\0' terminated strings, we
frequently need to strstr against all of them.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-09-14 11:11:00 -04:00
kaf24@firebug.cl.cam.ac.uk fe9a681dcf [XEN] Do not steal work from idle CPUs. This can happen
if a idle CPU is in the process of waking up.
This fix suggested by Anthony Xu <anthony.xu@intel.com> as
it can have a significant boost to HVM performance.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-14 16:01:46 +01:00