Hollis Blanchard
ba5aedc193
[LIBXC] Allocate memory and populate p2m in arch-specific code.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
06aaae8408
[LIBXC] Move domain builder hooks into arch-specific files and remove ifdefs.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
b09b06b6de
[POWERPC][XEN] Fix "xc_core" build break. Untested but might work.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
kfraser@localhost.localdomain
c53fa753e2
xend: Platform feature 'multiprocessor suspend' is x86-only for now.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-08 14:57:33 +00:00
Tim Deegan
f534f3a9c3
[HVM] Save/restore: back-port IDE controller save routine from current qemu.
...
Also, send an interrupt and an error code to the guest on restore if we
dropped an active request when we saved.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-08 14:37:21 +00:00
Tim Deegan
b67783e2f4
[HVM] Disallow soft resets in the BIOS.
...
They aren't safe if the guest has brought up PV device drivers.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-07 13:07:12 +00:00
kfraser@localhost.localdomain
0cb97f4d8b
dump-core: always use elfclass64 format to support x86_32pae.
...
Without this patch xen dump-core format can't handle over 4GB case.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-03-07 10:53:34 +00:00
kfraser@localhost.localdomain
9de4f0c67d
tools: Clean up use of 'install' command.
...
- convert raw "install" command to use $(INSTALL)
- convert some $(INSTALL) to $(INSTALL_DATA) as appropriate
- modify the specific $(INSTALL) definitions to use -p.
Original patch by Ben Thomas <ben@virtualiron.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-07 10:49:20 +00:00
kfraser@localhost.localdomain
d4ac34aff9
ioemu: Remove use of 'echo -c' in script.
...
I've no idea what it does, and it doesn't appear to be valid on some
systems. Use a more generic approach.
Signed-off-by: Ben Thomas <ben@virtualiron.com >
2007-03-07 10:37:05 +00:00
kfraser@localhost.localdomain
ffb7e747bc
ioemu: Close file descriptors when forking processes.
...
Just leave stdin/stdout/stderr (and possibly tap fd) open.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-03-06 16:51:42 +00:00
kfraser@localhost.localdomain
ca7a6b3eb2
Make Python tools (i.e., xend and pygrub) conditionally compiled.
...
Config option is PYTHON_TOOLS, default is 'y'.
Signed-off-by: Ben Thomas <ben@virtualiron.com >
2007-03-06 16:46:20 +00:00
kfraser@localhost.localdomain
88d253f238
xend: more flexibility in gathering data from /proc/cpuinfo
...
Add ia64 mapping for cpuinfo data and make the case where #vcpu !=
#pcpu more flexible (don't rely on cpu0 existing).
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-03-06 11:53:37 +00:00
Christian Limpach
85afb99cda
[tools] Import ptsname from its new location (after cset 14259:7f0d8e3c538e).
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 22:42:13 +00:00
Christian Limpach
b4dd69c689
[tools] Use auxbin.py to determine libpath at build time.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 19:22:21 +00:00
kfraser@localhost.localdomain
6ad77059f1
Install pygrub according to auxbin rules.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-05 19:01:19 +00:00
kfraser@localhost.localdomain
d7ee1f5383
Move ptsname module under tools/python.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-05 18:54:26 +00:00
Christian Limpach
98b8fba136
[tools] Use auxbin.py to determine libpath at build time.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 16:43:12 +00:00
kfraser@localhost.localdomain
b3abd36a51
VM.actions_after_[shutdown|reboot|suspend|crash] were not set properly
...
in VM record returned via Xen API.
This patch fixes typos in key name for these fields.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-03-05 13:18:28 +00:00
kfraser@localhost.localdomain
4df0bbfe89
Merge with xenppc-unstable.hg
2007-03-05 11:14:15 +00:00
Christian Limpach
87832ae661
[domain builder] Remove unnecessary alignment of virtual address base.
...
Unbreaks loading NetBSD kernels with the new ^^ domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-03 20:42:38 +00:00
Keir Fraser
0ada151b05
x86/64: Save/restore user pagetable pointer for x86/64 PV guests.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 22:57:27 +00:00
kfraser@localhost.localdomain
02e0af9533
[PVFB][TOOLS] Terminate backend when frontend vanishes early
...
Ensure the backend terminates when the frontend vanishes before the
connection is established. This happens when the guest doesn't have
the devices.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
2007-03-02 15:32:42 +00:00
kfraser@localhost.localdomain
47a066703b
xend: Fix startup when dom0 does not see all physical cpus.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 15:08:26 +00:00
kfraser@localhost.localdomain
573e20d4bc
xend: Catch VmError exception when creating a domain and do
...
appropriate cleanup.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-02 14:57:18 +00:00
kfraser@localhost.localdomain
a7c824cbf1
tools: Advertise save/restore multiple VCPU contexts capability.
...
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 12:11:10 +00:00
Christian Limpach
f67b5ead29
[xenstored] Fix error path when xc_map_foreign_range fails.
...
If xc_map_foreign_range fails, the new domain object is freed,
but it is not removed from the connection list.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-02 11:25:12 +00:00
kfraser@localhost.localdomain
06cffd6c17
Save/restore context of all online VCPUs in PV save/restore/migrate.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-01 17:59:17 +00:00
Christian Limpach
c93712d655
[tools] Set guest address size to be the same as dom0 address size on restore.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-01 17:28:31 +00:00
kfraser@localhost.localdomain
5d8d99be04
Fully reset the xenstore connection when a domain is (re)introduced to xenstored.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-01 14:51:12 +00:00
Tim Deegan
4bbfa3da11
[HVM] Save/restore: remove bogus "valid state" check
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-01 14:00:05 +00:00
kfraser@localhost.localdomain
154753acf2
hvm: Clean up console-information passing via xenstore.
...
Each serial, parallel and monitor device in qemu that is connected to
a pty creates a xenstore node of the form:
<domain-path>/monitor/tty
<domain-path>/serial/<n>/tty
<domain-path>/parallel/<n>/tty
In addition, serial/0 (com1) also registers its information at:
<domain-path>/console/tty
Also fix a realloc() failure memory leak.
Signed-off-by: Ben Thomas <ben@virtualiron.com >
2007-03-01 13:57:25 +00:00
kfraser@localhost.localdomain
279a6c16e6
Fix Xend domain_lookup error report when looking up an invalid
...
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com >
2007-03-01 13:48:31 +00:00
Tim Deegan
80148cff3f
Merge
2007-03-01 11:04:45 +00:00
Tim Deegan
05519dcda3
[HVM] Builder must know which kind of vcpu context struct to use
...
when the tools are being run in a compat-mode domain
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-01 11:04:23 +00:00
kfraser@localhost.localdomain
9a1c30f1b9
hvm/ia64: Fix IDE PIO acceleration.
...
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com >
2007-03-01 10:24:19 +00:00
Wim Colgate
d82f821904
Use stat to poll on phantom device until it becomes ready
...
Signed-off by Wim Colgate <wim@xensource.com >
2007-02-28 12:35:36 -08:00
kfraser@localhost.localdomain
6065dcf331
libxc: Quieten the discard_file_cache() function. Preserve errno
...
across it. No longer make calls to the function dependent on 'non-live
save/restore': it's not a good test of whether the fd is a socket.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 18:15:42 +00:00
kfraser@localhost.localdomain
4092caa643
Fix init.d/xendomains startup script so log_error and log_success
...
will also work on redhat-based distributions before RHEL 5. See
discussion "xendomains init script" about a year ago on xen-devel.
Signed-off-by: Florian Kirstein <ray@ray.net >
2007-02-28 18:06:56 +00:00
kfraser@localhost.localdomain
c70b3e5890
More PV save/restore fixes.
...
Related changesets:
14148:b67c253d1cdb4f502dec2
13519:b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 14:13:09 +00:00
kfraser@localhost.localdomain
72e4f39c3f
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
...
macro.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 09:44:59 +00:00
kfraser@localhost.localdomain
7954a48c41
Add suspend_cancel flag to linux elf notes.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:41:02 +00:00
kfraser@localhost.localdomain
1066e48e86
Add xm save -c/--checkpoint option
...
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:39:23 +00:00
kfraser@localhost.localdomain
e5d4e1285c
Let xend choose to do hard or soft domain resumption depending on
...
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com >
2007-02-28 09:39:03 +00:00
kfraser@localhost.localdomain
5f7ac4f0bc
Fix off-by-one preventing the last elfnote from being read in xc.c.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:38:14 +00:00
kfraser@localhost.localdomain
a2d9dd3374
Fix for Solaris compile/output for VBDs in xentop.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-02-27 16:13:08 +00:00
Ian Campbell
8ca1a72e79
merge
2007-02-27 15:40:37 +00:00
Ian Campbell
0a650f1a63
[TOOLS] Add support for XEN_ELFNOTE_L1_MFN_VALID to readnotes.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-27 15:39:08 +00:00
kfraser@localhost.localdomain
e60659a59b
Accelerate IDE PIO on HVM/IA64 [2/3]
...
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com >
2007-02-27 15:34:24 +00:00
kfraser@localhost.localdomain
cfb8ffa9f9
Accelerate IDE PIO on HVM/IA64 [1/3]
...
Add a bufferring mechanism for IDE PIO in qemu.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com >
2007-02-27 15:33:25 +00:00
Steven Hand
c516e5ec52
Fix save/restore (and non-live migrate) on PAE.
...
Plus add some more debug output to help us spot similar issues in the future.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-02-27 14:33:07 +00:00