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
kfraser@localhost.localdomain
aca8807ff0
Fix valid_phys_addr_range() prototype of xen /dev/mem.
...
The second argument is size_t, not size_t *.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-03-12 11:03:07 +00:00
kfraser@localhost.localdomain
d5788925b0
xen: Fix emulator to use default segment SS for ESP/EBP references.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-12 11:00:44 +00:00
Tim Deegan
a63bbc175b
[HVM] Remove debugging printout of BIOS boot vector
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-12 10:10:42 +00:00
Tim Deegan
9ad19a00bd
[HVM] Speed up bulk p2m operations such as domain creation
...
by not flushing the shadows more often than is needed.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-12 09:44:34 +00:00
Ewan Mellor
1ad66bcd45
Fix typo in cset 14341:0affe03ee985 that broke migration.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-11 22:42:22 +00:00
Ewan Mellor
2cb49001bc
Added an VM_HVM_REQUIRED error code, and use it on VM.start.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 23:22:00 +00:00
Ewan Mellor
abc324d48f
Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} with
...
a single VM.platform String -> String Map.
Propogate this change through to XendDomainInfo and image so that the
backwards compatibility is handled by XendConfig.
Make PCI_bus a read-write field.
Added C bindings for these changes also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 21:48:22 +00:00