Commit Graph
13545 Commits
Author SHA1 Message Date
Ian Campbell 6e9515dab3 [XEN] Avoid void* arithmetic in kexec ELF note manipulations.
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-22 15:29:04 +00:00
kfraser@localhost.localdomain f4e8a7e419 Implement clean return from save/restore failure (so that original
domain can continue execution).
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
2007-01-22 15:15:32 +00:00
kfraser@localhost.localdomain b6d2434d38 [SVM] Remove ASID logic. Errata prevent this feature being used
reliably in current SVM processor implementations.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-22 14:13:26 +00:00
Steven Hand ce5ae920dd Re-enable CONFIG_HOTPLUG_CPU by deafult for -xen? kernels.
Signed-off-by: Steven Hand <steven@xensource.com>
2007-01-22 13:38:04 +00:00
Tim Deegan 7f39243d68 [PYGRUB] Plumb bootloader I/O through xenconsole.
- xend forwards console traffic between the running bootloader and a pty
   which it writes to the store so the xenconsole client can see it.
 - the xenconsole client handles the domain's console pty changing.
 - xm create no longer runs the bootloader.
 - pygrub gets '-i' option to explicitly request an interactive session.
 - xend unlocks the domain list during bootloading so that "xm console"
   can see the domain and attach to its console pty.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-22 11:49:14 +00:00
Tim Deegan 637851afee [PYGRUB] Add python module for POSIX ptsname(2) function.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-22 11:49:11 +00:00
Tim Deegan 5ba43a5774 [PYGRUB] Don't redraw the interactive menu screen if it doesn't need it.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-22 11:49:05 +00:00
kaf24@localhost.localdomain 8b8c4769ed Fix byte-to-long bitmap conversions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-21 17:10:58 +00:00
kaf24@localhost.localdomain 08e6d14357 linux: Fix x86/64 build (which is failing on some systems).
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-21 16:29:18 +00:00
kaf24@localhost.localdomain 9b80096622 [LIBXC] Fix non-x86 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-21 15:39:04 +00:00
Tim Deegan 2ba523af16 Unbreak 64bit build
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 14:33:43 +00:00
Tim Deegan 8d9254f862 [HVM] Save/restore cleanups 06: Let dom0 change domU's paging mode
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:40:52 +00:00
Tim Deegan b39112fa0a Merge 2007-01-20 11:21:08 +00:00
Tim Deegan 638ce29751 [HVM] Save/restore cleanups 05: save-format headers
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:17:42 +00:00
Tim Deegan 8d5fcfdfd2 [HVM] Save/restore cleanups 04: Move new domctls out of common code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:17:41 +00:00
Tim Deegan 7a04b0ca7e [HVM] Save/restore cleanups 03: IRQ
IRQ, PIC, IOAPIC and LAPIC
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:17:40 +00:00
Tim Deegan 820c0c0735 [HVM] Save/restore cleanups 02: VCPU
Save/restore vcpu state therough the streaming interface
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:17:39 +00:00
Tim Deegan 3969aaf276 [HVM] Save/restore cleanups 01: PIT
Define public structure for the saved PIT data and use it instead
of a series of explicit loads and stores.
Don't save ephemeral Xen timer structs; rebuild them instead.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-20 11:17:38 +00:00
kaf24@localhost.localdomain 113ec86dd7 [XEN] Remove bogus include reference.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 23:53:54 +00:00
kfraser@localhost.localdomain 4b3b0d5ce5 [LIBXC] Refactor xc_domain_resume() into its own source file.
The idea is that this file is where we will have two implementations
of 'suspend cancellation': one which the guest is aware of (and is
faster) and the other which does more work to avoid requiring guest
modifications.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 18:32:28 +00:00
kfraser@localhost.localdomain 60cd679ba2 [XEN] Move hvm get/set domctl() commands to arch/x86/domctl.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 18:04:00 +00:00
kfraser@localhost.localdomain 61aaed0d58 Allow XS_INTRODUCE to be used for rebinding the xenstore evtchn.
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
2007-01-19 17:58:30 +00:00
kfraser@localhost.localdomain bbb6a715dc [XEN] Support VCPU reset via DOMCTL_setvcpucontext.
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
2007-01-19 17:55:29 +00:00
kfraser@localhost.localdomain 115209d91b [XEN] New event-channel reset operation.
Plumbed through libxenctrl to python.

