Commit Graph
14398 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 8058cadb58 Replace tab with 4 whitespaces in xm/shutdown.py.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-15 16:54:00 +00:00
kfraser@localhost.localdomain 5f3c8af40d minios: Fix an extern declaration and add an extra 'const' to
definition of a constant set of constant error strings.
Issues identified by Armand Puccetti.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-15 15:27:08 +00:00
kfraser@localhost.localdomain 4da77d5b3f net back: Quieten loud error path.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-15 14:51:32 +00:00
kfraser@localhost.localdomain 8183fb7b82 Add two arch hooks to gnttab_release_mappings().
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-15 10:43:13 +00:00
kfraser@localhost.localdomain 462eb0fc0e x86: 32on64 oversight in update_va_mapping
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-15 10:38:58 +00:00
kfraser@localhost.localdomain 11f0262cf2 hvmloader: Simplify 32bit-bios relocator.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-15 10:38:06 +00:00
kfraser@localhost.localdomain e18371883e TCGBIOS fixes and cleanups.
- Add a missing break into the switch statement
- Simplify the code that switches from protected mode into real mode
  by letting it spill eax; this also fixes the case where the stack is
  above 0xffff.
- reformat the source for 80 columns
- remove some comments that were relevant when the TCG extensions were
  direct part of the real-mode Bochs BIOS

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-15 10:36:10 +00:00
kfraser@localhost.localdomain 607ea02797 Add boot option to allow console I/O to be placed into ring buffer
This option allows console I/O to be placed into the hypervisor
console ring buffer. When enabled, all output to the console
device will be reflected in the ring buffer.  When disabled (the
default), only hypervisor output is available from the ring buffer.

Signed-off-by: Ben Thomas <ben@virtualiron.com>
2007-03-15 10:33:32 +00:00
Ewan Mellor 71439ea4bb Implement xm domid and xm console using the Xen-API, and fix xm domname.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 23:26:33 +00:00
Ewan Mellor c57f40c62f Added the clear flag to host.dmesg, and added host.get_log. Use these to
implement xm dmesg and xm log using the Xen-API.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 23:16:59 +00:00
Ewan Mellor 618ef9cd1c Fix error logging when we get a 500 response.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 23:14:19 +00:00
Ewan Mellor 4438f722ec Improve the performance of the Xend trace facility, and exclude XendMonitor
and XendLogging from those classes that are traced.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 23:13:37 +00:00
Ewan Mellor 3c924c8c4c Trap bad return values from Xen-API method handlers, and return an internal
error.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 23:12:59 +00:00
Ewan Mellor efcaa9d8d3 Match recent removal of VM.VCPUs_policy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 21:59:11 +00:00
Ewan Mellor a72d446f86 Fix typo in xm-test.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 21:37:00 +00:00
Ewan Mellor 47123a3638 Fix typo.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 21:34:43 +00:00
Ewan Mellor b0c9363ed8 Added VM_metrics.get_all.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 21:04:04 +00:00
Ewan Mellor eacb86fc1b Added Xen-API features needed to implement xm info: host.sched_policy
(replacing VM.VCPUs_policy, which never made sense), and
host.cpu_configuration.  Add other details into either host.software_version
or host.other_config as appropriate.

Implement xm info and the scheduler-detection check using this.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 21:02:58 +00:00
Ewan Mellor ae6780b241 Implement VM_metrics Xen-API class.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 20:41:56 +00:00
Ewan Mellor 42b966d15c Added Xen-API support to xm shutdown.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-14 20:27:57 +00:00
Jake Wires 5fc295e4de [BLKTAP] remove spurious error message
Signed-off-by: Jake Wires <jwires@xensource.com>
2007-03-14 14:18:51 -07:00
kfraser@localhost.localdomain de2105b78a hvm: Firmware build requires dev86 (bcc) >= 0.16.14.
Earlier versions (at least 0.16.0) generate incorrect code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-14 19:35:26 +00:00
Ewan Mellor 11392ee1b0 Implement VM.{add_to,remove_from}_VCPUs_params.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-13 22:13:40 +00:00
Ewan Mellor 1a2d69b084 In xm shell, add a space to the function names when tab-completing.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-13 22:12:18 +00:00
Ian Campbell 8fafd2af0e [LINUX] 32on64 kdump: Allow a 32 bit kernel to read a 64 bit dump.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-14 16:58:30 +00:00
Ian Campbell a84c4f75e5 [LINUX] Kexec: Ensure that pages allocated for kexec have MFNs which are within
the required limits.

