Commit Graph
12489 Commits
Author SHA1 Message Date
Alastair Tse edd64e7966 [XEND] Accomodate extra "devices" in SXP that do not have DevControllers
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 17:57:49 +00:00
Alastair Tse 13dde37355 [XEND] Revert changes in changeset 12328
Mistakenly reverted some fixes for rebooting, un-reverting.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 17:03:59 +00:00
Alastair Tse e1e7aa6e07 [XEND] Fix missing domains on domU reboot.
Fixed regression with rebooting domU caused by the change in handling
syncing state from Xen and Xend.

Added missing implementation for XendDomainInfo.unwatchVm() which
disappeared during a merge.

Added protection for console/vnc-port reading for managed domains.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 15:53:29 +00:00
kfraser@localhost.localdomain cc60b785f6 [LIBXC] Replace API uses of size_t with ulong.
Avoids possibility of different FILE_OFFSET_BITS defn.
across the interface.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-17 14:00:45 +00:00
kfraser@localhost.localdomain d5ae80a537 [XEN] Fix build. Mercurial ate my changeset fixups. :-(
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-17 12:13:24 +00:00
kfraser@localhost.localdomain 191a8478a9 [XEN] Restrict access to grant-mapping operations.
TLB flushing is not done strictly before notifying
the mappee -- this creates scope for multi-processor
mapping guests to attempt to abuse a stale mapping
on another VCPU.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-11-17 10:48:34 +00:00
kfraser@localhost.localdomain 329f3fcc6e [QEMU] rtl8139: Disallow chaining above 64K
As it stands the 8139C+ TX chaining is only bounded by realloc failure.
This is contrary to how the real hardware operates.  It also has DoS
potential when ioemu runs in dom0.

This patch makes any attempt to chain a frame beyond 64K fail
immediately.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-11-17 10:34:08 +00:00
kfraser@localhost.localdomain 9713e41894 [LINUX] Add process profiling hook to timer ISR.
Signed-off-by: Rik van Riel <riel@redhat.com>
2006-11-17 10:32:57 +00:00
kfraser@localhost.localdomain 5db7537d23 HVM cleanups:
1) make vmx/svm time functions hvm common, since they are actually the same.
2) move hvm_send_assist_req from platform.c to hvm.c.
2) rename VMX MSR context switch functions to make them more readable.
3) misc coding style clean ups.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-11-17 10:29:08 +00:00
kfraser@localhost.localdomain 9fd9787b0e [HVMLOADER][VTPM] Add support for a TCG ACPI table.
The ACPI table is generated if the probing for the TIS interface
succeeds. I cleaned up the ACPI signatures in acpi2_0.h to be more
readable.

The specification for the layout of these ACPI tables can be found here:
https://www.trustedcomputinggroup.org/groups/server/TCG_ACPIGeneralSpecification_1-00_1-00_FINAL.pdf

Extensions to the Bochs BIOS that use these ACPI extensions will follow.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-11-17 10:24:22 +00:00
kfraser@localhost.localdomain 00eca9c7d1 [OPROFILE] Add support for core and core2 chips.
Tested on Woodcrest  processors.  Requires Oprofile 0.9.2.

Signed-off-by: Andrew Theurer <habanero@us.ibm.com>
2006-11-17 10:05:12 +00:00
kfraser@localhost.localdomain de6e26cec4 [HVMLOADEr] Reserve MMIO 0xa0000 to 0xc0000 in ACPI dsdt.
Avoids possible vga driver loading problem in HVM Windows guest.
Also fixes a Makefile bug in hvmloader directory.