From: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 17:20:57 +00:00
kfraser@localhost.localdomain f272b20670 Add unsuspend hook for resuming devices in the checkpoint parent.
Nothing uses it at the moment.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-19 16:11:31 +00:00
kfraser@localhost.localdomain 931818cacb Make xen_suspend handle resume.
Don't destroy xenstore watches on suspend, and only recreate them when
resuming in a new domain. Likewise, only invoke frontend device resume
code when in a new domain (the resume functions all tear down the
existing function and wait for the backend to negotiate a new one,
which does not happen in the source domain).

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 16:06:09 +00:00
kfraser@localhost.localdomain 6319682884 [XEN] Add missing change for XS_RESUME.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:36:54 +00:00
kfraser@localhost.localdomain b686a7d235 xenstore: add XS_RESUME command; export it to xend.
This clears the shutdown flag for a domain in xenstore, allowing
subsequent shutdowns of the same domain to fire the appropriate
watches.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-19 15:28:34 +00:00
kfraser@localhost.localdomain e105919b01 Add resumedomain domctl to resume a domain after checkpoint.
Export resumedomain domctl to libxc, xend.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-19 15:23:41 +00:00
Christian Limpach 6b23fd229a [merge] with xen-unstable
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 15:11:44 +00:00
kfraser@localhost.localdomain 4e8586dfa3 [MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:09:39 +00:00
kfraser@localhost.localdomain 2b68aee829 [MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:08:15 +00:00
kfraser@localhost.localdomain 9e20e8426f [TOOLS] Avoid void* arithmetic when parsing elf notes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:05:20 +00:00
kfraser@localhost.localdomain 24425e8b0e [XEN] Avoid void* arithmetic in elfnote code.
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:03:02 +00:00
Christian Limpach c6a0a466fa [merge] with xen-unstable
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 14:48:57 +00:00
kfraser@localhost.localdomain 2e68ac5f97 [LIBXC] Handle trace-buffer cpumap endianness.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:41:17 +00:00
kfraser@localhost.localdomain e74411be0b [LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
for conversion of the domctl_cpumap.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:36:12 +00:00
kfraser@localhost.localdomain 060fe1405f [XEN] Convert between long-based and byte-based bitmap arrays.
Use this for conversion of the domctl_cpumap type on big-endian
systems.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:24:28 +00:00
Christian Limpach beb6098f21 [HVM] Whitespace cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 13:43:17 +00:00
kfraser@localhost.localdomain a352d8d69f [MINIOS] Added domctl and sysctl hypercalls to the
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
2007-01-19 12:11:52 +00:00
kfraser@localhost.localdomain 7d0281ec54 [XEN] Revert change to vcpu_guest_context which breaks guest ABI.
HVM save/restore needs to save/restore vcpu state via the new
stream-based load/save hypercalls.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 12:03:51 +00:00
Christian Limpach a963dfad52 [HVM] Only update guest time on timer interrupt delivery if the guest time is in the past.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 11:58:52 +00:00
Ewan Mellor 61a18d9c54 Tidy up the restore path following HVM save/restore patches.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-19 10:12:39 +00:00
john.levon@sun.com e34a812b5d Update pygrub for new Solaris directory names.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-18 18:19:54 -08:00
kfraser@localhost.localdomain f545359b1c [HVM] Fix slow wallclock in x64 Vista. This is due to confusing a
timeout in the past vs. a timeout in the future when looking at a
32-bit HPET comparator.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-18 18:54:28 +00:00
Christian Limpach 1a9914c007 [linux networking] Remove the code to allocate page sized skbs.
This is no longer used much since the default is to always copy packets
to guests.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-18 18:40:30 +00:00
kfraser@localhost.localdomain 48ad2e6f15 Build PAE by default on x86_32.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-18 18:39:07 +00:00
kfraser@localhost.localdomain 0511df5aec Merge with xen-ia64-unstable.hg 2007-01-18 18:25:04 +00:00
kfraser@localhost.localdomain fe747edd26 Copy vmlinuz to correct folder when make source on IA64 platform.
Signed-off-by: Yongkang You <yongkang.you@intel.com>
2007-01-18 18:19:52 +00:00
Christian Limpach a04dec9d77 [ioemu] fix build - prototype for static function needs to be static.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-18 18:09:07 +00:00