Tim Deegan
b897b26dbe
[HVM][SVM] Save/restore: save the guest's versions of CR0 and EFER
...
and recalculate the vmcb ones on restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-16 11:41:10 +00:00
Tim Deegan
da12f80b3e
[HVM][QEMU] Save/restore: enable HVM live migration
...
by getting page-dirtying bitmaps from qemu-dm as well as from xen.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-16 11:39:50 +00:00
kfraser@localhost.localdomain
f326023b83
xenbus: Clarify and simplify barrier usage.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-16 10:42:25 +00:00
Ian Campbell
6b0c303dfe
[LINUX] Don't pin the initial page tables on x86_64 when XENFEAT_writable_page_tables.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-03-16 10:24:56 +00:00
Tim Deegan
41aa97afd7
Fix the python type dismatch exception when HVM restore
...
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
2007-03-16 10:05:57 +00:00
Ewan Mellor
194dd03ad6
Implement xm list through the Xen-API.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-15 23:03:22 +00:00
Ewan Mellor
77afb8b283
Raise the VM_BAD_POWER_STATE error with VM.send_sysrq if the domain is not
...
running.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-15 22:15:12 +00:00
Ewan Mellor
746900680c
Added a new Xen-API call VM.send_sysrq, and use that to implement xm sysrq
...
through Xen-API.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-15 21:59:34 +00:00
Ewan Mellor
f918e26c26
Allow the xm configuration file location to be overridden with an
...
environment variable.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-15 21:44:20 +00:00
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