Commit Graph
11571 Commits
Author SHA1 Message Date
Steven Smith bb53feb6ec [HVM][VNC] Fix bug in the VNC copyrect implementation which crept in
with the update backoff patch.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-22 09:12:00 +01:00
kfraser@localhost.localdomain b3781b36c8 [XEN] Do not emulate user-mode updates to page tables.
Instead use as a hint that the page is no longer a page table.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-21 19:51:10 +01:00
Christian Limpach c8c1a49313 Merge? 2006-09-21 19:34:45 +01:00
kfraser@localhost.localdomain 97bfffea3c [XEN] Fix domctl for changing VCPU affinity.
Now works for any VCPU, including the caller's VCPU.

By not synchronously pausing the affected VCPU we avoid
any risk of deadlock.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-21 19:34:00 +01:00
Christian Limpach a744b96a36 [qemu patches] Refresh.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 19:33:51 +01:00
Christian Limpach 6128a8f765 [qemu patches] Update patches for changeset 11562:449dcaff2551.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 19:33:07 +01:00
Christian Limpach da9db9c776 [qemu patches] Update patches for changeset 11561:c742b2ae920c.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 19:28:35 +01:00
Christian Limpach fc6241f65a [qemu patches] Update patches for changeset 11554:39aaa54756db.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 18:58:17 +01:00
Steven Smith fc99b58762 [HVM][VNC] Add a backoff feature to the vnc server, so that if it detects
that the display hasn't changed for a while it starts scanning more slowly.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-21 18:29:48 +01:00
Steven Smith 15c05dca32 [HVM] Reduce VNC overhead, by (a) only scanning framebuffer when a client
is connected, and (b) fixing an overflow bug in the scanning code which
prevented the dirty bit from ever getting cleared.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-21 17:56:14 +01:00
Tim Deegan 76ccc6e959 Merge 2006-09-21 15:04:29 +01:00
Tim Deegan 1c80d1b0a3 [XEND] Don't prepend '/dev/' to any absolute path.
Check for '/' rather than '/dev/' when translating e.g. 'hda'->'/dev/hda'
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
2006-09-21 15:00:50 +01:00
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
Emmanuel Ackaouy 4c83c4918a This patch adds value checking of sched-credit xm options.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-21 14:10:56 +01:00
Christian Limpach 212efff62a [tools] Increases some of the timeouts
since e.g. stealing the hotplug lock after five seconds is completely insane.

From: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-21 13:53:49 +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