Signed-off-by: Qing He <qing.he@intel.com>
2006-11-17 10:02:54 +00:00
kfraser@localhost.localdomain 9f941deb84 [TOOLS] Provide common LFS CFLAGS/LDFLAGS additions in Rules.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-17 09:54:48 +00:00
kfraser@localhost.localdomain 4fa75a7c3b [MINIOS] Refactor spinlock header for multi-arch support.
I separated the spinlock parts special to the x86 architecture and
moved these to include/x86/arch_spinlock.h. The common code is now in
include/spinlock.h.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2006-11-17 09:18:28 +00:00
kfraser@localhost.localdomain 5d3a4a3858 [MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-17 09:16:51 +00:00
kfraser@localhost.localdomain 7d58e87410 [MINIOS] Move initialisation of events (masking event channels)
earlier during the boot process. Otherwise 64bit guests would
sometimes crash.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-17 09:16:27 +00:00
kfraser@localhost.localdomain b38e0f65a8 [XEN] Add missing #include.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-16 18:29:06 +00:00
kfraser@localhost.localdomain 0464e78ebb [XEN] Scheduling hypercalls defer entry to the scheduler to softirq
context.

This avoids entering the scheduler with outstanding multicall state
and also happens to simplify the x86 entry protocol to the scheduler
hypercall (since we do not need to preset the return code).

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-16 18:28:05 +00:00
Tim Deegan 97ae5e751d [HVM] Decouple the RTC from the PIT periodic timer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-11-16 17:07:23 +00:00
Tim Deegan b6d015a8fc [XEN] Remove redundant calls to check_for_early_unshadow()
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-11-16 15:20:05 +00:00
Alastair Tse 90dfddafb5 [XEND] Fix PCI configuration parsing and SXP output
PCI configuration is formatted differently from other device
configurations because of the requirement that all pci devices need to
be present when it is initialised.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-16 13:49:05 +00:00
kasai.takanori@jp.fujitsu.com 654de638ac Add to select keyboard layout
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
2006-11-16 13:13:55 +00:00
Ewan Mellor a948d5c0c0 Fix clobbering bug when hde is specified; QEMU only supports up to hdd, but
hde is accepted and writes off the end of some tables.

From Hiromichi Itou <ito@begi.net>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-16 11:11:17 +00:00
kfraser@localhost.localdomain e9cc311452 [HVM] Disallow PTE updates and MMIO accesses from hypervisor mode
(prevents copy_to/from_guest from causing problems, for example).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-16 10:52:03 +00:00
kasai.takanori@jp.fujitsu.com 6ed32fb898 Fix of floppy disk configuration check
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-11-16 10:50:21 +00:00
Ewan Mellor d5548a599e This patch improves an usage message about xm dump-core command.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:44:23 +00:00
Ewan Mellor 51c072044f Fix cpu_cap option.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:28:26 +00:00
Ewan Mellor 54e573d0af Improve error message when trying to pause / unpause domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:26:20 +00:00
Ewan Mellor 016e7e1c8c Fix xm migrate error message when trying to migrate domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:25:23 +00:00
kaf24@firebug.cl.cam.ac.uk 3e7ce38dce [NET] back: Fix bug in 12262:ac2097d71e06dbbf77279af10d6ae7359d921ab0.
Pointed out by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-16 08:56:58 +00:00
kaf24@firebug.cl.cam.ac.uk f8e7741960 [IA64] Fix build breakage.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-16 07:48:37 +00:00
kaf24@firebug.cl.cam.ac.uk 358a2d58c0 Xen trivial build fix. Oops.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-16 07:41:01 +00:00
Andrew Warfield 3cfbe70d32 [BLKTAP] Little error handling fix to blktapctrl.c.
Signed-off-by: Andrew Warfield <andy@xensource.com>
2006-11-15 12:50:17 -08:00
kfraser@localhost.localdomain 6c483f95f8 [XEN] Various selector and callback cleanups to simplify the tools
and assumptions about callback selector values on x86/32.
Original patch from Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 18:41:06 +00:00
kfraser@localhost.localdomain ede52a632e [BUILDER] Simplify vcpu context initialisation by pre-zeroing
the context structure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-15 16:53:43 +00:00
kfraser@localhost.localdomain c4db5246aa [XEN] Define remaining x86 public pointer fields as guest handles.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 16:44:35 +00:00
kfraser@localhost.localdomain 9b4ed67d25 [TOOLS] Rename chekc_hotplug to check_udev and fix permissions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 14:59:57 +00:00
Tim Deegan 2e0874d780 [XEN] Track high-water-mark of p2m map
and so avoid some unnecessary __copy_from_user faults.
Also tidy the p2m functions generally.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-11-15 14:36:10 +00:00
Ewan Mellor 563e6b4690 Add the VNC port to the output of xm list --long, if the value has been written
to xenstore by QEMU.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-15 09:44:12 +00:00
kfraser@localhost.localdomain 4aad88265b [MINIOS] Add timer support.
Based on an original patch by Robert Kaiser.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-15 09:33:01 +00:00
kfraser@localhost.localdomain a4be7b6267 [LIBXC] Clarify error messages to talk about allocation 'extents'
rather than 'pages'.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
2006-11-15 09:30:44 +00:00
Steven Smith 05d0526432 [PV-ON-HVM] Correct some out of date documentation.
Noticed-by: Nowatzki, Thomas L <Thomas.Nowatzki@UNISYS.com>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-11-15 08:54:16 +00:00
kaf24@localhost.localdomain 97c5e7aecb merge with xen-ia64-unstable.hg 2006-11-15 00:14:41 +00:00
awilliam@xenbuild.aw 4c40652f1d merge with xen-unstable.hg 2006-11-14 14:59:37 -07:00
awilliam@xenbuild.aw 6de6494624 [IA64] remove ASSERT in vmx_init.c
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-11-14 12:46:33 -07:00
awilliam@xenbuild.aw 0d9a48c87d [IA64] Add CCISS driver to build config and change nbd to a module
LVM complains a lot when nbd is built into the kernel

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-14 12:45:15 -07:00
Andrew Warfield 650e610eda Fix breakage of blktap device strings from cset 63d1b02dad347e8feb845d8a8b482e251a478164.
Signed-off-by: Andrew Warfield <andy@xensource.com>
2006-11-14 11:20:45 -08:00
Ewan Mellor cbe35a1196 Fix xm block-configure, by allowing the device ID to be unspecified inside
device_configure (in which case it will be specified by the incoming config).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-14 18:52:58 +00:00
Tim Deegan 051c099e2e Speed up shadow of x86_64 Linux guests using 3 paging levels.
Linux kernel 2.6.9 or older uses 3 paging levels and its direct map is
from 0x10000000000.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-11-14 18:21:51 +00:00
Tim Deegan acdee1b65e [XEN] Extend fix from 12403:680b37789200 to other emulation paths.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-11-14 17:11:45 +00:00