Previously we were lucky since most dom0 pages would be low enough but now Xen
is more aggressive in giving out higher MFNs when it can.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-14 16:39:32 +00:00
Ian Campbell d04477b602 [XEN] 32on64 kexec: Make the compat page table cover the first 4G of physical memory.
This gives the guest kernel more flexibility on where it places the control page.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-14 16:36:04 +00:00
Tim Deegan 0bf25ed4be [XEND] Mark save record fd close-on-exec after calling xc_restore
so that qemu doesn't end up with an open fd on it
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-14 12:49:40 +00:00
kfraser@localhost.localdomain 8ff2288a9a hvm: Add a revision 1 FADT in ACPI, and link the original revision-4
FADT only to XSDT. It avoids a buffer overflow in the initialization
of Window 2000 ACPI HAL (pre ACPI 2.0 OS), and thus enables the
installation and boot. This compatibility practice is also used in
hardware, please refer to:
 http://www.acpi.info/presentations/S01USMOBS169_OS%20new.ppt

Signed-off-by: Qing He <qing.he@intel.com>
2007-03-14 11:38:26 +00:00
kfraser@localhost.localdomain 3a02a4cff8 hvm: Print bad DFR value for vlapic if a bad value is detected.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-14 11:22:59 +00:00
kfraser@localhost.localdomain bc510c7fd5 AMD HVM: Fix enter-realmode stub to initialise 32-bit GPRs.
This fixes booting Ubuntu live ISO, which assumes the upper half of
%esp is zero on entry.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-14 11:09:13 +00:00
Tim Deegan 618d247ec8 add usb device save/restore in qemu
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2007-03-14 10:44:56 +00:00
Tim Deegan bf8fc36917 [HVM] Save/restore: more state propagation in xend
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-13 15:55:37 +00:00
kfraser@localhost.localdomain 60cf5b7783 xm: Allow vcpu-pin to specify 'all' for CPU list.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-13 14:56:03 +00:00
kfraser@localhost.localdomain 69461aa51d xen/x86: Tweak #PF handler. Simplify gdbstub copy to/from guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 14:04:31 +00:00
kfraser@localhost.localdomain 26e24b46d1 linux: No need to force pcibios_scan_all_fns() on modern Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 13:28:26 +00:00
kfraser@localhost.localdomain 1babae4d0c hvmloader: Avoid compile warnings char vs. unsigned char.
Avoid 'magic number' hardcoded string lengths.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 10:32:52 +00:00
Ian Campbell f4f4172c69 Update defconfigs for new XEN_COMPAT_300004 option.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-13 10:02:45 +00:00
kfraser@localhost.localdomain f4575fb04a [XM-TEST] vTPM test changes
Remove an uninitialized variable.
For some reason the 'ps aux' command does not see the process anymore
(since some time on the weekend). Need to add 'COLUMNS=n'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-13 09:52:51 +00:00
kfraser@localhost.localdomain 3bd39c408e docs: update some todo items.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-13 09:52:11 +00:00
Ian Campbell f63d9525d5 [LINUX] Fix typo so 3.0.4 compatability works.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-13 09:07:55 +00:00
Tim Deegan cdc548f90c [HVM] Save/restore: update HVM detection in save/restore code in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-12 18:04:04 +00:00
kfraser@localhost.localdomain 79ae7e51e1 linux: Adjust memory allocation condition in netback to reduce memory
pressure on Xen and avoid unnecessarily stalling receives.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-12 14:55:02 +00:00
kfraser@localhost.localdomain d96438b30a xen: Generic linear pagetable support for x86 PV guests.
Any linear mapping is permitted, except for L3-PAE-maps-L3-PAE,
which makes no sense even on native.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:52:11 +00:00
kfraser@localhost.localdomain 363f33fde2 x86: PAE linear page tables.
While full linear page table support makes little sense (and would be
more complicated to implement), partial linear page table support is
almost identical to that in non-PAE, and is used (at least) by NetWare.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-12 14:47:00 +00:00
kfraser@localhost.localdomain 415ecbe777 linux: No need to manually bring VCPUs online across 'fast' save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:11:43 +00:00
kfraser@localhost.localdomain a74bec1b38 xen: Set VGCF_online flag appropriately for getvcpucontext.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:11:07 +00:00
kfraser@localhost.localdomain d5cbf3ec58 x86: Add VGCF_onlien flag to vcpu_guest_context.
Change common Xen code to start all VCPUs (except idle ones)
offline. Change arch code to deal with this.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 13:53:43 +00:00
kfraser@localhost.localdomain 506e6d7f53 AMD HVM: Exit hvmloader via a normal jump-to-realmode code sequence.
Strip out all SVM-special hypercall code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 11:15:56 +00:00
kfraser@localhost.localdomain e260cd0a07 The Xen console intercepts ^O and prevents it from propagating
through to the guest.  However, ^O is a useful key in bash and in
Emacs.  This patch changes the console to pass a single ^O
through to the guest when it is pressed twice.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
2007-03-12 11:04:34 +00:00